diff options
author | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2006-09-16 05:18:51 +0000 |
---|---|---|
committer | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2006-09-16 05:18:51 +0000 |
commit | fe1cee16ac85ad40beac432aaf4c8b10d62bbcaf (patch) | |
tree | 4f6cb43ac8c6bc1104610d7b59345a0df16f965b | |
parent | 7c0d3158e0cff3664cde8ae283870a6e2692c260 (diff) |
Added experimental server-side printing for Windows.
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@104 4979c152-3d1c-0410-bac9-87ea11338e46
-rw-r--r-- | Changelog | 2 | ||||
-rw-r--r-- | winprint.bat | 8 |
2 files changed, 10 insertions, 0 deletions
@@ -12,6 +12,7 @@ Security * One is required to change the admin password when it is blank (on first login etc). Usability +* We now support adding custom automation into a custom.pl * Setup.pl use is now experimentally supported * Disabled editing sub-assemblies in one area where it is unsafe. * Utility included for near-real-time parts short email notifications. @@ -21,6 +22,7 @@ Usability * Sales Data Report added * SL2LS.pl now dies if it cannot open the files with instructions on how to proceed manually * Links between admin and login pages +* Experimental support for Windows printing Changelog for LedgerSMB v 1.0.0p1 * Fixed directory transversal/arbitrary code execution vulnerability. 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
|