Cups, Samba and Print Queues
Joel Hammer
Joel at HammersHome.com
Mon Oct 8 15:14:02 GMT 2001
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: http://lists.samba.org/mailman/listinfo/samba
More information about the samba
mailing list