| Alf C Stockton on Mon, 13 Nov 2000 05:34:03 +0100 (CET) |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
| Re: problems printing |
What did your lpr command look like ? I attach my /etc/printcap as my environment is exactly the same as your and my apsfilter works beautifully on my Epson Stylus Color 660. --- Regards, Alf Stockton www.stockton.co.za Good Things require a precise lack of control. On Sun, 12 Nov 2000, Amin A. Khaef wrote: > Hello. > > I have been trying to print under linux for some time now. I first tried > lpd-o-matic, and failed completely (probably due to my own lack of > understanding). > > Anyway, I later found out about apsfilter and decided to give it a try. > > I ran the SETUP script, and Yipee!!! The test page prints > beautifully. However, after I complete the setup, and I try to run lpr on > some files, it doesn't work. After a long while, the printer spits out > "Unrecoverable error: rangecheck in .putdeviceprops". I've tried printing > plain text to the raw device and the default device, and also lpr-ing the > ghostscript example file "tiger.gs". No luck, same problem. > > I'm using: slackware 7.1 > kernel: 2.2.16 > ghostscript: 6.01 > a2ps: 4.13 > apsfilter: 5.4.2 > > Any help would be greatly appreciated. I feel like I'm ALMOST at the > light at the end of the tunnel, cause the test page printed. > > > Thanks > -Al >
#
# Copyright (c) 1983 Regents of the University of California.
# All rights reserved.
#
# Redistribution and use in source and binary forms are permitted
# provided that this notice is preserved and that due credit is given
# to the University of California at Berkeley. The name of the University
# may not be used to endorse or promote products derived from this
# software without specific prior written permission. This software
# is provided ``as is'' without express or implied warranty.
#
# @(#)etc.printcap 5.2 (Berkeley) 5/5/88
#
# DecWriter over a tty line.
#lp|ap|arpa|ucbarpa|LA-180 DecWriter III:\
# :br#1200:fs#06320:tr=\f:of=/usr/lib/lpf:lf=/usr/adm/lpd-errs:
#lp:lp=/dev/lp0:sd=/usr/spool/lp0:of=/usr/lib/lpf: lf=/usr/adm/lpd-errs
#
# Generic printer:
lp:lp=/dev/lp0:sd=/var/spool/lpd:sh
#
# typical remote printer entry
#ucbvax|vax|vx|ucbvax line printer:\
# :lp=:rm=ucbvax:sd=/usr/spool/vaxlpd:lf=/usr/adm/lpd-errs:
#varian|va|Benson Varian:\
# :lp=/dev/va0:sd=/usr/spool/vad:mx#2000:pl#58:px#2112:py#1700:tr=\f:\
# :of=/usr/lib/vpf:if=/usr/lib/vpf:tf=/usr/lib/rvcat:cf=/usr/lib/vdmp:\
# :gf=/usr/lib/vplotf:df=/usr/local/dvif:\
# :vf=/usr/lib/vpltdmp:lf=/usr/adm/lpd-errs:
#versatec|vp|Versatec plotter:\
# :lp=/dev/vp0:sd=/usr/spool/vpd:sb:sf:mx#0:pw#106:pl#86:px#7040:py#2400:\
# :of=/usr/lib/vpfW:if=/usr/lib/vpsf:tf=/usr/lib/vcat:cf=/usr/lib/vdmp:\
# :gf=/usr/lib/vplotf:vf=/usr/lib/vpltdmp:lf=/usr/adm/lpd-errs:\
# :tr=\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\
#\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\
#\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n:
#
#lp|panasonic:lp=/dev/lp1:sd=/usr/spool/lp/panasonic:lf=/usr/bin/mail:mc#1:\
# ft=$$c$$p$$r$$f:hl#2:fl#3:ht=$$c$$n$$r$$t:sh:
#
# HP Laser jet plus
#lp|hpj:\
# :lp=/dev/lp1:\
# :sd=/usr/spool/lp1:\
# :mx#0:\
# :of=/usr/spool/lp1/hpjlp:
# :lf=/usr/spool/lp1/hp-log:
#
#lp|Generic dot-matrix printer entry:\
# :lp=/dev/lp1:\
# :sd=/var/spool/lp1/lp:sh:\
# :if=/usr/bin/lpf:\
# :df=/var/spool/lp1/filter.ps:\
# :tf=/var/spool/lp1/filter.ps:\
# :af=/var/spool/lp1/lp-acct:\
# :lf=/var/spool/lp1/lp-err:
# LABEL apsfilter
# apsfilter setup Wed Sep 13 07:35:15 SAST 2000
#
# DON'T DELETE THIS:
# APS_BASEDIR:/usr/local/src/apsfilter
#
# APS1_BEGIN:printer1
# - don't delete start label for apsfilter printer1
# - no other printer defines between BEGIN and END LABEL
auto1|Printer1 auto:\
:lp=/dev/lp0:\
:if=/etc/apsfilter/basedir/bin/apsfilter:\
:sd=/var/spool/lpd/auto1:\
:lf=/var/spool/lpd/auto1/log:\
:af=/var/spool/lpd/auto1/acct:\
:mx#0:\
:sh:
raw1|Printer1 raw:\
:lp=/dev/lp0:\
:if=/etc/apsfilter/basedir/bin/apsfilter:\
:sd=/var/spool/lpd/raw1:\
:lf=/var/spool/lpd/raw1/log:\
:af=/var/spool/lpd/raw1/acct:\
:mx#0:\
:sf:\
:sh:
# APS1_END - don't delete this
fax:lp=/dev/null:sd=/var/spool/fax:if=/usr/bin/faxlpr: