Subject: Re: Test Page not printing: CUPS + foomatic + ghostscript + hpijs
To: Jason Boyer <jasonb@japl.lib.in.us>
From: None <othyro@freeshell.org>
List: current-users
Date: 05/04/2006 21:57:51
Jason Boyer writes: 

> Try replacing ghostscript-gnu with ghostscript-esp and see if it helps
> anything. I've got cups working fine with the version in pkgsrc-2006Q1. 
> 
> Does anyone know why the cups pkg isn't dependent on ghostscript-esp
> specifically? I've never seen it work properly without it. 
> 
> Jason 
> 
> --
> Jason Boyer
> Information Technology Specialist
> Jackson County Public Library
> (812) 522-3412 x227
> jasonb@japl.lib.in.us

I just did, thanks. However, still no change. I do appreciate the response 
though. Any other ideas? 

>> -----Original Message-----
>> From: tech-pkg-owner@NetBSD.org 
>> [mailto:tech-pkg-owner@NetBSD.org] On Behalf Of othyro@freeshell.org
>> Sent: Thursday, May 04, 2006 4:20 PM
>> To: tech-pkg@netbsd.org
>> Cc: current-users@netbsd.org
>> Subject: Test Page not printing: CUPS + foomatic + 
>> ghostscript + hpijs on HP OfficeJet G85 on NetBSD 3.0 
>> 
>> OS:  
>> 
>> NetBSD dev 3.0.0_STABLE NetBSD 3.0.0_STABLE (DEV) #1: Mon May 
>>  1 07:37:48 EDT 2006  
>> root@dev:/usr/src/sys/arch/i386/compile/DEV i386  
>> 
>> Hardware:  
>> 
>> ulpt0 at uhub1 port 2 configuration 1 interface 0
>> ulpt0: Hewlett-Packa OfficeJet G85, rev 1.00/1.00, addr 3, iclass 7/1
>> ulpt0: using bi-directional mode  
>> 
>> Software:  
>> 
>> cups-1.1.23nb10
>> foomatic-filters-3.0.2nb3
>> foomatic-filters-cups-3.0.2nb1
>> foomatic-ppds-20051217nb1
>> foomatic-ppds-cups-20051217nb1
>> ghostscript-gnu-8.15nb3
>> hpijs-2.1.4
>> perl-5.8.8nb1  
>> 
>> After starting and printing a test page...  
>> 
>> /var/log/cups/error-log:  
>> 
>> http://othyro.freeshell.org/cupsoutput.txt  
>> 
>> Processes:  
>> 
>> dev# ps -auxww
>> USER  PID %CPU %MEM   VSZ   RSS TTY    STAT STARTED    TIME COMMAND
>> othyro   734  8.1 16.6 18480 43544 ?      Ssa   2:20PM 1:19.87 
>> /usr/pkg/lib/firefox/firefox-bin http://localhost:631/admin
>> lp    161  2.6  2.1  5432  5392 ?      S     2:31PM 0:00.64 
>> /usr/pkg/bin/perl /usr/pkg/libexec/cups/filter/foomatic-rip 4 
>> root Test Page
>> 1
>> lp    628  3.3  3.2  8336  8300 ?      S     2:31PM 0:00.71 
>> gs -dBATCH 
>>  -dPARANOIDSAFER -dQUIET -dNOPAUSE -sDEVICE=ijs 
>> -sIjsServer=hpijs  -sDeviceManufacturer=HEWLETT-PACKARD 
>> -sDeviceModel=DESKJET 930
>>  -dDEVICEWIDTHPOINTS=612 -dDEVICEHEIGHTPOINTS=792 
>> -dDuplex=false -r300  
>> -sIjsParams=Quality:Quality=0,Quality:ColorMode=2,Quality:Medi
>> aType=0,Qualit
>> y:Pe
>> nSet=2 -dIjsUseOutputFD -sOutputFile=/dev/fd/3 /dev/fd/0
>> root 1084  3.2 16.3 18712 42516 ?      S     2:20PM 0:19.37 X 
>> :0 (XFree86)
>> root    0  0.0 15.4     0 40308 ?      DKs   2:19PM 0:00.00 [swapper]
>> root    1  0.0  0.3    64   780 ?      Is    2:19PM 0:00.01 init
>> root    2  0.0 15.4     0 40308 ?      DK    2:19PM 0:00.00 
>> [cryptoret]
>> root    3  0.0 15.4     0 40308 ?      DK    2:19PM 0:00.00 [usb0]
>> root    4  0.0 15.4     0 40308 ?      DK    2:19PM 0:00.00 [usbtask]
>> root    5  0.0 15.4     0 40308 ?      DK    2:19PM 0:00.00 [usb1]
>> root    6  0.0 15.4     0 40308 ?      DK    2:19PM 0:00.00 [usb2]
>> root    7  0.0 15.4     0 40308 ?      DK    2:19PM 0:00.01 [atabus0]
>> root    8  0.0 15.4     0 40308 ?      DK    2:19PM 0:00.00 [atabus1]
>> root    9  0.0 15.4     0 40308 ?      DK    2:19PM 0:00.00 [usb3]
>> root   10  0.0 15.4     0 40308 ?      DK    2:19PM 0:00.00 [usb4]
>> root   11  0.0 15.4     0 40308 ?      DK    2:19PM 0:00.00 [fwohci0]
>> root   12  0.0 15.4     0 40308 ?      DK    2:19PM 0:00.00 [scsibus0]
>> root   13  0.0 15.4     0 40308 ?      DK    2:19PM 0:00.00 
>> [atapibus0]
>> root   14  0.0 15.4     0 40308 ?      DK    2:19PM 0:00.00 
>> [pagedaemon]
>> root   15  0.0 15.4     0 40308 ?      DK    2:19PM 0:00.13 [ioflush]
>> root   16  0.0 15.4     0 40308 ?      DK    2:19PM 0:00.01 [aiodoned]
>> othyro   170  0.0  0.8   468  2044 ?      Ss    2:20PM 0:00.13 
>> /usr/pkg/bin/aterm -fg white -bg black --transparent -tint 
>> green -sh 100  -trsb
>> othyro   172  0.0  0.8   380  1948 ?      Ss    2:20PM 0:00.33 
>> /usr/pkg/bin/aterm -fg white -bg black --transparent -tint 
>> yellow -sh 100  -trsb
>> root  276  0.0  0.3   620   816 ?      Is    2:19PM 0:00.00 
>> /sbin/dhclient 
>>  -q ex0
>> root  281  0.0  0.3   172   796 ?      Ss    2:19PM 0:00.02 
>> /usr/sbin/syslogd -s
>> lp    360  0.0  1.1  5416  2908 ?      S     2:31PM 0:00.01 
>> /usr/pkg/bin/perl /usr/pkg/libexec/cups/filter/foomatic-rip 4 
>> root Test Page
>> 1
>> root  365  0.0  0.4    28   980 ?      S     2:31PM 0:00.05 
>> usb:/dev/ulpt0 4 
>> root Test Page 1  (usb)
>> lp    366  0.0  0.3   144   752 ?      S     2:31PM 0:00.01 sh -c 
>> foomatic-gswrapper -q -dBATCH -dPARANOIDSAFER -dQUIET 
>> -dNOPAUSE -sDEVICE=ijs  -sIjsServer=hpijs 
>> -sDeviceManufacturer="HEWLETT-PACKARD" 
>>  -sDeviceModel="DESKJET 930" -dDEVICEWIDTHPOINTS=612 
>> -dDEVICEHEIGHTPOINTS=792  -dDuplex=false -r300  
>> -sIjsParams=Quality:Quality=0,Quality:ColorMode=2,Quality:Medi
>> aType=0,Qualit
>> y:Pe
>> nSet=2 -dIjsUseOutputFD -sOutputFile=- -
>> lp    368  0.0  0.7  5468  1892 ?      S     2:31PM 0:00.00 
>> /usr/pkg/bin/perl /usr/pkg/libexec/cups/filter/foomatic-rip 4 
>> root Test Page
>> 1
>> root  445  0.0 15.4     0 40308 ?      DK    2:19PM 0:00.00 
>> [acctwatch]
>> root  662  0.3  2.4  4772  6320 ?      Ss    2:19PM 0:01.74 
>> /usr/pkg/sbin/cupsd
>> othyro   826  0.0  1.1  2612  2736 ?      S     2:21PM 0:00.30 
>> /usr/pkg/libexec/gconfd-2 10
>> root  988  0.0  0.3    60   740 ?      Is    2:19PM 0:00.00 
>> /usr/sbin/inetd 
>>  -l
>> lp   1014  0.0  0.3   144   752 ?      S     2:31PM 0:00.03 sh -c gs 
>> '-dBATCH' '-dPARANOIDSAFER' '-dQUIET' '-dNOPAUSE' '-sDEVICE=ijs' 
>> '-sIjsServer=hpijs' '-sDeviceManufacturer=HEWLETT-PACKARD' 
>> '-sDeviceModel=DESKJET 930' '-dDEVICEWIDTHPOINTS=612' 
>> '-dDEVICEHEIGHTPOINTS=792' '-dDuplex=false' '-r300' 
>> '-sIjsParams=Quality:Quality=0,Quality:ColorMode=2,Quality:Med
>> iaType=0,Quali
>> ty:P
>> enSet=2' '-dIjsUseOutputFD' '-sOutputFile=/dev/fd/3' 
>> '/dev/fd/0' 3>&1 1>&2
>> root 1045  0.0  0.3   232   764 ?      Ss    2:19PM 0:00.01 
>> /usr/sbin/cron
>> lp   1336  0.0  0.3   140   748 ?      S     2:31PM 0:00.01 
>> sh -c hpijs
>> lp   1397  0.0  0.6   528  1540 ?      S     2:31PM 0:00.09 hpijs
>> othyro   169  0.0  0.6  1304  1684 ttyp0  Is    2:20PM 
>> 0:00.04 -csh (tcsh)
>> root  530  0.0  0.6   100  1600 ttyp0  I<    2:20PM 0:00.10 su -l
>> root  766  0.0  0.3   104   688 ttyp0  R+    2:32PM 0:00.00 ps -auxww
>> root 1331  0.0  0.8  1696  2116 ttyp0  S     2:20PM 0:00.05 -tcsh
>> othyro   175  0.0  0.7  1388  1736 ttyp1  Is+   2:20PM 
>> 0:00.06 -csh (tcsh)
>> othyro   107  0.0  0.7  1336  1780 ttyE0  I     2:20PM 0:00.05 -tcsh
>> othyro   113  0.0  0.3   144   780 ttyE0  I+    2:20PM 
>> 0:00.01 /bin/sh 
>> /usr/X11R6/bin/startx
>> root  434  0.0  2.3  4764  6064 ttyE0- I     2:19PM 0:00.72 
>> /usr/X11R6/bin/xfs
>> othyro   635  0.0  0.4    68  1156 ttyE0  I+    2:20PM 0:00.01 xinit 
>> /home/othyro/.xinitrc --
>> root 1171  0.0  0.6   156  1600 ttyE0  Is    2:19PM 0:00.09 login
>> othyro  1175  0.0  0.9   300  2272 ttyE0  S     2:20PM 
>> 0:00.12 bbkeys -i
>> othyro  1215  0.0  1.1   756  2768 ttyE0  S     2:20PM 
>> 0:00.66 blackbox
>> root  984  0.0  0.3    52   764 ttyE1  Is+   2:19PM 0:00.01 
>> /usr/libexec/getty Pc ttyE1
>> root 1119  0.0  0.3    52   764 ttyE2  Is+   2:19PM 0:00.01 
>> /usr/libexec/getty Pc ttyE2
>> root   96  0.0  0.3    52   764 ttyE3  Is+   2:19PM 0:00.01 
>> /usr/libexec/getty Pc ttyE3  
>> 
>> 
>> Nothing really happens after this. It just hangs. CUPS Admin 
>> shows the job is processing, yet nothing is printing. Is 
>> there something i'm missing?  
>> 
>> TIA
>