Canon printer on Sun

Canon printer on Sun

Post by Yves Berthe » Thu, 06 Jun 1991 21:37:36



I am trying to use a canon LBP8II as a laserwriter on a Sun4 (SParstation 2
with SunOS 4.1.) .The printer is connected on the ttyb.

Below you will find the /etc/printcap and the filter I am trying to use.

The printcap entry works well for the ASCII files but not well with dvi files
(LaTeXed and "dvican"ed). I am sure that dvican works well (I used it on
another computer and printed well the files.can he generated).

In fact my filter /usr/local/shell/canondvi seems to be ignored when I
am using the command : lp -odf file.can to change the setup of the line.

Does anybody has an idea about these troubles ?

Thanks in advance

=================/etc/printcap===============
# CANON LBP8II
#
pr1|lp|canon|CANON_LBP8II:\
  :lp=/dev/pr1:br#9600:\
  :sd=/var/spool/canonlp:\
  :lf=/var/adm/canon-errs:\
  :ms=-parenb,-parodd,cs8,cstopb,brkint,ignpar,istrip,icrnl,-ixany,opost,:\
  :df=/usr/local/shell/canondvi:

==================================

===========/usr/local/shell/canondvi for dvi files=============
/usr/5bin/stty 9600  raw -parity  -opost 0<&1

===========================================

--

                Yves Bertheau
                INRA INA P-G
                Pathologie Vegetale
                16 rue Claude Bernard
                75231 Paris cedex 05
                FRANCE
Phone: +33 (1) 43.31.93.97      Fax  : +33 (1) 43.31.83.82