Displaying 1 result from an estimated 1 matches for "pcs2ps".
Did you mean:
pcl2ps
1999 Jun 30
0
Filtering ^D and PCL headers in samba print jobs under Solaris
...# pcl2ps.fd filter description
# Converts samba jobs to clean postscript
# ( if the printer can't handle PCL )
#
# michael.james@email.net.au 21/6/99
Input types: pcl
Output types: postscript
Printer types: any
Printers: any
Filter type: fast
Command: /opt/samba/bin/pcl2ps
EOF
lpfilter -f pcs2ps -F /etc/lp/fd/pcl2ps.fd
And that's it.
The /opt/samba/bin/pcl2ps script is a bit of perl
that scans the first 10 lines looking for a postscript header.
If it finds one it strips anything in front of it including ^D
and anything after %%EOF
If it can't find postscript headers it prints (...