How to get the status of Printer or result after printing?

sharkdim

Member
Dear ,
when i printed, to avoid the printer's status is not open , i want to know get the status of printer before i print , how to get the status, and after print, i want to get the printer's status ,how to get the result after printing(Success or failed), the os is UNIX and WINNT.
thanks
Best Regards
Yours Shark Dim
 

sismo

New Member
Did you tried using

unix silent(some unix command here) inside a progress (.p) program?,

You could use lpstat or another command to check the status before and affter the printing.

hope that help u a little.
 
Top