Cups, Samba and Print Queues

Joel Hammer Joel at
Tue Oct 9 05:50:03 GMT 2001

Have you tried entering all those commands for control on the print queue in
your smb.conf which relete to cups? Worth a try.
On Tue, Oct 09, 2001 at 01:26:23PM +0100, Michels, Gustavo [EES/BR] wrote:
> Hi,
> Actually, I see the print job in the queue, but it goes away after the job
> enters the cups spool area. I mean, if I send a 50 page document, the job
> appears in the windows queue but goes away really fast, although the printer
> is still working on that job. This way, other users cannot see the printer
> is busy, or even delete the pending job, or see how many jobs are left to be
> printed. I have also quit trying to see the number of pages being printed
> displayed in the queue.
> I tried to search for some docs on this, but everything I find says the only
> setting I need is 'printing = cups'. While I used LPRng, I had to enter all
> those print commands you mentioned below so the queue showed correctly
> (well, not THAT correctly).
> No replies in the cups mailing list. I guess I will have to live with
> that... :(
> cheers
> Gustavo
> -----Original Message-----
> From: Joel Hammer [mailto:Joel at]
> Sent: segunda-feira, 8 de outubro de 2001 19:15
> To: Michels, Gustavo [EES/BR]; samba at
> Subject: Re: Cups, Samba and Print Queues
> I have seen this question before, but haven't seen a response.
> On my windows 95/98 box, I do get the expected print queue behavior on the
> windows box, that is to say, a print job sent to the samba server shows up
> in the queue on the windows box. The job may be deleted if desired from the
> windows box.
> It may be your printer share set up. I am not sure if everyone puts in all
> the
> commands necessary for this in their printer share definition. Certainly, by
> default, they are not all there. I also don't know about the level of
> support in all versions of samba for CUPS. There is support for cups in my
> samba 2.2.1a.
> To test the printer queues, have you tried turning the printer off? It may
> be that the jobs are dumped on the printer so quickly they just disappear
> from all queues, whether on the server or on the windows box.
> I use lprng. The share below is my "raw" filter for a lexmark z53 which
> takes output from
> a windows box and just dumps it onto the printer. This may be simplistic,
> since there is a printer filter listed in this queue, but, I forget now just
> what it is supposed to do. It works, so I am not going to think about it.
> Now, a wrinkle, which I am not going to bother with, is how this would work
> if the job were first sent to a bounce queue on one linux server before
> being sent to the final destination server.
> Joel
> [lp]
>         comment = Raw Printer for Z53
>         path = /tmp
>         create mask = 0700
>         guest ok = Yes
>         hosts allow = 192.168.
>         printable = Yes
>         printing = lprng
> #       print command = echo "Tried to print %s" > /tmp/junk.%s
>         print command = /usr/bin/lpr -Plp %s; rm %s
>         lpq command = /usr/bin/lpq -Plp
>         lprm command = /usr/bin/lprm -Plp %j
>         lppause command = /usr/bin/lpc hold lp %j
>         lpresume command = /usr/bin/lpc release lp %j
>         printer name = lp
>         printer driver = Lexmark Z53 Series ColorFine
>         printer driver location = \\HAMMER2\AllFiles\usr\local\samba\printer
>         share modes = No             
> On Mon, Oct 08, 2001 at 03:49:58PM +0100, Michels, Gustavo [EES/BR] wrote:
> > Hello all,
> > 
> > Just wondering if there's a way to show the documents in queue for the
> > windows 2000 clients. Although the pending jobs appear on the CUPS queue,
> > the Windows 2000 queue does not show any pending jobs. This way, clients
> > don't know the status of the printer.
> > 
> > Is this a normal behavior?
> > 
> > Versions: SAMBA_2_2 cvs, CUPS 1.1.10, Red Hat 7.1, Windows 2000 SP1
> clients.
> > 
> > cheers
> > Gustavo
> > 
> > -- 
> > To unsubscribe from this list go to the following URL and read the
> > instructions:

More information about the samba mailing list