J
jerry
have a C++ application that runs on many Windows 2000
systems. prints fine to printers that are networked but
not to printers that are LOCAL!
i use DEVNAMES "char * cPrinterName = ( char* )pdevnames +
pdevnames->wDeviceOffset;" to get printer name. works
fine unless the printer is a LOCALly attached printer then
it just does not work?
when network default printer, i get a printer name
something like:
"\\USCHI1-TCNFSP01\CHI1DEVSHPLJ4SI"
when i print to the above, works fine.
however, when it is a local default printer, i get a
printer name something like:
"HP LaserJet 4000 Series PCL 5e"
when i print to the above...nothing comes out...i am sure
this is not the name but what is???
this has to be done with no human intervention.
i need to print to the Windows 2000 default printer no
matter if LOCAL or networked.
systems. prints fine to printers that are networked but
not to printers that are LOCAL!
i use DEVNAMES "char * cPrinterName = ( char* )pdevnames +
pdevnames->wDeviceOffset;" to get printer name. works
fine unless the printer is a LOCALly attached printer then
it just does not work?
when network default printer, i get a printer name
something like:
"\\USCHI1-TCNFSP01\CHI1DEVSHPLJ4SI"
when i print to the above, works fine.
however, when it is a local default printer, i get a
printer name something like:
"HP LaserJet 4000 Series PCL 5e"
when i print to the above...nothing comes out...i am sure
this is not the name but what is???
this has to be done with no human intervention.
i need to print to the Windows 2000 default printer no
matter if LOCAL or networked.