logo       

Re: Re: Re: More meaningful comments from lpq: msg#00375

printing.cups.general

Subject: Re: Re: Re: More meaningful comments from lpq

Kurt Pfeifle wrote:
> Helge Blischke wrote:
> > Anonymous wrote:
> > >
> > > Helge Blischke wrote:
> > > > Didier Casse wrote:
> > > > >
> > > > > Hi,
> > > > > When I tried to "lpq" my CUPS system to see which jobs are
> > > > > being
> > > > > processed, I get something like:
> > > > >
> > > > > --------------------------------------------------------
> > > > > EPSON is ready and printing
> > > > >
> > > > > Rank Owner Job File(s) Total Size
> > > > >
> > > > > active nobody 1341 smbprn.005733.du8Ltw 1651712 bytes
> > > > > active nobody 1340 smbprn.005643.fr4Pyg 2345465 bytes
> > > > > -----------------------------------------------------------
> > > > > etc...
> > > > >
> > > > > Is it possible to modify the system so that I can get the exact
> > > > > name
> > > > > of what is being printed?
> > > > >
> > > > > E.g something like
> > > > >
> > > > > -------------------------------------------------------
> > > > > Rank Owner Job File(s) Total Size
> > > > >
> > > > > active nobody 1341 published_paper.pdf 1651712 bytes
> > > > > active nobody 1341 some_works.doc 5436546 bytes
> > > > > active nobody 1341 painting.ps 6574377 bytes
> > > > > -------------------------------------------------------
> > > > >
> > > > > which is more meaningful than smbprn*. Thanks for an help provided.
> > > > >
> > > >
> > > > In the general case, no, I suspect. Your log indicates that you
> > > > are
> > > > printing
> > > > jobs from Winxx boxes via samba. Thus, you cannot rely on meaningful
> > > > filenames.
> > >
> > > Using
> > >
> > > printing = cups
> > > printcap = cups
> > >
> > > in smb.conf and it works for me in Samba-3.0....

My smb.conf lacked the "printcap = cups". After I introduced it, I got what I
wanted: Now "lpq" shows the full name of the files being printed. Thanks Kurt.

PS: Even though my cupsaddsmb -v still doesn't work! But I'll fix it later when
I have the time. For the moment, everything comes out of the printer correctly.

Best regards,
Didier.

---
PhD student

Singapore Synchrotron Light Source (SSLS)
5 Research Link,
Singapore 117603

Email: slsbdfc-6Bl98Hp8bEiLvajZxc+D7Q@xxxxxxxxxxxxxxxx or
didierbe@xxxxxxxxxxxxxx


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise