Hi Codeguru
Customer has a Printer that has a secure printing.
He has configured via Control Panel >> Printing Preference >>
Secure Printing option in that page and assigned a 4 digit code.
After firing print form Word, Excel he goes to his printer press retrieve job, chooses his job , enters his pin code and only then the printer prints his document.
Our application has the following code to print document.
I Presume that the following information also would be necessary.
szDevice contains our printer name
and
Why doesn't WritePrinter just fires the print instead of asking for the PIN code that i set in the control panel ?
Thanks in anticipation
Soft
Customer has a Printer that has a secure printing.
He has configured via Control Panel >> Printing Preference >>
Secure Printing option in that page and assigned a 4 digit code.
After firing print form Word, Excel he goes to his printer press retrieve job, chooses his job , enters his pin code and only then the printer prints his document.
Our application has the following code to print document.
Code:
WritePrinter(hPrinter, &buf[2], i, &cnt);
Code:
OpenPrinter(szDevice, &hPrinter, NULL);
and
Code:
startDocPrtInfo.pDocName = msg;
startDocPrtInfo.pOutputFile = NULL;
startDocPrtInfo.pDatatype = "RAW";
StartDocPrinter(hPrinter,1,(LPBYTE)&startDocPrtInfo) == 0
Thanks in anticipation
Soft