Gerald (Jerry) Carter
2004-Oct-18 21:29 UTC
[Samba] polling for options on printing commands
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 For people with print servers: I'm working on fixing a bug for 3.0.8 and need to know how many people use smb.conf variables other than the standard printing vars like %p, %j, etc... in the various printing commands. Please send me examples if you use things like %U, or %m. Thanks. cheers, jerry - --------------------------------------------------------------------- Alleviating the pain of Windows(tm) ------- samba.org GnuPG Key ----- plainjoe.org/gpg_public.asc "If we're adding to the noise, turn off this song"--Switchfoot (2003) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) Comment: Using GnuPG with Mozilla - enigmail.mozdev.org iD8DBQFBdDDBIR7qMdg1EfYRAvk4AJ0QvMunvCcENe85oVjku04nG0TFbACcDnlB GscKyNThRnBxdPyymPeGdOA=o+IQ -----END PGP SIGNATURE-----
On Tue, 2004-10-19 at 07:08, Gerald (Jerry) Carter wrote:> -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > For people with print servers: > > I'm working on fixing a bug for 3.0.8 and need to know how many > people use smb.conf variables other than the standard printing > vars like %p, %j, etc... in the various printing commands. > Please send me examples if you use things like %U, or %m. > Thanks.Well, you know what buggery I get up to: include = smb.conf.%m and in that file (for a machine in room 900): printer name = rm900_laser (And yes, long term I think I'll try to get CUPS to handle this one for me :-) Andrew Bartlett -- Andrew Bartlett abartlet@samba.org Authentication Developer, Samba Team samba.org Student Network Administrator, Hawker College abartlet@hawkerc.net -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : lists.samba.org/archive/samba/attachments/20041019/d4328323/attachment.bin
Gerald (Jerry) Carter schrieb: I have a fax printer setup which uses: print command = ( /usr/bin/printfax2.pl %I %s %U %m; rm %s ) &> For people with print servers: > > I'm working on fixing a bug for 3.0.8 and need to know how many > people use smb.conf variables other than the standard printing > vars like %p, %j, etc... in the various printing commands. > Please send me examples if you use things like %U, or %m. > Thanks.
Hi Jerry,> For people with print servers: > > I'm working on fixing a bug for 3.0.8 and need to know how many > people use smb.conf variables other than the standard printing > vars like %p, %j, etc... in the various printing commands. > Please send me examples if you use things like %U, or %m. > Thanks.with LPRng: print command = /usr/bin/lpr -U%U@%m -P%p -r %s or print command = chmod 666 %s; name="`echo '%J' | sed "s/^.*- //"`"; if [ "$name" = "" ]; then name="%s"; fi; /usr/bin/lpr -U%U@%m -P%p -J"$name" %s; rm %s and so on: lpq command = /usr/bin/lpq -U%U@%m -P%p lprm command = /usr/bin/lprm -U%U@%m -P%p %j lppause command = /usr/sbin/lpc -U%U@%m hold %p %j lpresume command = /usr/sbin/lpc -U%U@%m release %p %j queuepause command = /usr/sbin/lpc -U%U@%m stop %p queueresume command = /usr/sbin/lpc -U%U@%m start %p der tom __________________________________________________________ Mit WEB.DE FreePhone mit hoechster Qualitaet ab 0 Ct./Min. weltweit telefonieren! freephone.web.de/?mc=021201