07-20-2009 01:42 PM
Hello,
Does anyone know of the simplest method of checking whether ANY printer is connected to the CPU prior to printing. If the first request is too involved, what about just checking if a specific port has a printer connection? I need to do this check (printer connected and turned on) so that the system doesn't hang up (and instead returns an error) when a user attempts to print with no connection.
Thanks.
Solved! Go to Solution.
07-20-2009 01:46 PM - edited 07-20-2009 01:46 PM
07-20-2009 02:09 PM
Hey Darin, thanks for the VI. I think I'll just check if the PrPrinter reference returns an empty list and use that as my error check.
07-21-2009 10:47 AM
Just to confirm the details a bit here...If there are say two printers available while an executable is running, and then the default printer is powered off/disconnected offline, will LabVIEW automatically set the other printer to default when a printing routine is called?
Anyone?