CUPS errors when printing to XP printer from Fedora FC6

Arch Willingham arch at tuparks.com
Mon Nov 13 05:55:15 PST 2006


I created a link from a Fedora laptop to an XP pro machine. I can use SAMBA to read the drives with no problem.

[root at INSP2200 ~]# smbclient -U PSHAY2/user -L PSHAY2
Password:
Domain=[WORKGROUP] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]

Sharename Type Comment
--------- ---- -------
IPC$ IPC Remote IPC
print$ Disk Printer Drivers
D Disk CD-ROM
temp Disk
ADMIN$ Disk Remote Admin
C$ Disk Default share
printer Printer HP Officejet 5600 series
Domain=[WORKGROUP] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]

Server Comment
--------- -------
INSP2200 Samba Server
PSHAY2

Workgroup Master
--------- -------
WORKGROUP PSHAY2


I tried creating a printer. I opened the create printer GUI (in gnome) as follows:

description="printer2"
location="PSHAY2"
device uri="smb://…………………/PSHAY2/printer" (printer is the name of the actual print share)
Make and model="HP OfficeJet 5600 Foomatic/hpijs (recommended)"

If I click CHANGE on Device url , it pops up with an authentication box. I put in my XP user name in the form of PSHAY2/user and my password and click verify...it says all is OK. If I then go to the test print page, it (teh OS) acts like it prints. If I go to the XP machine, I see where it is logging in with no problems but nothing happens.

If I go into the print config via the web interface, http://localhost.localdomain:631/ I can see my printer but it has an error:

printer2 "/usr/lib/cups/backend/smb failed"
Description: printer2
Location:
Make and Model: HP OfficeJet 5600 Foomatic/hpijs (recommended)
Printer State: stopped, accepting jobs, published.
Device URI: smb://…/PSHAY2/printer


Both error logs are shown below (/var/log/cups/error_log and /tmp/foomatic-rip-log
)


/var/log/cups/error_log

[13/Nov/2006:07:33:05 -0500] Scheduler shutting down normally.
I [13/Nov/2006:07:33:05 -0500] Saving remote.cache...
I [13/Nov/2006:07:33:05 -0500] Saving job cache file "/var/cache/cups/job.cache"...
I [13/Nov/2006:07:33:09 -0500] Listening to ::1:631 (IPv6)
I [13/Nov/2006:07:33:09 -0500] Listening to /var/run/cups/cups.sock (Domain)
I [13/Nov/2006:07:33:09 -0500] Loaded configuration file "/etc/cups/cupsd.conf"
I [13/Nov/2006:07:33:09 -0500] Using default TempDir of /var/spool/cups/tmp...
I [13/Nov/2006:07:33:09 -0500] Cleaning out old temporary files in "/var/spool/cups/tmp"...
I [13/Nov/2006:07:33:09 -0500] Configured for up to 100 clients.
I [13/Nov/2006:07:33:09 -0500] Allowing up to 100 client connections per host.
I [13/Nov/2006:07:33:09 -0500] Using policy "default" as the default!
I [13/Nov/2006:07:33:09 -0500] Full reload is required.
I [13/Nov/2006:07:33:09 -0500] Loaded MIME database from '/etc/cups': 34 types, 38 filters...
I [13/Nov/2006:07:33:09 -0500] Loading job cache file "/var/cache/cups/job.cache"...
I [13/Nov/2006:07:33:09 -0500] Full reload complete.
E [13/Nov/2006:07:33:09 -0500] Unable to find IP address for server name "INSP2200"!
I [13/Nov/2006:07:33:09 -0500] Listening to ::1:631 on fd 3...
I [13/Nov/2006:07:33:09 -0500] Listening to /var/run/cups/cups.sock on fd 4...
I [13/Nov/2006:07:35:01 -0500] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=3674)
I [13/Nov/2006:07:35:06 -0500] Started "/usr/lib/cups/cgi-bin/admin.cgi" (pid=3679)
E [13/Nov/2006:07:35:06 -0500] Resume-Printer: Unauthorized
I [13/Nov/2006:07:35:06 -0500] Saving printers.conf...
I [13/Nov/2006:07:35:06 -0500] Printer "printer2" started by "root".
I [13/Nov/2006:07:35:12 -0500] Started "/usr/lib/cups/cgi-bin/admin.cgi" (pid=3684)
I [13/Nov/2006:07:35:12 -0500] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=3685)
I [13/Nov/2006:07:35:15 -0500] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=3688)
I [13/Nov/2006:07:35:18 -0500] Adding start banner page "none" to job 23.
I [13/Nov/2006:07:35:18 -0500] Adding end banner page "none" to job 23.
I [13/Nov/2006:07:35:18 -0500] Job 23 queued on "printer2" by "guest".
I [13/Nov/2006:07:35:18 -0500] Started filter /usr/lib/cups/filter/pstops (PID 3691) for job 23.
I [13/Nov/2006:07:35:18 -0500] Started filter /usr/lib/cups/filter/foomatic-rip (PID 3692) for job 23.
I [13/Nov/2006:07:35:18 -0500] Started backend /usr/lib/cups/backend/smb (PID 3693) for job 23.
E [13/Nov/2006:07:35:19 -0500] [Job 23] Can't load /etc/samba/smb.conf - run testparm to debug it
E [13/Nov/2006:07:35:19 -0500] PID 3693 (/usr/lib/cups/backend/smb) stopped with status 1!
I [13/Nov/2006:07:35:19 -0500] Hint: Try setting the LogLevel to "debug" to find out more.
I [13/Nov/2006:07:35:20 -0500] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=3706)
E [13/Nov/2006:07:35:23 -0500] PID 3692 (/usr/lib/cups/filter/foomatic-rip) stopped with status 9!
I [13/Nov/2006:07:35:23 -0500] Hint: Try setting the LogLevel to "debug" to find out more.
I [13/Nov/2006:07:35:23 -0500] [Job 23] Backend returned status 1 (failed)
I [13/Nov/2006:07:35:23 -0500] Saving printers.conf...


/tmp/foomatic-rip-log

foomatic-rip version $Revision: 3.43.2.15 $ running...
called with arguments: '23', 'guest', 'Test Page', '1', 'job-uuid=urn:uuid:48abe36e-0719-37e7-571d-caaa72aedeb1'
Parsing PPD file ...
*cupsFilter: "application/vnd.cups-postscript 0 foomatic-rip"
Added option ColorSpace
Added option Resolution
Added option PageSize
Added option PageRegion
Added option Model
Added option PrintoutMode
Added option ImageableArea
Added option PaperDimension
Added option Quality
Added option Font

Parameter Summary
-----------------

Spooler: cups
Printer: printer2
PPD file: /etc/cups/ppd/printer2.ppd
Printer model: HP OfficeJet 5600 Foomatic/hpijs (recommended)
Options: job-uuid=urn:uuid:48abe36e-0719-37e7-571d-caaa72aedeb1
Job title: Test Page
File(s) to be printed:
<STDIN>

GhostScript extra search path ('GS_LIB'): /usr/share/cups/fonts
Pondering option 'job-uuid=urn:uuid:48abe36e-0719-37e7-571d-caaa72aedeb1'
Unknown option job-uuid=urn:uuid:48abe36e-0719-37e7-571d-caaa72aedeb1.

================================================

File: <STDIN>

================================================

Reading PostScript input ...
--> This document is DSC-conforming!

-----------
Found: %%BeginProlog
Found: %%EndProlog

-----------
Found: %%BeginSetup
Found: %%BeginFeature: *PrintoutMode Normal
Option: PrintoutMode=Normal --> Setting option
Found: %% FoomaticRIPOptionSetting: PrintoutMode=Normal
Option: PrintoutMode=Normal --> Setting option
Found: %%BeginFeature: *Quality FromPrintoutMode
Option: Quality=FromPrintoutMode --> Setting option
Found: %% FoomaticRIPOptionSetting: Quality=@PrintoutMode
Option: Quality=FromPrintoutMode --> Setting option
Found: %%BeginFeature: *PageSize Letter
Option: PageSize=Letter --> Setting option
Found: %% FoomaticRIPOptionSetting: PageSize=Letter
Option: PageSize=Letter --> Setting option
Found: %%EndSetup
Inserting PostScript code for CUPS' page accounting

-----------
New page: 1 1
Inserting option code into "PageSetup" section.

Found: %%BeginPageSetup
Found: %%EndPageSetup
End of page header
Stopping search for page header options
Found:
wheelSize -0.4 mul 0 rlineto % Left side...
--> Output goes directly to the renderer now.


Starting renderer
JCL: <job data>

renderer PID kid4=3697
renderer command: gs -q -dBATCH -dPARANOIDSAFER -dQUIET -dNOPAUSE -sDEVICE=ijs -sIjsServer=hpijs -sDeviceManufacturer="HEWLETT-PACKARD" -sDeviceModel="deskjet 3600" -dDEVICEWIDTHPOINTS=612 -dDEVICEHEIGHTPOINTS=792 -r300 -sIjsParams=Quality:Quality=0,Quality:ColorMode=2,Q uality:MediaType=0,Quality:PenSet=1 -dIjsUseOutputFD -sOutputFile=- -

Closing renderer
foomatic-gswrapper: gs '-dBATCH' '-dPARANOIDSAFER' '-dQUIET' '-dNOPAUSE' '-sDEVICE=ijs' '-sIjsServer=hpijs' '-sDeviceManufacturer=HEWLETT-PACKARD' '-sDeviceModel=deskjet 3600' '-dDEVICEWIDTHPOINTS=612' '-dDEVICEHEIGHTPOINTS=792' '-r300' '-sIjsParams=Quality:Quality=0,Quality:ColorMode=2,Q uality:MediaType=0,Quality:PenSet=1' '-dIjsUseOutputFD' '-sOutputFile=/dev/fd/3' '/dev/fd/0' 3>&1 1>&2
PAGE: 1 1
Process dying with "error closing *main::STDOUT", exit stat: 9
error: Broken pipe (32)
KID3 exited with status 0
KID4 exited with status 9
Renderer exit stat: 9
KID3 finished
Renderer process finished
Killing process 3696 (KID3)
Process dying with "Error closing renderer", exit stat: 9
error: Bad file descriptor (9)


Any ideas?

Arch




More information about the cups mailing list