2005/05/06 PCL6 Problems
PCL6 can cause problems for Unix machines that want to send text
files or even files with "normal" HP escape sequences inserted. That's because PCL6 is much more like Windows GDI than anything else - it's binary
commands rather than escape sequences. If the printer defaults to PCL6
mode, it will error out or refuse a simple text file.
Fortunately, the fix is easy: preface each job with the escape
sequence that selects PCL5 mode. That's ESC % 0 A ESC E, so a shell
script using "netcat" might just do this:
cat /usr/lib/selectpcl5 $* | netcat -h dell1 -p 9100
Previously we would have created selectpcl5 with:
echo -e "\033%0A\033E\c" > /usr/lib/selectpcl5
echo "\033%0A\033E\c" > /usr/lib/selectpcl5
I had this problem recently with a Dell 3100 printer..
Read more about PCL history here
Got something to add? Send me email.
Increase ad revenue 50-250% with Ezoic
More Articles by Tony Lawrence
Find me on Google+
© 2012-07-18 Tony Lawrence