summaryrefslogtreecommitdiff
path: root/winprint.bat
blob: b6f68f7e0e40e3307945e2037f47c29bb9e49e01 (plain)
  1. IF X%1==X GOTO printdefault
  2. GOTO printname
  3. :printname
  4. gsprint -name %1 - > NUL
  5. GOTO end
  6. :printdefault
  7. gsprint -noprinter - > NUL
  8. :end