We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hello. i am a new c# learner. when i try to print a pdf file using the example below:
using (GhostscriptProcessor processor = new GhostscriptProcessor()) { List<string> switches = new List<string>(); switches.Add("-empty"); switches.Add("-dPrinted"); switches.Add("-dBATCH"); switches.Add("-dNOPAUSE"); switches.Add("-dNOSAFER"); switches.Add("-dNumCopies=1"); switches.Add("-sDEVICE=mswinpr2"); switches.Add("-sOutputFile=%printer%" + printerName); switches.Add("-f"); switches.Add(inputFile); processor.StartProcessing(switches.ToArray(), null); }
there's always a dialog (see pic in attach files). but i need a Silently Print,which means no dialog is needed can i get some help here ? thank you.
The text was updated successfully, but these errors were encountered:
same problem here
Sorry, something went wrong.
same problem here,can you give me some advice
Hi ist late, but maybe it still helps.
The Pirntername has spaces!
Try to use switches.Add("-sOutputFile=\"%printer%" + printerName + "\"" );
switches.Add("-sOutputFile=\"%printer%" + printerName + "\"" );
No branches or pull requests
hello.
i am a new c# learner.
when i try to print a pdf file using the example below:
there's always a dialog (see pic in attach files).
but i need a Silently Print,which means no dialog is needed
can i get some help here ? thank you.
The text was updated successfully, but these errors were encountered: