scorcora on Thu, 5 Dec 2002 02:35:34 +0100 (CET)(envelope-from owner-apsfilter-help@apsfilter.org)


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: Help with HPdj612c and Slack8.1


On Wed, 4 Dec 2002, Camille Dominique wrote:

> On Tue, Dec 03, 2002 at 09:05:32PM -0600, scorcora@wisc.edu wrote:
> > I have a problem!!
> > I've got a Slackware 8.1 system with Apsfilter installed to handle printing to
> > my HPdj 612c.
> Someone might be able to help you, if you would provide us with some
> more information on your problem. For example: which apsfilter version
> are you using (not everyone has a running slackware 8.1 beside him/her),
> as well as which lpd (i.e. bsd/lprng) and version?

apsfilter-7.2.2
lprng-3.8.12-i386-1

> Another thing that might help us is to tell which driver you choose in
> the configuration.

I've tried all of them that i could think might possibly work.
Right now, I'm sitting with ijs/DESKJET_612 since I have a 612c.

There appears to be another one in the .97 version but when I choose it I get

Error: Your gs version doesn't have driver "hpijs" compiled in...
Select another driver or build a new gs version with complete or customized
driver support.

Now you'll see a list of drivers supported by your gs version...

Press <RETURN> to continue

Devices known to ghostscript version 7.05:

appledmp        cljet5c         la75plus        paintjet        psgray
bit             cp50            laserjet        pbm             psmono
bitcmyk         declj250        lbp8            pbmraw          psrgb
bitrgb          deskjet         lips3           pcx16           pswrite
bj10e           dfaxhigh        lj250           pcx24b          pxlcolor
bj200           dfaxlow         lj4dith         pcx256          pxlmono
bjc600          djet500         lj5gray         pcxcmyk         r4081
bjc800          djet500c        lj5mono         pcxgray         sgirgb
bmp16           dl2100          ljet2p          pcxmono         sj48
bmp16m          dnj650c         ljet3           pdfwrite        st800
bmp256          eps9high        ljet3d          pgm             stcolor
bmp32b          eps9mid         ljet4           pgmraw          sxlcrt
bmpgray         epson           ljet4d          pgnm            t4693d2
bmpmono         epsonc          ljetplus        pgnmraw         t4693d4
bmpsep1         epswrite        ln03            pj              t4693d8
bmpsep8         faxg3           lp2563          pjetxl          tek4696
ccr             faxg32d         lp8000          pjxl            tiff12nc
cdeskjet        faxg4           lq850           pjxl300         tiff24nc
cdj1600         hl7x0           lxm5700m        pkm             tiffcrle
cdj500          ibmpro          m8510           pkmraw          tiffg3
cdj550          ijs             mgr4            pksm            tiffg32d
cdj670          imagen          mgr8            pksmraw         tiffg4
cdj850          inferno         mgrgray2        plan9bm         tifflzw
cdj890          iwhi            mgrgray4        png16           tiffpack
cdj970          iwlo            mgrgray8        png16m          uniprint
cdjcolor        iwlq            mgrmono         png256          x11
cdjmono         jetp3852        miff24          pnggray         x11alpha
cgm24           jpeg            necp6           pngmono         x11cmyk
cgm8            jpeggray        nullpage        pnm             x11gray2
cgmmono         la50            oce9050         pnmraw          x11gray4
cif             la70            oki182          ppm             x11mono
cljet5          la75            okiibm          ppmraw          xes
1 - Apollo P-22 [hpijs/AP21xx]
2 - Apollo P-2000U [hpijs/AP21xx]
3 - HP DeskJet 350C [hpijs/DJ350]
4 - HP DeskJet 400C [hpijs/DJ400]
5 - HP DeskJet 540C [hpijs/DJ540]
6 - HP DeskJet 600C [hpijs/DJ600]
7 - HP DeskJet 610C [hpijs/DJ6xxP]
8 - HP DeskJet 612C [hpijs/DJ6xxP]
9 - HP DeskJet 630C [hpijs/DJ630]
10 - HP DeskJet 632C [hpijs/DJ630]
11 - HP DeskJet 640C [hpijs/DJ6xxP]
12 - HP DeskJet 648C [hpijs/DJ6xxP]
13 - HP DeskJet 660C [hpijs/DJ6xx]
14 - HP DeskJet 670C [hpijs/DJ6xx]
15 - HP DeskJet 670TV [hpijs/DJ6xx]
16 - HP DeskJet 672C [hpijs/DJ6xx]
17 - HP DeskJet 680C [hpijs/DJ6xx]
18 - HP DeskJet 682C [hpijs/DJ6xx]
19 - HP DeskJet 690C [hpijs/DJ6xxP]
20 - HP DeskJet 692C [hpijs/DJ6xxP]
21 - HP DeskJet 693C [hpijs/DJ6xxP]
22 - HP DeskJet 694C [hpijs/DJ6xxP]
23 - HP DeskJet 695C [hpijs/DJ6xxP]
24 - HP DeskJet 697C [hpijs/DJ6xxP]
25 - HP DeskJet 810C [hpijs/DJ8xx]
26 - HP DeskJet 812C [hpijs/DJ8xx]
27 - HP DeskJet 830C [hpijs/DJ8xx]
28 - HP DeskJet 832C [hpijs/DJ8xx]
29 - HP DeskJet 840C [hpijs/DJ8xx]
30 - HP DeskJet 842C [hpijs/DJ8xx]
31 - HP DeskJet 880C [hpijs/DJ8xx]
32 - HP DeskJet 882C [hpijs/DJ8xx]
33 - HP DeskJet 895C [hpijs/DJ8xx]
Which driver do you want to choose?
[Hit RETURN to see the list again, enter 0 to choose new type.]

Enter number: 8

Error: Your gs version doesn't have driver "hpijs" compiled in...
Select another driver or build a new gs version with complete or customized
driver support.

Now you'll see a list of drivers supported by your gs version...

Press <RETURN> to continue

(and around we go in a circle)

> You could also post the content of your
> /etc/printcap,

#
# 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:
# APS1_BEGIN:printer1
# - don't delete start label for apsfilter printer1
# - no other printer defines between BEGIN and END LABEL
aps1|ijs/DESKJET_612;r=300x300;q=medium;c=gray;p=letter;m=auto:\
    :lp=/dev/lp0:\
    :if=/etc/apsfilter/basedir/bin/apsfilter:\
    :sd=/var/spool/lpd/aps1:\
    :lf=/var/spool/lpd/aps1/log:\
    :af=/var/spool/lpd/aps1/acct:\
    :mx#0:\
    :sh:
# APS1_END - don't delete this

> as well as a debug output of aps2file (look at the
> manpage of apsfile (1) for info on how to create it).

+ PATH=/usr/local/bin:/usr/X11R6/bin:/usr/bin:/bin
+ umask 077
+ trap '' 1 13
+ trap 'rc=`cat "$APS_TMPDIR/rc"`; rm -rf "$APS_TMPDIR"; exit $rc' 0
+ trap 'echo 9 >"$APS_TMPDIR/rc"; exit' 1 5 7 10 12 15
+ '[' 3 -gt 0 ']'
+ variable=
+ variable=HOST
+ '[' HOST ']'
+ value=slc.corcorancreations.com
+ '[' '!' slc.corcorancreations.com ']'
+ eval 'HOST="$value"'
++ HOST=slc.corcorancreations.com
+ shift
+ '[' 2 -gt 0 ']'
+ variable=
+ variable=USER
+ '[' USER ']'
+ value=sl
+ '[' '!' sl ']'
+ eval 'USER="$value"'
++ USER=sl
+ shift
+ '[' 1 -gt 0 ']'
+ variable=
+ variable=JOB
+ '[' JOB ']'
+ value=lyrics.txt
+ '[' '!' lyrics.txt ']'
+ eval 'JOB="$value"'
++ JOB=lyrics.txt
+ shift
+ '[' 0 -gt 0 ']'
+ unset variable value
+ read -r dummy
+ echo dummy
+ read_r=-r
++++ dirname /etc/apsfilter/basedir/bin/apsfilter
+++ dirname /etc/apsfilter/basedir/bin
++ dirname /etc/apsfilter/basedir
+ CONF_DIR=/etc/apsfilter
+ '[' -d /etc/apsfilter/basedir ']'
++ eval echo '~sl'
+++ echo /home/sl
+ HOMEDIR=/home/sl
+ SPOOLDIR=lp0
+ '[' lp0 ']'
++ basename lp0
+ QUEUE=lp0
+ '[' -f /etc/apsfilter/apsfilterrc ']'
+ . /etc/apsfilter/apsfilterrc
+ '[' -f /etc/apsfilter/lp0/apsfilterrc ']'
+ . /etc/apsfilter/lp0/apsfilterrc
++ PRINTER=ijs/DESKJET_612
++ PAPERSIZE=letter
++ METHOD=auto
++ QUALITY=medium
++ COLOR=gray
++ RESOLUTION=300x300
+ '[' -f /etc/apsfilter/lp0/apsfilterrc.sl ']'
+ '[' dummy ']'
+ USE_USER_CODE=set
+ '[' -n set -a -f /home/sl/.apsfilter/apsfilterrc.lp0 ']'
+ export PATH
+ : /tmp
+ APS_TMPDIR=/tmp/apsfilter7198
+ rm -rf /tmp/apsfilter7198
+ mkdir -m 711 /tmp/apsfilter7198
+ '[' 0 -ne 0 ']'
+ echo 0
+ export TEMP=/tmp/apsfilter7198 TMPDIR=/tmp/apsfilter7198
+ TEMP=/tmp/apsfilter7198
+ TMPDIR=/tmp/apsfilter7198
+ : /usr/bin/gawk
+ : medium bi plain gray
+ '[' -n '' -a -z '' ']'
+ '[' '!' dummy ']'
+ '[' lyrics.txt = stdin -o lyrics.txt = '(stdin)' -o lyrics.txt = '(STDIN)' ']'
+ '[' '' ']'
+ : 10
+ '[' '' ']'
+ COPIES=1
+ '[' 1 -gt 10 ']'
+ '[' 1 = 0 ']'
+ '[' '' ']'
+ LANDSCAPE=
+ PORTRAIT=set
+ '[' '' = short ']'
+ BINDING=long
+ '[' '' ']'
+ :
+ unset PS_NUP
+ PSNUP_ROTATE=-l
+ '[' -e /etc/apsfilter/restrictions ']'
+ '[' -e /etc/apsfilter/lp0/restrictions ']'
+ WIDTH_POINTS=612
+ HEIGHT_POINTS=792
+ WIDTH_INCHES=8.5
+ HEIGHT_INCHES=11
+ '[' set ']'
+ '[' -f /etc/apsfilter/lp0/netware.conf -o -f /etc/apsfilter/lp0/lpr.conf ']'
+ unset REMOTE_COPIES
+ DRIVER_SCRIPT=ijs/DESKJET_612
+ '[' '!' -e /etc/apsfilter/basedir/driver/ijs/DESKJET_612 ']'
++ grep :ijs/DESKJET_612: /etc/apsfilter/basedir/driver/MAPPING
++ sed 's/:.*//'
+ DRIVER_SCRIPT=ijs/DESKJET_610
+ '[' -z ijs/DESKJET_610 ']'
+ '[' -e /etc/apsfilter/basedir/driver/ijs/DESKJET_610 ']'
+ . /etc/apsfilter/basedir/driver/ijs/DESKJET_610
++ RESOLUTION=300x300
+++ echo ijs/DESKJET_612
+++ sed 's/_/ /g'
++ PRINTER=ijs/DESKJET 612
++ params=Quality:Quality=0,Quality:ColorMode=0,Quality:MediaType=0,Quality:PenSet=2
++ GS_FEATURES= -dIjsUseOutputFD -sIjsParams='Quality:Quality=0,Quality:ColorMode=0,Quality:MediaType=0,Quality:PenSet=2' -sDeviceManufacturer=HEWLETT-PACKARD
+ GS_FEATURES= -dIjsUseOutputFD -sIjsParams='Quality:Quality=0,Quality:ColorMode=0,Quality:MediaType=0,Quality:PenSet=2' -sDeviceManufacturer=HEWLETT-PACKARD -sDeviceModel='DESKJET 612' -sIjsServer=hpijs
+ PRINTER=ijs
+ '[' ijs '!=' PS ']'
+ '[' '' ']'
+ '[' '' ']'
+ unpack print_auto
+ local HEADER FILE_TYPE unpacker unpacker_opts
+ DEPTH=1
+ HEADER=/tmp/apsfilter7198/header1
+ dd bs=1k count=16
++ file /tmp/apsfilter7198/header1
+ FILE_TYPE=/tmp/apsfilter7198/header1: ASCII English text
++ echo ASCII English text
++ tr A-Z a-z
+ FILE_TYPE=ascii english text
+ unpacker=
+ '[' '' ']'
+ cat /tmp/apsfilter7198/header1 -
+ eval print_auto
++ print_auto
++ print_ascii
++ local features jobname lang
++ jobname=lyrics.txt
+++ echo lyrics.txt
+++ wc -c
++ '[' 11 -gt 40 ']'
++ find_filter a2ps
++ type a2ps
++ '[' '' ']'
++ : letter
++ features=-1
++ unset LANDSCAPE PS_NUP
++ : --delegate=no -X iso1 -g
++ '[' '' ']'
++ features=-1 --borders=no
++ '[' '' ']'
++ features=-1 --borders=no --no-header
++ features=-1 --borders=no --no-header --prologue=gray
++ eval a2ps -M letter '--center-title="$jobname"' '-b"Printed by $USER from $HOST"' --delegate=no -X iso1 -g -1 --borders=no --no-header --prologue=gray -q -o -
+++ a2ps -M letter --center-title=lyrics.txt '-bPrinted by sl from slc.corcorancreations.com' --delegate=no -X iso1 -g -1 --borders=no --no-header --prologue=gray -q -o -
++ print_ps
++ local paper gs_cmd
++ '[' '' ']'
++ '[' ijs = PS ']'
++ find_filter gs
++ type gs
++ : /usr/X11R6/lib/X11/fonts/Type1:/var/X11R6/lib/X11/fonts/Type1
++ : /usr/X11R6/lib/X11/fonts/Type1:/var/X11R6/lib/X11/fonts/Type1
++ export GS_FONTPATH GS_LIB
++ '[' letter = tabloid ']'
++ paper=letter
++ gs_cmd=gs -q -dNOPAUSE -dSAFER -dPARANOIDSAFER 		-sDEVICE='ijs'  		-sPAPERSIZE='letter' -r'300x300' 		-sOutputFile=-  -dIjsUseOutputFD -sIjsParams='Quality:Quality=0,Quality:ColorMode=0,Quality:MediaType=0,Quality:PenSet=2' -sDeviceManufacturer=HEWLETT-PACKARD -sDeviceModel='DESKJET 612' -sIjsServer=hpijs  -
++ '[' '' ']'
++ ps_postprocessing
++ '[' '' ']'
++ eval ps_set_duplex
+++ ps_set_duplex
+++ local tray
+++ find_filter psset
+++ type psset
+++ '[' '' ']'
+++ '[' '' ']'
+++ psset -n -q -s
++ print_data
++ local c
++ '[' '' ']'
++ '[' 1 = 1 -o -n '' ']'
++ print_copy
++ local rc=0 ncp_print
++ '[' dummy ']'
++ cat
++ eval gs -q -dNOPAUSE -dSAFER -dPARANOIDSAFER '-sDEVICE='\''ijs'\''' '-sPAPERSIZE='\''letter'\''' '-r'\''300x300'\''' -sOutputFile=- -dIjsUseOutputFD '-sIjsParams='\''Quality:Quality=0,Quality:ColorMode=0,Quality:MediaType=0,Quality:PenSet=2'\''' -sDeviceManufacturer=HEWLETT-PACKARD '-sDeviceModel='\''DESKJET' '612'\''' -sIjsServer=hpijs -
+++ gs -q -dNOPAUSE -dSAFER -dPARANOIDSAFER -sDEVICE=ijs -sPAPERSIZE=letter -r300x300 -sOutputFile=- -dIjsUseOutputFD -sIjsParams=Quality:Quality=0,Quality:ColorMode=0,Quality:MediaType=0,Quality:PenSet=2 -sDeviceManufacturer=HEWLETT-PACKARD '-sDeviceModel=DESKJET 612' -sIjsServer=hpijs -
++ '[' 0 -ne 0 ']'
+ rm -f /tmp/apsfilter7198/header1
++ cat /tmp/apsfilter7198/rc
+ rc=0
+ rm -rf /tmp/apsfilter7198
+ exit 0


> For your printer model, the hpijs driver might work well, by the way.
> http://hpinkjet.sourceforge.net/

Supposedly I already have it...see above.  Or does that mean just the FIRST,
multi-columned, list is built-in and the rest is...what?

> Really, the info in your mail is way too much "it just doesn't work" and
> not enough "here are the details of my problem/configuration".	;-)

Yes well I was sorta expecting someone to email me back and tell me what they
needed, it was not *intended* as a manual or all-inclusive life-history of my
printing woes.

> Remember people on this mailing list are all volunteers and/or users
> like you and me, who have dayjobs and do not necessarily always have the
> time to read/answer all the posts as soon as they fly in.

I don't consider overnight to be "as soon as they fly in."
There's 50 people on the list.  I can't believe how empty it is, I've heard
from probably three people, the folks in charge really should go thru and clean
out the spammers, the list would probably be about 10 people then.  (really,
the first 3-4 emails I got from this list were junkmail!)

Thanks,

sl