summaryrefslogtreecommitdiff
path: root/packaging/SGI/sambalp
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1997-09-05 02:28:41 +0000
committerJeremy Allison <jra@samba.org>1997-09-05 02:28:41 +0000
commitd6fc4eb405d83c3a54e47857758886adf417f2f6 (patch)
tree89494c35544fd363ca79369e69826b232f009425 /packaging/SGI/sambalp
parentab68ac375ee5c175366123617887a725498efddc (diff)
downloadsamba-d6fc4eb405d83c3a54e47857758886adf417f2f6.tar.gz
samba-d6fc4eb405d83c3a54e47857758886adf417f2f6.tar.bz2
samba-d6fc4eb405d83c3a54e47857758886adf417f2f6.zip
This is really Herb adding the SGI packaging files.
(This used to be commit 8fde65239d0a9462fb044670220cd3c63bd887cb)
Diffstat (limited to 'packaging/SGI/sambalp')
-rw-r--r--packaging/SGI/sambalp21
1 files changed, 21 insertions, 0 deletions
diff --git a/packaging/SGI/sambalp b/packaging/SGI/sambalp
new file mode 100644
index 0000000000..d7c6be2a2d
--- /dev/null
+++ b/packaging/SGI/sambalp
@@ -0,0 +1,21 @@
+#! /bin/sh
+#
+# Workaround Win95 printer driver/Impressario bug by removing
+# the PS check for available virtual memory. Note that this
+# bug appears to be in all Win95 print drivers that generate
+# PostScript; but is for certain there with a QMS-PS 810 (the
+# printer type I configure on the Win95-side for printing with
+# Samba).
+#
+# the sed script fixes 3 different bugs. The first line removes
+# the JCL statements added by some HP printer drivers to the
+# beginning of the postscript output. The second line fixes a
+# bug in output from word files with long filenames. A non-printing
+# character added to the end of the title comment by word is
+# removed. The third and fourth lines are the VM fix described
+# above.
+#
+TITLE="$3 on $4"
+
+sed -f /usr/samba/bin/psfixes.sed $2 | /usr/bin/lp -c -d$1 -t"$TITLE"
+rm $2