add PdfScribe as a local printer that uses the print spooler by default, rather than direct printing
This commit is contained in:
parent
5b913b6500
commit
415ddbbf0f
@ -881,7 +881,7 @@ namespace PdfScribeCore
|
|||||||
pdfScribePrinter.pDriverName = DRIVERNAME;
|
pdfScribePrinter.pDriverName = DRIVERNAME;
|
||||||
pdfScribePrinter.pPrintProcessor = PRINTPROCESOR;
|
pdfScribePrinter.pPrintProcessor = PRINTPROCESOR;
|
||||||
pdfScribePrinter.pDatatype = "RAW";
|
pdfScribePrinter.pDatatype = "RAW";
|
||||||
pdfScribePrinter.Attributes = 0x00000002;
|
pdfScribePrinter.Attributes = 0x00000040;
|
||||||
|
|
||||||
int pdfScribePrinterHandle = NativeMethods.AddPrinter(null, 2, ref pdfScribePrinter);
|
int pdfScribePrinterHandle = NativeMethods.AddPrinter(null, 2, ref pdfScribePrinter);
|
||||||
if (pdfScribePrinterHandle != 0)
|
if (pdfScribePrinterHandle != 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user