summaryrefslogtreecommitdiff
path: root/winprint.bat
diff options
context:
space:
mode:
Diffstat (limited to 'winprint.bat')
-rw-r--r--winprint.bat8
1 files changed, 8 insertions, 0 deletions
diff --git a/winprint.bat b/winprint.bat
new file mode 100644
index 00000000..05c23fca
--- /dev/null
+++ b/winprint.bat
@@ -0,0 +1,8 @@
+IF X%1==X GOTO printdefault
+GOTO printname
+:printname
+gsprint -name %1 - > NUL
+GOTO end
+:printdefault
+gspring -noprinter - > NUL
+:end