From 415ddbbf0f4bbc41a918538feed6444096bfd818 Mon Sep 17 00:00:00 2001 From: S T Chan Date: Fri, 31 May 2019 02:26:31 -0400 Subject: [PATCH] add PdfScribe as a local printer that uses the print spooler by default, rather than direct printing --- PdfScribeCore/PdfScribeInstaller.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PdfScribeCore/PdfScribeInstaller.cs b/PdfScribeCore/PdfScribeInstaller.cs index 3d0b209..812c46e 100644 --- a/PdfScribeCore/PdfScribeInstaller.cs +++ b/PdfScribeCore/PdfScribeInstaller.cs @@ -881,7 +881,7 @@ namespace PdfScribeCore pdfScribePrinter.pDriverName = DRIVERNAME; pdfScribePrinter.pPrintProcessor = PRINTPROCESOR; pdfScribePrinter.pDatatype = "RAW"; - pdfScribePrinter.Attributes = 0x00000002; + pdfScribePrinter.Attributes = 0x00000040; int pdfScribePrinterHandle = NativeMethods.AddPrinter(null, 2, ref pdfScribePrinter); if (pdfScribePrinterHandle != 0)