[Samba] printing errors

Joel Hammer Joel at HammersHome.com
Tue Aug 6 15:25:02 GMT 2002


I do not know a thing about cups.

I note you have a lot of defaults in your printing shares, so I don't know
exactly how to do this with your set up but:

This sounds like a driver problem.

Does the samba server filter the job or is the job transferred preformatted?

To trouble shoot this, look at the file that is transferred from the
client to samba. It should be somewhere in your samba spool directory. How
is it formatted? Can you read it with anything like gv or xxd?

I would try different drivers, including a postscript generic driver,
and see if the file is transferred with all characters intact. If you
have a driver on your samba server that can send ghostscript files to
your printer, then use the IBM Laserjet III plus driver on your windows
client to send jobs to the server, and then let the server filter those
jobs before sending them to the printer.

Joel




On Tue, Aug 06, 2002 at 10:01:00AM -0500, Tony McGrew wrote:
> I am using samba 2.2.5 with cups 1.1.15  Rh 7.3
> 
> Still when I am printing form my W2K box some of the data gets left out.  If
> I am printing a text document, a spreadsheet, or an email (maybe everything,
> that's all I usually print) some letter get left off.  It varies from doc to
> doc but not from one print to the next.  If I print an email and all the H
> are gone and I reprint that same email the H's will still be gone, but if I
> print a spreadsheet maybe the C's or the P's will be missing.  Sometimes it
> is only one letter, sometimes more.  I print directly from the linux box
> with the cups test page with no problems.  Below is some of the error log
> and my smb.conf file.  If I cannot get this figured out I will have to keep
> our netware server just for printing (bad deal).  The windows test page is
> OK also.  I haven't seen any missing letters in it.  Maybe file size is
> relevant?  This server is not in a domain, just a workgroup.
> 
> 
> D [06/Aug/2002:09:37:49 -0500] AcceptClient() 3 from pfs.multicam.com:631.
> D [06/Aug/2002:09:37:49 -0500] ReadClient() 3 POST / HTTP/1.1
> D [06/Aug/2002:09:37:49 -0500] CloseClient() 3
> D [06/Aug/2002:09:37:49 -0500] AcceptClient() 3 from pfs.multicam.com:631.
> D [06/Aug/2002:09:37:49 -0500] ReadClient() 3 POST / HTTP/1.1
> D [06/Aug/2002:09:37:49 -0500] CloseClient() 3
> D [06/Aug/2002:09:37:49 -0500] AcceptClient() 3 from pfs.multicam.com:631.
> D [06/Aug/2002:09:37:49 -0500] ReadClient() 3 POST / HTTP/1.1
> D [06/Aug/2002:09:37:49 -0500] ReadClient() 3 POST /printers/Minolta_350
> HTTP/1.1
> D [06/Aug/2002:09:37:49 -0500] print_job: auto-typing file...
> D [06/Aug/2002:09:37:49 -0500] print_job: request file type is
> application/vnd.cups-raw.
> D [06/Aug/2002:09:37:49 -0500] check_quotas: requesting-user-name = 'tony'
> D [06/Aug/2002:09:37:49 -0500] print_job: requesting-user-name = 'tony'
> I [06/Aug/2002:09:37:49 -0500] Job 43 queued on 'Minolta_350' by 'tony'.
> D [06/Aug/2002:09:37:49 -0500] Job 43 hold_until = 0
> D [06/Aug/2002:09:37:49 -0500] StartJob(43, 0x8090bf0)
> D [06/Aug/2002:09:37:49 -0500] StartJob() id = 43, file = 0/1
> D [06/Aug/2002:09:37:49 -0500] job-sheets=none,none
> D [06/Aug/2002:09:37:49 -0500] banner_page = 0
> D [06/Aug/2002:09:37:49 -0500] StartJob: argv =
> "Minolta_350","43","tony","smbprn.000027.tqfPEg","1","","/var/spool/cups/d00
> 043-001"
> D [06/Aug/2002:09:37:49 -0500] StartJob: envp =
> "PATH=/usr/lib/cups/filter:/bin:/usr/bin","SOFTWARE=CUPS/1.1","USER=root","C
> HARSET=iso-8859-1","LANG=en_US","TZ=America/Chicago","PPD=/etc/cups/ppd/Mino
> lta_350.ppd","CUPS_SERVERROOT=/etc/cups","RIP_MAX_CACHE=8m","TMPDIR=/var/spo
> ol/cups/tmp","CONTENT_TYPE=application/vnd.cups-raw","DEVICE_URI=socket://19
> 2.168.0.10:10001","PRINTER=Minolta_350","CUPS_DATADIR=/usr/share/cups","CUPS
> _FONTPATH=/usr/share/cups/fonts","","",""
> D [06/Aug/2002:09:37:49 -0500] StartJob: statusfds = 4, 6
> D [06/Aug/2002:09:37:49 -0500] StartJob: filterfds[1] = 8, -1
> D [06/Aug/2002:09:37:49 -0500] StartJob: backend =
> "/usr/lib/cups/backend/socket"
> D [06/Aug/2002:09:37:49 -0500] StartJob: filterfds[0] = -1, 9
> D [06/Aug/2002:09:37:49 -0500] start_process("/usr/lib/cups/backend/socket",
> 0xbfff1980, 0xbffece30, 8, 9, 6)
> I [06/Aug/2002:09:37:49 -0500] Started backend /usr/lib/cups/backend/socket
> (PID 17476) for job 43.
> D [06/Aug/2002:09:37:49 -0500] CloseClient() 3
> D [06/Aug/2002:09:37:50 -0500] UpdateJob: job 43, file 0 is complete.
> D [06/Aug/2002:09:37:50 -0500] CancelJob: id = 43
> D [06/Aug/2002:09:37:50 -0500] StopJob: id = 43, force = 0
> D [06/Aug/2002:09:37:50 -0500] StopJob: printer state is 3
> D [06/Aug/2002:09:37:59 -0500] AcceptClient() 3 from pfs.multicam.com:631.
> D [06/Aug/2002:09:37:59 -0500] AcceptClient() 4 from pfs.multicam.com:631.
> D [06/Aug/2002:09:37:59 -0500] ReadClient() 4 POST / HTTP/1.1
> D [06/Aug/2002:09:37:59 -0500] CloseClient() 4
> D [06/Aug/2002:09:37:59 -0500] AcceptClient() 4 from pfs.multicam.com:631.
> D [06/Aug/2002:09:37:59 -0500] ReadClient() 4 POST / HTTP/1.1
> 
> 
> relevant smb.conf
> 
> [global]
>         workgroup = Some Workgroup
>         server string = PFS Samba Server
>         encrypt passwords = Yes
>         passwd program = /usr/bin/passwd %u
>         passwd chat = *New*password* %n\n *Retype*new*password* %n\n
> *passwd:*all*authentication*tokens*updated*successfully*
>         unix password sync = Yes
>         log file = /var/log/samba/%m.log
>         max log size = 0
>         socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
>         dns proxy = No
>         printing = cups
> 
> 
> [printers]
>         comment = All Printers
>         path = /var/spool/samba
>         printer admin = tony
>         guest ok = Yes
>         printable = Yes
>         use client driver = Yes
>         browseable = No
> 
> [Minolta_350]
>         path = /var/spool/samba
>         printer admin = tony
>         read only = No
>         guest ok = Yes
>         printable = Yes
>         printer name = Minolta_350
>         use client driver = Yes
>         oplocks = No
> 
> Thank you.
> Tony McGrew
> WWW.Multicam.com
> 




More information about the samba mailing list