Problems printing through Samba

Daniel Martin danielfabiani at yahoo.es
Wed Sep 12 04:48:05 PDT 2007


Hi,

I am experiencing problems while printing through Samba in CUPS. I have a printer configured in Raw mode, and I've uncommented the lines in mime.convs and mime.types for application/octet-stream.

Printing from the command line works.

But when I print through Samba, nothing is printed, and I get a weird message in the CUPS server, the printer queue gets disabled and does not accept jobs anymore unless you restart the queue.

Versions are:
Samba 3.0.23
Cups 1.2.0

Here is the log, thanks a lot four your help.

D [10/Sep/2007:13:22:44 +0200] [Job 46] 1 files to send in job...
d [10/Sep/2007:13:22:44 +0200] [Job 46] STATE: +connecting-to-device
I [10/Sep/2007:13:22:44 +0200] [Job 46] Connecting to 10.0.0.1 on port 631...
d [10/Sep/2007:13:22:44 +0200] [Job 46] STATE: -connecting-to-device
I [10/Sep/2007:13:22:44 +0200] [Job 46] Connected to 10.0.0.1...
D [10/Sep/2007:13:22:44 +0200] [Job 46] Getting supported attributes...
D [10/Sep/2007:13:22:44 +0200] [Job 46] document-format-supported (3 values)
D [10/Sep/2007:13:22:44 +0200] [0] = "application/postscript"
D [10/Sep/2007:13:22:44 +0200] [1] = "text/plain"
D [10/Sep/2007:13:22:44 +0200] [2] = "application/octet-stream"
d [10/Sep/2007:13:22:44 +0200] [Job 46] STATE: none
D [10/Sep/2007:13:22:44 +0200] [Job 46] printer-uri = "ipp://10.0.0.1:631/ipp/"
D [10/Sep/2007:13:22:44 +0200] [Job 46] requesting-user-name = "dmartin"
D [10/Sep/2007:13:22:44 +0200] [Job 46] job-name = "smbprn.00000079 Remote Downlevel Document"
I [10/Sep/2007:13:22:44 +0200] [Job 46] Printer is busy; retrying print job...
d [10/Sep/2007:13:22:45 +0200] select_timeout: 11 seconds to process active jobs
d [10/Sep/2007:13:22:54 +0200] [Job 46] STATE: none
d [10/Sep/2007:13:22:54 +0200] cupsdCheckJobs: 1 active jobs, sleeping=0, reload=0
d [10/Sep/2007:13:22:54 +0200] cupsdCheckJobs: Job 46: state_value=5, loaded=yes
d [10/Sep/2007:13:22:54 +0200] process_children()
E [10/Sep/2007:13:22:54 +0200] PID 64964 (/usr/local/libexec/cups/backend/ipp) stopped with status 1!
D [10/Sep/2007:13:22:54 +0200] [Job 46] File 0 is complete.
d [10/Sep/2007:13:22:54 +0200] cupsdFinishJob: job->status is -256
d [10/Sep/2007:13:22:54 +0200] cupsdFinishJob: Removing fd 15 from InputSet...
d [10/Sep/2007:13:22:54 +0200] cupsdFinishJob: Closing status pipes [ 15 -1 ]...
I [10/Sep/2007:13:22:54 +0200] [Job 46] Backend returned status 1 (failed)
d [10/Sep/2007:13:22:54 +0200] cupsdStopJob: id = 46, force = 0
D [10/Sep/2007:13:22:54 +0200] Discarding unused printer-state-changed event...




More information about the cups mailing list