Hi All,
I have a HP laerjet 1100 for the w/end to do some urgent printing on and
can't get it working. At work I got one working fine by using RedHat's
printtool. Here I have not had any luck with Debian on the Alpha or SUSE
on Intel.
OK. On Debian I used apsfilterconfig and it went fine. Driver=laserjet
device=lp0 etc The test page printed fine. ascii files catted to lp
print OK. But a ps page which should be a letter prints with all the
lines at the top ie not postscript code but the correct lines for the
letter appear but with no blank likes between them.
Moved printer to the SUSE box on Intel. Yast invokes apsfilterconfig
too. Generates same printcap file as on Debian - fine. Again ps prints
all lines at the top of he page.
The /var/spool/lpd directories are all created fine, the apsfilter does
work and is in place because I can print from ghostview to a bubble jet
10e with no probs. This was setup using the same tool. The printcap
entry is below.
If I try to print with "lpr -Plp2 test.ps" I get all the lines at the
top.
Clearly the fact that I get same prob on Debian and SUSE indicates its
prob something simple. The printing-HOWTO does not cover what to do if
ones get errors like this.
# Warning: Configured for apsfilter, do not edit the labels!
# apsfilter setup Sat Jan 6 12:57:03 EST 2001
#
ascii|lp1|laserjet-a4-ascii-mono-600|laserjet a4 ascii mono 600:\
:lp=/dev/lp0:\
:sd=/var/spool/lpd/laserjet-a4-ascii-mono-600:\
:lf=/var/spool/lpd/laserjet-a4-ascii-mono-600/log:\
:af=/var/spool/lpd/laserjet-a4-ascii-mono-600/acct:\
:if=/var/lib/apsfilter/bin/laserjet-a4-ascii-mono-600:\
:la@:mx#0:\
:tr=:cl:sh:sf:
#
lp|lp2|laserjet-a4-auto-mono-600|laserjet a4 auto mono 600:\
:lp=/dev/lp0:\
:sd=/var/spool/lpd/laserjet-a4-auto-mono-600:\
:lf=/var/spool/lpd/laserjet-a4-auto-mono-600/log:\
:af=/var/spool/lpd/laserjet-a4-auto-mono-600/acct:\
:if=/var/lib/apsfilter/bin/laserjet-a4-auto-mono-600:\
:la@:mx#0:\
:tr=:cl:sh:sf:
#
raw|lp3|laserjet-a4-raw|laserjet a4 raw:\
:lp=/dev/lp0:\
:sd=/var/spool/lpd/laserjet-a4-raw:\
:lf=/var/spool/lpd/laserjet-a4-raw/log:\
:af=/var/spool/lpd/laserjet-a4-raw/acct:\
:if=/var/lib/apsfilter/bin/laserjet-a4-raw:\
:la@:mx#0:\
:tr=:cl:sh:sf:
# I can print to this printer with no problems using lpr -Pbj10e
#
bj10e|lp5|bj10e-a4-auto-mono-360|bj10e a4 auto mono 360:\
:lp=/dev/lp0:\
:sd=/var/spool/lpd/bj10e-a4-auto-mono-360:\
:lf=/var/spool/lpd/bj10e-a4-auto-mono-360/log:\
:af=/var/spool/lpd/bj10e-a4-auto-mono-360/acct:\
:if=/var/lib/apsfilter/bin/bj10e-a4-auto-mono-360:\
:la@:mx#0:\
:tr=:cl:sh:
--
--------------------------------------------------------------------
Michael Lake
Active caver, Linux enthusiast and interested in anything technical.
Safety Convenor, Australian Speleological Federation
Owner, Speleonics (Australia)
--------------------------------------------------------------------
--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug