-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Brecht Samyn wrote:
| A sample printer definition from smb.conf. We use lprng to spool the
| jobs to our lprng printserver.
|
| [poco]
|        comment = Kleurprinter
|        path=/var/spool/lp/samba
|        printable = yes
|        browseable = yes
|        writeable = no
|        create mode = 0700
|        printing = lprng
|        print command = /usr/bin/lpr -r [EMAIL PROTECTED] -J '%J' %s
|        lpq command = /usr/bin/lpq [EMAIL PROTECTED]

Brecht,

Just out of curiousity, try setting the lpq command to
"/usr/bin/lpq -s [EMAIL PROTECTED]".  LPRng has a way of reporting
completed jobs.  I'm still looking to this though.

$ lpq -Pq1
Printer: [EMAIL PROTECTED]
~ Queue: no printable jobs in queue
~ Server: no server active
~ Status: job '[EMAIL PROTECTED]' saved at 12:13:51.055
~ Rank   Owner/ID               Pr/Class Job Files                 Size Time
done   [EMAIL PROTECTED]             A   250 smbprn.00000005.5Pa 112115
12:13:50

$ lpq -s -Pq1
[EMAIL PROTECTED] 0 jobs










cheers, jerry
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDNDj4IR7qMdg1EfYRAvTyAKDvnYGSUZiAR9U7RIIxYFArrl3ErACgkjGc
5863vnp1YXde6M53kacpSkM=
=npvy
-----END PGP SIGNATURE-----
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Reply via email to