LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Can't print HP 4550 (https://www.linuxquestions.org/questions/linux-newbie-8/cant-print-hp-4550-a-394953/)

javiergt 12-20-2005 01:41 PM

Can't print HP 4550
 
I'm using RHEL4. The printer is in the network with it's own ip address.
I ran the config for the printer and set it up with network jetdirect.
When i send a test page to print i only get a blank page.
After that i try to print something else and nothing comes out.
I went to the browswer xx.xx.xx.xx:631 and i'm able to see the printer configuration menu, etc.
Here is the /var/log/cups/error_log for the blank test page (debub mode, the error part)

D [20/Dec/2005:14:34:53 -0500] [Job 17] <<<<<<<<<<<<<<<<<<<<<< ERROR >>>>>>>>>>>>>>>>>>>>>>
D [20/Dec/2005:14:34:53 -0500] [Job 17]
D [20/Dec/2005:14:34:53 -0500] [Job 17] Error: Failed allocation of pMonoData in PrintPage
D [20/Dec/2005:14:34:53 -0500] [Job 17] Error: /VMerror in --.outputpage--
D [20/Dec/2005:14:34:53 -0500] [Job 17] VM status: 0 363959 1722904
D [20/Dec/2005:14:34:53 -0500] [Job 17] Current allocation mode is local
D [20/Dec/2005:14:34:53 -0500] [Job 17] Last OS error: 29
D [20/Dec/2005:14:34:53 -0500] [Job 17] GNU Ghostscript 7.07: Unrecoverable error, exit code 1
D [20/Dec/2005:14:34:53 -0500] [Job 17] renderer return value: 1
D [20/Dec/2005:14:34:53 -0500] [Job 17] renderer received signal: 1
D [20/Dec/2005:14:34:53 -0500] [Job 17] tail process done writing data to STDOUT
D [20/Dec/2005:14:34:53 -0500] [Job 17] KID4 finished
D [20/Dec/2005:14:34:53 -0500] [Job 17] KID4 exited with status 0
D [20/Dec/2005:14:34:53 -0500] [Job 17] KID3 exited with status 3
D [20/Dec/2005:14:34:53 -0500] [Job 17] Renderer exit stat: 3
D [20/Dec/2005:14:34:53 -0500] [Job 17] Process dying with "Possible error on renderer command line or PostScript error. Check options.", exit stat: 3
D [20/Dec/2005:14:34:53 -0500] [Job 17] Possible error on renderer command line or PostScript error. Check options.
D [20/Dec/2005:14:34:53 -0500] [Job 17] Renderer process finished
D [20/Dec/2005:14:34:53 -0500] [Job 17] Killing process 31359 (KID3)
D [20/Dec/2005:14:34:53 -0500] [Job 17] Process dying with "Error closing renderer", exit stat: 3
D [20/Dec/2005:14:34:53 -0500] [Job 17] Error closing renderer
E [20/Dec/2005:14:34:53 -0500] PID 31357 stopped with status 3!
D [20/Dec/2005:14:34:53 -0500] UpdateJob: job 17, file 0 is complete.
D [20/Dec/2005:14:34:53 -0500] CancelJob: id = 17
D [20/Dec/2005:14:34:53 -0500] StopJob: id = 17, force = 0
D [20/Dec/2005:14:34:53 -0500] StopJob: printer state is 3
D [20/Dec/2005:14:34:54 -0500] AcceptClient: 8 from localhost:631.
D [20/Dec/2005:14:34:54 -0500] ReadClient: 8 POST / HTTP/1.1
D [20/Dec/2005:14:34:54 -0500] ProcessIPPRequest: 8 status_code=1
D [20/Dec/2005:14:34:54 -0500] CloseClient: 8

Here is the /var/log/error_log (not a test page, nothing happens ... not even a blank page)

D [20/Dec/2005:14:39:36 -0500] [Job 18] New page: 1 1
D [20/Dec/2005:14:39:36 -0500] [Job 18] Inserting option code into "PageSetup" section.
D [20/Dec/2005:14:39:36 -0500] [Job 18] No page header or page header not DSC-conforming
D [20/Dec/2005:14:39:36 -0500] [Job 18] Saw EOF!
D [20/Dec/2005:14:39:36 -0500] [Job 18] Stopping search for page header options
D [20/Dec/2005:14:39:36 -0500] [Job 18] Found:
D [20/Dec/2005:14:39:36 -0500] [Job 18] (GnomeUni-LuxiMono) cvn FF 12 F
D [20/Dec/2005:14:39:36 -0500] [Job 18] --> Output goes directly to the renderer now.
D [20/Dec/2005:14:39:36 -0500] [Job 18]
D [20/Dec/2005:14:39:36 -0500] [Job 18]
D [20/Dec/2005:14:39:36 -0500] [Job 18] Starting renderer
D [20/Dec/2005:14:39:36 -0500] [Job 18] JCL: <job data>
D [20/Dec/2005:14:39:36 -0500] [Job 18]
D [20/Dec/2005:14:39:36 -0500] [Job 18] renderer PID kid4=31403
D [20/Dec/2005:14:39:36 -0500] [Job 18] renderer command: gs -q -dPARANOIDSAFER -dBATCH -dNOPAUSE -sOutputFile=- -sDEVICE=omni -sDeviceName=HP_Color_LaserJet_4550 -sproperties=" Form=na_letter_8.50x11.00in InputTray=Tray-1 media=MEDIA_PLAIN Resolution=600x600 printmode=PRINT_MODE_8_RGB dither=dither=DITHER_LEVEL Rotation=Portrait" -
D [20/Dec/2005:14:39:36 -0500] [Job 18] foomatic-gswrapper: gs '-dPARANOIDSAFER' '-dBATCH' '-dNOPAUSE' '-sOutputFile=| cat >&3' '-sDEVICE=omni' '-sDeviceName=HP_Color_LaserJet_4550' '-sproperties= Form=na_letter_8.50x11.00in InputTray=Tray-1 media=MEDIA_PLAIN Resolution=600x600 printmode=PRINT_MODE_8_RGB dither=dither=DITHER_LEVEL Rotation=Portrait' '/dev/fd/0' 3>&1 1>&2
D [20/Dec/2005:14:39:36 -0500] [Job 18] GNU Ghostscript 7.07 (2003-05-17)
D [20/Dec/2005:14:39:36 -0500] [Job 18] Copyright (C) 2003 artofcode LLC, Benicia, CA. All rights reserved.
D [20/Dec/2005:14:39:36 -0500] [Job 18] This software comes with NO WARRANTY: see the file PUBLIC for details.
D [20/Dec/2005:14:39:37 -0500] [Job 18] Loading NimbusRomNo9L-Regu font from /usr/share/fonts/default/Type1/n021003l.pfb... 2492060 1115516 1662616 356238 0 done.
D [20/Dec/2005:14:39:37 -0500] [Job 18] Using NimbusRomanNo9L-Regu font for NimbusRomNo9L-Regu.
D [20/Dec/2005:14:39:37 -0500] [Job 18] Loading NimbusSanL-Regu font from /usr/share/fonts/default/Type1/n019003l.pfb... 2867020 1460154 1682712 367446 0 done.
D [20/Dec/2005:14:39:37 -0500] [Job 18] Using NimbusSansL-Regu font for NimbusSanL-Regu.
D [20/Dec/2005:14:39:37 -0500] [Job 18]
D [20/Dec/2005:14:39:37 -0500] [Job 18] Closing renderer
D [20/Dec/2005:14:39:37 -0500] [Job 18] sh: line 1: 31405 Segmentation fault gs '-dPARANOIDSAFER' '-dBATCH' '-dNOPAUSE' '-sOutputFile=| cat >&3' '-sDEVICE=omni' '-sDeviceName=HP_Color_LaserJet_4550' '-sproperties= Form=na_letter_8.50x11.00in InputTray=Tray-1 media=MEDIA_PLAIN Resolution=600x600 printmode=PRINT_MODE_8_RGB dither=dither=DITHER_LEVEL Rotation=Portrait' '/dev/fd/0' 3>&1 1>&2
D [20/Dec/2005:14:39:37 -0500] [Job 18] renderer return value: 139
D [20/Dec/2005:14:39:37 -0500] [Job 18] renderer received signal: 139
D [20/Dec/2005:14:39:37 -0500] [Job 18] KID3 exited with status 3
D [20/Dec/2005:14:39:37 -0500] [Job 18] Renderer exit stat: 3
D [20/Dec/2005:14:39:37 -0500] [Job 18] Process dying with "The renderer may have dumped core.", exit stat: 3
D [20/Dec/2005:14:39:37 -0500] [Job 18] The renderer may have dumped core.
D [20/Dec/2005:14:39:37 -0500] [Job 18] tail process done writing data to STDOUT
D [20/Dec/2005:14:39:37 -0500] [Job 18] KID4 finished
D [20/Dec/2005:14:39:37 -0500] [Job 18] Renderer process finished
D [20/Dec/2005:14:39:37 -0500] [Job 18] Killing process 31402 (KID3)
D [20/Dec/2005:14:39:37 -0500] [Job 18] Process dying with "Error closing renderer", exit stat: 3
D [20/Dec/2005:14:39:37 -0500] [Job 18] Error closing renderer
E [20/Dec/2005:14:39:37 -0500] PID 31400 stopped with status 3!
D [20/Dec/2005:14:39:38 -0500] UpdateJob: job 18, file 0 is complete.
D [20/Dec/2005:14:39:38 -0500] CancelJob: id = 18
D [20/Dec/2005:14:39:38 -0500] StopJob: id = 18, force = 0
D [20/Dec/2005:14:39:38 -0500] StopJob: printer state is 3


Thanks in advanced.

Tinkster 12-20-2005 01:49 PM

And, what does you GhostScript say when invoked from a command-line?
Is it segfaulting, too?

How did you install CUPS and ESP gs? Both originals from your
RedHat CDs or acquired somewhere else?


Cheers,
Tink

javiergt 12-20-2005 02:02 PM

1. How do i run Ghostscript when i have a network printer?

2. I install CUPS and ESP gs from the RH CD's.

Thanks,

Tinkster 12-20-2005 02:26 PM

Well, for some reason your CUPS is using a GNU gs and
not the ESP one it should be using...

As to question #1: What has the connection of the printer
got to do with the preprocessing? :)

Just run
gs -v
and post the output...



Cheers,
Tink

javiergt 12-20-2005 02:37 PM

Here is the output of gs -v

# gs -v
GNU Ghostscript 7.07 (2003-05-17)
Copyright (C) 2003 artofcode LLC, Benicia, CA. All rights reserved.

Thanks,
javiergt

Tinkster 12-20-2005 02:56 PM

Ok, so that's confirmed: you probably want to un-install
GNU gs, and re-install ESP gs. Try that, and see whether
CUPS will work ;}


Cheers,
Tink

javiergt 12-21-2005 10:42 AM

I canīt remove Ghostscript 7.07 because it's giving dependencies problems

# rpm -e ghostscript-7.07-33
error: Failed dependencies:
libijs.so is needed by (installed) gimp-print-4.2.7-2.i386
ghostscript is needed by (installed) ghostscript-fonts-5.50-13.noarch
ghostscript is needed by (installed) hpijs-1.6-2.i386
ghostscript is needed by (installed) libgnomeprint22-2.8.0-3.i386
ghostscript >= 6.51-16 is needed by (installed) system-config-printer-0.6.116.4-1.i386

Can i try to install ESP gs without removing GNU gs and make it work?

Thanks,
javiergt

Tinkster 12-21-2005 11:31 AM

No idea what RH EL4 will do if you do that, good luck.


Cheers,
Tink


All times are GMT -5. The time now is 04:43 AM.