Advertisement
Guest User

Untitled

a guest
Oct 12th, 2017
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. List<string> switches = new List<string>
  2. {
  3. "-empty",
  4. "-dPrinted",
  5. "-dFirstPage=1",
  6. "-dLastPage=1",
  7. "-dPrinted",
  8. "-dBATCH",
  9. "-dNOPAUSE",
  10. "-dNOSAFER",
  11. "-dNumCopies=1",
  12. "-sDEVICE=mswinpr2",
  13. @"-sFONTPATH=" + System.Environment.GetFolderPath(System.Environment.SpecialFolder.Fonts),
  14. "-sOutputFile=%printer%" + printQueue.FullName,
  15. "-f",
  16. inputFile
  17. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement