PDA

Click to See Complete Forum and Search --> : Determine the type of printer


Orpheus
Apr 6th, 2001, 09:04 AM
Can anubody help me to determine the type of an installed printer. I need to determine whether it is dot-matrix, thermal or laser as an application that I am writing is only allowed to print labels on a thermal printer and I do not want to write printer specific code via the spooler which is the only way that I can currently control that a thermal printer is used.

KrishnaSantosh
Apr 8th, 2001, 03:10 AM
Printing can be done bypassing the spooler. You can
directly write to the printer port.

And I Think that you can read certain characteristics
From the printer. Go thru the hardware documentation
that came with your printer.

EMail me for more details.

Orpheus
Apr 11th, 2001, 02:18 PM
You have missed the objective:

I am already by-passing the printer drivers and using the spooler to write directly to the printer using the printers own command language, however that requires that I individually support each printer device.

I wish to use the Windows printer drivers as they are intended, so that I may write one label printing routine, for any thermal printer, letting the printer drivers do the conversion between different devices.

What I need to know is that the device that the user has installed and is trying to print to is infact a thermal printer, and I want to find out the answer from Windows and not by directly supporting the device.