V
Valerie M
I'm having difficulty implementing Jonathan West's code for controlling
printer properties.
http://pubs.logicalexpressions.com/Pub0009/LPMArticle.asp?ID=116
The problem is in the following line:
iRet = OpenPrinter(sPrinterName, hPrinter, pd)
iRet returns 0 indicating I'm unable to access the printer.
I'm assuming this is a rights issue as the IT department on this site
has locked down the printers so users aren't able to mess with the
default properties (although they are able to make temporary
adjustments via the Properties button on Word's Print dialog).
Does anyone have an idea how I can get around this? I'd like to be able
to control the duplex setting, but I'd be happy if I could just find
out if duplex is active (so I can warn users not to send a sheet of
labels).
printer properties.
http://pubs.logicalexpressions.com/Pub0009/LPMArticle.asp?ID=116
The problem is in the following line:
iRet = OpenPrinter(sPrinterName, hPrinter, pd)
iRet returns 0 indicating I'm unable to access the printer.
I'm assuming this is a rights issue as the IT department on this site
has locked down the printers so users aren't able to mess with the
default properties (although they are able to make temporary
adjustments via the Properties button on Word's Print dialog).
Does anyone have an idea how I can get around this? I'd like to be able
to control the duplex setting, but I'd be happy if I could just find
out if duplex is active (so I can warn users not to send a sheet of
labels).