Jump to content
Server Maintenance This Week. ×

Is printer online???


Inky Phil

This topic is 6563 days old. Please don't post here. Open a new topic instead.

Recommended Posts

The Get(PrinterName) function returns the name of the default printer. However, it doesn't tell you if the default printer is currently available or not. I tested this on a Macintosh and there was difference about what was returned if the printer was on or off. All that matters is what your default is set to.

I then looked at errors by creating a script that prints and displaying the error in a dialog. Neither a 600 or 603 error is returned from the Print script step when the default printer is not the default. It looks like you may need to consider VB or some other scripting langugae to communicate with the OS.

Link to comment
Share on other sites

Thank you for having a look at this for me. Just one moe question if you don't mind.

If I have error capture on and I issue a print (no dialogue) step and a printer is NOT available the script seems to hang and just stay there with the egg timer running. is there a time out feature running in the background and what would it default to if there is.

(I realise that is two more questons actually - sorry!)

Phil

Link to comment
Share on other sites

This topic is 6563 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.