[Samba] Macro Substitutions Printing . . .
Gerald (Jerry) Carter
jerry at samba.org
Thu Apr 29 16:29:21 GMT 2004
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
USTIC wrote:
| man smb.conf says:
| The print command is simply a text string. It will be used verbatim after
| macro substitutions have been made:
|
| But then it says:
| With printing = cups, and if SAMBA is compiled against libcups, any
| manually set print command will be ignored.
|
| How can I use those macro substitutions to log printed pages ?
| I used the following in the printer share:
| root preexec = echo '%T:%U:%u:%G:%m:%M:%I:%J:%c:%z' >>
| /var/log/samba/impresiones.log
|
| but macros %J %c and %z are not substituted . . . .
These are only substituted in one of the printing
commands (print command, lpq command, etc...)
cheers, jerry
- ----------------------------------------------------------------------
Hewlett-Packard ------------------------- http://www.hp.com
SAMBA Team ---------------------- http://www.samba.org
GnuPG Key ---- http://www.plainjoe.org/gpg_public.asc
"...a hundred billion castaways looking for a home." ----------- Sting
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFAkS1hIR7qMdg1EfYRAnrEAJ4v2rDyawItblhcVzWyUaHARSlM6gCg8yJu
9cD/Aryvf1BPfgu2VaBclRk=
=RfMd
-----END PGP SIGNATURE-----
More information about the samba
mailing list