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