Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- List<string> switches = new List<string>
- {
- "-empty",
- "-dPrinted",
- "-dFirstPage=1",
- "-dLastPage=1",
- "-dPrinted",
- "-dBATCH",
- "-dNOPAUSE",
- "-dNOSAFER",
- "-dNumCopies=1",
- "-sDEVICE=mswinpr2",
- @"-sFONTPATH=" + System.Environment.GetFolderPath(System.Environment.SpecialFolder.Fonts),
- "-sOutputFile=%printer%" + printQueue.FullName,
- "-f",
- inputFile
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement