Fedora Linux Support Community & Resources Center
Old 13th November 2006, 02:46 PM
Archw Offline
Registered User
Join Date: Mar 2006
Posts: 108
SAMBA errors when printing to XP printer from FC6

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@INSP2200 ~]# smbclient -U PSHAY2/user -L PSHAY2
Domain=[WORKGROUP] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]

Sharename Type Comment
--------- ---- -------
print$ Disk Printer Drivers
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

Workgroup Master
--------- -------

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

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
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


[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...


foomatic-rip version $Revision: $ 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:

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
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,QualityolorMode=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,QualityolorMode=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?

Reply With Quote
Old 21st January 2007, 08:17 PM
alpha645 Offline
Registered User
Join Date: Jul 2006
Posts: 740
E [13/Nov/2006:07:35:19 -0500] [Job 23] Can't load /etc/samba/smb.conf - run testparm to debug it
I have the exact same problem. I suspect it's a bad SMB URI. Do you also get no errors when running testparm?
Reply With Quote

errors, fc6, printer, printing, samba

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Printing from a samba printer error Test page failed to print hobz Using Fedora 9 23rd July 2009 02:29 PM
Printing Problem: No Errors, but No Output Reisswolf Using Fedora 8 14th September 2006 12:10 PM
samba printer - printing only blank pages mndar Using Fedora 0 28th October 2005 07:11 AM
usb printer not printing steve941 Using Fedora 0 23rd July 2005 12:57 AM

Current GMT-time: 00:41 (Wednesday, 23-08-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat