views:

86

answers:

1

Hi people.

Someone knows how to get a warning in my VB program when the paper in the printer was over.

Thanks for the help.

+2  A: 

The CodeProject article "Monitoring a Printer Queue in VB.NET" or the .NET 3.0 PrinterQueue class may be what you are looking for.

If you go the PrinterQueue route, there is a PrintSystemJobInfo.IsCompleted property you can inspect.

Daniel LeCheminant
I think he means a warning when the paper has run out
kjack
I mean a warning when the paper is over.
arpf