Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

What could I do to monitor the Windows print queue?

 

We have a Datamax label printing machine that creates serial numbers for our products.

 

Occasionally, it is out of media, has a jam, is powered off, etc. In those cases, the serial number is lost.

 

All I want to do is void a serial number in our database if the job I sent to the printer was unsuccessful.

 

The printer is local and has the name "Datamax".

The PC is running Windows XP.

We are developing under Visual Studio 2005 Professional.

 

The closest code examples I have found used a ManagementObjectCollection object, but they do not get into details on how to do what I need to accomplish.

 

I'd like to avoid having to use specific SDK calls to the Datamax printer (if there is such a thing) because there has been talk about trying to find a more reliable printer.

 

Thanks for any help,

Joe

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...