Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to Print to HP LaserJet 4M Plus #49

Closed
michaelrsweet opened this issue Apr 24, 2003 · 2 comments
Closed

Unable to Print to HP LaserJet 4M Plus #49

michaelrsweet opened this issue Apr 24, 2003 · 2 comments
Milestone

Comments

@michaelrsweet
Copy link
Collaborator

Version: 1.1.17
CUPS.org User: dknowles.clearfield

Using a default installation of RedHat 9.

Printer LaserJet 4M Plus (PS capable)

Created a new printer hplj4mp using the driver HP LaserJet 4 Plus/4M Plus

Reconfigured samba to use cups (printing = cups)

Used existing windows machine with preinstalled Microsoft drivers for this printer. (Windows XP).

While the test pages in the Printer configuration worked printing from within Open Office on Linux Server failed.

When printing from Windows Client the printer would blink once and then ignore the print job.

Setting the cups logging to debug got the following error_log (extract)

overwrote the /etc/cups/ppd/hplj4mp.ppd with a new file from hp.sourceforge.net for this printer (PS) and the printing starting working correctly.

D [25/Apr/2003:10:05:21 -1200] ProcessIPPRequest: 3 status_code=0
D [25/Apr/2003:10:05:21 -1200] CloseClient() 3
D [25/Apr/2003:10:05:21 -1200] AcceptClient() 3 from localhost:631.
D [25/Apr/2003:10:05:21 -1200] ReadClient() 3 POST / HTTP/1.1
D [25/Apr/2003:10:05:21 -1200] ProcessIPPRequest: 3 status_code=0
D [25/Apr/2003:10:05:21 -1200] CloseClient() 3
D [25/Apr/2003:10:05:21 -1200] AcceptClient() 3 from localhost:631.
D [25/Apr/2003:10:05:21 -1200] ReadClient() 3 POST / HTTP/1.1
D [25/Apr/2003:10:05:21 -1200] ProcessIPPRequest: 3 status_code=0
D [25/Apr/2003:10:05:21 -1200] CloseClient() 3
D [25/Apr/2003:10:05:21 -1200] AcceptClient() 3 from localhost:631.
D [25/Apr/2003:10:05:21 -1200] ReadClient() 3 POST / HTTP/1.1
D [25/Apr/2003:10:05:21 -1200] ProcessIPPRequest: 3 status_code=0
D [25/Apr/2003:10:05:21 -1200] CloseClient() 3
D [25/Apr/2003:10:05:21 -1200] AcceptClient() 3 from localhost:631.
D [25/Apr/2003:10:05:21 -1200] ReadClient() 3 POST /printers/hplj4mp HTTP/1.1
D [25/Apr/2003:10:05:21 -1200] print_job: auto-typing file...
D [25/Apr/2003:10:05:21 -1200] print_job: request file type is application/vnd.cups-postscript.
D [25/Apr/2003:10:05:21 -1200] check_quotas: requesting-user-name = 'dknowles'
D [25/Apr/2003:10:05:21 -1200] print_job: requesting-user-name = 'dknowles'
D [25/Apr/2003:10:05:21 -1200] Adding default job-sheets values "none,none"...
I [25/Apr/2003:10:05:21 -1200] Job 39 queued on 'hplj4mp' by 'dknowles'.
D [25/Apr/2003:10:05:21 -1200] Job 39 hold_until = 0
D [25/Apr/2003:10:05:21 -1200] StartJob(39, 0x80916f0)
D [25/Apr/2003:10:05:21 -1200] StartJob() id = 39, file = 0/1
D [25/Apr/2003:10:05:21 -1200] job-sheets=none,none
D [25/Apr/2003:10:05:21 -1200] banner_page = 0
D [25/Apr/2003:10:05:21 -1200] StartJob: argv = "hplj4mp","39","dknowles","PFE - Untitled1","1","","/var/spool/cups/d00039-001"
D [25/Apr/2003:10:05:21 -1200] StartJob: envp = "PATH=/usr/lib/cups/filter:/bin:/usr/bin","SOFTWARE=CUPS/1.1","USER=root","CHARSET=iso-8859-1","LANG=en_US",""
,"PPD=/etc/cups/ppd/hplj4mp.ppd","CUPS_SERVERROOT=/etc/cups","RIP_MAX_CACHE=8m","TMPDIR=/var/spool/cups/tmp","CONTENT_TYPE=application/vnd.cups-postscript","D
EVICE_URI=socket://192.168.1.50:9100","PRINTER=hplj4mp","CUPS_DATADIR=/usr/share/cups","CUPS_FONTPATH=/usr/share/cups/fonts","","",""
D [25/Apr/2003:10:05:21 -1200] StartJob: statusfds = 5, 6
D [25/Apr/2003:10:05:21 -1200] StartJob: filterfds[1] = 7, -1
D [25/Apr/2003:10:05:21 -1200] StartJob: filter = "/usr/lib/cups/filter/cupsomatic"
D [25/Apr/2003:10:05:21 -1200] StartJob: filterfds[0] = 8, 9
D [25/Apr/2003:10:05:21 -1200] start_process("/usr/lib/cups/filter/cupsomatic", 0xbfff0330, 0xbffef7e0, 7, 9, 6)
I [25/Apr/2003:10:05:21 -1200] Started filter /usr/lib/cups/filter/cupsomatic (PID 23885) for job 39.
D [25/Apr/2003:10:05:21 -1200] StartJob: backend = "/usr/lib/cups/backend/socket"
D [25/Apr/2003:10:05:21 -1200] StartJob: filterfds[1] = -1, 7
D [25/Apr/2003:10:05:21 -1200] start_process("/usr/lib/cups/backend/socket", 0xbfff0330, 0xbffef7e0, 8, 7, 6)
I [25/Apr/2003:10:05:21 -1200] Started backend /usr/lib/cups/backend/socket (PID 23886) for job 39.
D [25/Apr/2003:10:05:21 -1200] ProcessIPPRequest: 3 status_code=0
D [25/Apr/2003:10:05:21 -1200] CloseClient() 3
D [25/Apr/2003:10:05:21 -1200] [Job 39] Cupsomatic backend version $Revision: 2.13 $ running...
D [25/Apr/2003:10:05:21 -1200] [Job 39] inputfile handling is broken!!!inputfile handling is broken!!! at /usr/lib/cups/filter/cupsomatic line 167.
D [25/Apr/2003:10:05:21 -1200] [Job 39] ppd=/etc/cups/ppd/hplj4mp.ppd
D [25/Apr/2003:10:05:21 -1200] [Job 39] Seaerching job for option settings ...
D [25/Apr/2003:10:05:21 -1200] [Job 39] /usr/lib/cups/filter/cupsomatic: inserted option PS code:
D [25/Apr/2003:10:05:21 -1200] [Job 39] gs PID pid2=23888
D [25/Apr/2003:10:05:21 -1200] [Job 39] gs command: gs -q -dPARANOIDSAFER -dBATCH -dNOPAUSE -sOutputFile=- -sDEVICE=omni -sDeviceName=HP_LaserJet_4_Plus_4M_Pl
us -sproperties=" form=iso_a4_2100.00x2970.00mm tray=TRAY_MULTI_TRAY media=MEDIA_PLAIN resolution=600x600 printmode=PRINT_MODE_1_ANY dither=DITHER_STUCKI_DIFF
USION orientation=portrait HardwareScaling=0" -
D [25/Apr/2003:10:05:21 -1200] [Job 39] foomatic-gswrapper: gs '-dPARANOIDSAFER' '-dBATCH' '-dNOPAUSE' '-sOutputFile=/dev/fd/3' '-sDEVICE=omni' '-sDeviceName=
HP_LaserJet_4_Plus_4M_Plus' '-sproperties= form=iso_a4_2100.00x2970.00mm tray=TRAY_MULTI_TRAY media=MEDIA_PLAIN resolution=600x600 printmode=PRINT_MODE_1_ANY
dither=DITHER_STUCKI_DIFFUSION orientation=portrait HardwareScaling=0' '/dev/fd/0' 3>&1 1>&2
D [25/Apr/2003:10:05:21 -1200] [Job 39] GNU Ghostscript 7.05 (2002-04-22)
D [25/Apr/2003:10:05:21 -1200] [Job 39] Copyright (C) 2002 artofcode LLC, Benicia, CA. All rights reserved.
D [25/Apr/2003:10:05:21 -1200] [Job 39] This software comes with NO WARRANTY: see the file PUBLIC for details.
D [25/Apr/2003:10:05:22 -1200] [Job 39] Loading NimbusRomNo9L-Regu font from /usr/share/fonts/default/Type1/n021003l.pfb... 2411676 1053356 1642520 347466 0 d
one.
D [25/Apr/2003:10:05:23 -1200] [Job 39] Loading NimbusSanL-Regu font from /usr/share/fonts/default/Type1/n019003l.pfb... 2786636 1379234 1662616 358654 0 done
.
D [25/Apr/2003:10:05:23 -1200] [Job 39] Using NimbusSansL-Regu font for NimbusSanL-Regu.
D [25/Apr/2003:10:05:23 -1200] [Job 39] Error: /typecheck in --.unread--
D [25/Apr/2003:10:05:23 -1200] [Job 39] Operand stack:
D [25/Apr/2003:10:05:23 -1200] [Job 39] true --nostringval-- true 0
D [25/Apr/2003:10:05:23 -1200] [Job 39] Execution stack:
D [25/Apr/2003:10:05:23 -1200] [Job 39] %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval--
--nostringval-- --nostringval-- false 1 %stopped_push 1 3 %oparray_pop --nostringval-- 1 1 3 --nostringval-- %for_pos_int_continue
--nostringval-- --nostringval-- --nostringval--
D [25/Apr/2003:10:05:23 -1200] [Job 39] Dictionary stack:
D [25/Apr/2003:10:05:23 -1200] [Job 39] --dict:1062/1123(ro)(G)-- --dict:0/20(G)-- --dict:88/200(L)--
D [25/Apr/2003:10:05:23 -1200] [Job 39] Current allocation mode is local
D [25/Apr/2003:10:05:23 -1200] [Job 39] Last OS error: 29
D [25/Apr/2003:10:05:23 -1200] [Job 39] GNU Ghostscript 7.05: Unrecoverable error, exit code 1
D [25/Apr/2003:10:05:23 -1200] [Job 39]
Couldn't exec foomatic-gswrapper -q -dPARANOIDSAFER -dBATCH -dNOPAUSE -sOutputFile=- -sDEVICE=omni -sDeviceName=HP_La
serJet_4_Plus_4M_Plus -sproperties=" form=iso_a4_2100.00x2970.00mm tray=TRAY_MULTI_TRAY media=MEDIA_PLAIN resolution=600x600 printmode=PRINT_MODE_1_ANY dither
=DITHER_STUCKI_DIFFUSION orientation=portrait HardwareScaling=0" - at /usr/lib/cups/filter/cupsomatic line 1097.
D [25/Apr/2003:10:05:23 -1200] [Job 39] Main process finished
D [25/Apr/2003:10:05:23 -1200] [Job 39] tail process done writing data to *main::STDOUT
D [25/Apr/2003:10:05:23 -1200] [Job 39] KID4 finished
D [25/Apr/2003:10:05:23 -1200] UpdateJob: job 39, file 0 is complete.
D [25/Apr/2003:10:05:23 -1200] CancelJob: id = 39
D [25/Apr/2003:10:05:23 -1200] StopJob: id = 39, force = 0
D [25/Apr/2003:10:05:23 -1200] StopJob: printer state is 3
D [25/Apr/2003:10:05:50 -1200] AcceptClient() 3 from localhost:631.
D [25/Apr/2003:10:05:50 -1200] AcceptClient() 5 from localhost:631.
D [25/Apr/2003:10:05:50 -1200] ReadClient() 5 POST / HTTP/1.1
D [25/Apr/2003:10:05:50 -1200] ProcessIPPRequest: 5 status_code=0
D [25/Apr/2003:10:05:50 -1200] CloseClient() 5
D [25/Apr/2003:10:05:50 -1200] AcceptClient() 5 from localhost:631.
D [25/Apr/2003:10:05:50 -1200] ReadClient() 5 POST / HTTP/1.1
D [25/Apr/2003:10:05:50 -1200] ProcessIPPRequest: 5 status_code=0
D [25/Apr/2003:10:05:50 -1200] CloseClient() 5
D [25/Apr/2003:10:05:50 -1200] AcceptClient() 5 from localhost:631.
D [25/Apr/2003:10:05:50 -1200] ReadClient() 5 POST / HTTP/1.1
D [25/Apr/2003:10:05:50 -1200] ProcessIPPRequest: 5 status_code=0
D [25/Apr/2003:10:05:50 -1200] ReadClient() 3 POST / HTTP/1.1
D [25/Apr/2003:10:05:50 -1200] ProcessIPPRequest: 3 status_code=0
D [25/Apr/2003:10:05:50 -1200] CloseClient() 3
D [25/Apr/2003:10:05:50 -1200] CloseClient() 5

@michaelrsweet
Copy link
Collaborator Author

CUPS.org User: pipitas

Please discuss this in the "cups.general" newsgroup.
Please tell the non-RH users amongs us what "default installation of RH 9" gives?

rpm -qa | grep cups
rpm -qa | grep gs
gs -h

Have you ESP Ghostscript installed? This seems more like
a problem of your cupsomatic installation (not "Made by
cups.org") -- this could also be discussed in the
Linuxprinting.org general newsgroup...

Regarding your Windows/Samba problem: have you seen

http://www.cups.org/faq.php?20

Regarding your "overwriting" of "/etc/cups/ppd/hplj4mp.ppd":
Are you familiar with the standard way to install a printer n CUPS ("lpadmin" command)? Have you seen

http://localhost:631/sam.html and
http://localhost:631/documentation.html

?

@michaelrsweet
Copy link
Collaborator Author

CUPS.org User: mike

What Kurt said...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant