update SGI build files to latest source
[Samba/gebeck_regimport.git] / packaging / SGI / sambalp
blobcb95ef089f26e843183be1bc11038952919f5daf
1 #! /bin/sh
3 # Workaround Win95 printer driver/Impressario bug by removing
4 # the PS check for available virtual memory. Note that this
5 # bug appears to be in all Win95 print drivers that generate
6 # PostScript; but is for certain there with a QMS-PS 810 (the
7 # printer type I configure on the Win95-side for printing with
8 # Samba).
10 # the perl script fixes 3 different bugs.
11 # 1. remove the JCL statements added by some HP printer drivers to the
12 # beginning of the postscript output.
13 # 2. Fix a bug in output from word files with long filenames. A non-printing
14 # character added to the end of the title comment by word is
15 # removed.
16 # 3. The VM fix described above.
19 /usr/samba/bin/psfixes.pl $2 | /usr/bin/lp -c -d$1 -t"$3 on $4"
20 rm $2