Thanx Mark,
Found that we can use the GetPrinter API function along with the
PRINTER_INFO_2 structure to get the information we need.
Ciao,
Pj
-----Original Message-----
From: Mark Warner [mailto:margarete@a...]
Sent: 26 February 2003 08:49
To: 'Peter-John Lightfoot'
Subject: RE: [pro_vb] Printer Status
got this from Pro VB a while ago me thinks
-----Original Message-----
From: Peter-John Lightfoot [mailto:peter-johnl@a...]
Sent: Wednesday, February 26, 2003 8:03 AM
To: margarete@a...
Subject: RE: [pro_vb] Printer Status
Good for you!
-----Original Message-----
From: Mark Warner [mailto:margarete@a...]
Sent: 25 February 2003 18:50
To: Peter-John Lightfoot (E-mail)
Subject: RE: [pro_vb] Printer Status
i know how!
-----Original Message-----
From: Peter-John Lightfoot [mailto:peter-johnl@a...]
Sent: Tuesday, February 25, 2003 11:08 AM
To: professional vb
Subject: [pro_vb] Printer Status
How could we get the status of a printer, in order that we may suspend
printing if the printer is out of paper or off-line?
Regards,
Pj
______________________________________________
"The information contained in this communication is confidential and
may be legally privileged. It is intended solely for the use of the
individual or entity to whom it is addressed and others authorised to
receive it. If you are not the intended recipient you are hereby
notified that any disclosure, copying, distribution or taking action
in reliance of the contents of this information is strictly prohibited
and may be unlawful. Absa is liable neither for the proper, complete
transmission of the information contained in this communication, nor
for any delay in its receipt, nor for the assurance that it is
virus-free."
______________________________________________
"The information contained in this communication is confidential and
may be legally privileged. It is intended solely for the use of the
individual or entity to whom it is addressed and others authorised to
receive it. If you are not the intended recipient you are hereby
notified that any disclosure, copying, distribution or taking action
in reliance of the contents of this information is strictly prohibited
and may be unlawful. Absa is liable neither for the proper, complete
transmission of the information contained in this communication, nor
for any delay in its receipt, nor for the assurance that it is
virus-free."