diff options
author | Jeremy Allison <jra@samba.org> | 2000-08-01 00:41:19 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2000-08-01 00:41:19 +0000 |
commit | d95777ac34f68a3525786103b9217f6397d9f1d4 (patch) | |
tree | 08979563f948bea642c0afeeea00f79179c4e104 /source3/include/nt_printing.h | |
parent | 55ff9cb38bbabfaee591f6f5190e57b5564f3942 (diff) | |
download | samba-d95777ac34f68a3525786103b9217f6397d9f1d4.tar.gz samba-d95777ac34f68a3525786103b9217f6397d9f1d4.tar.bz2 samba-d95777ac34f68a3525786103b9217f6397d9f1d4.zip |
Added print job substitutions for %{printername}, %{sharename} and %{portname}
from the NT printer tdb.
Also added checks for time restrictions before allowing a job to print.
Jeremy.
(This used to be commit 8cfb55e81abebf0354e6d470ed68bbac1d6560ad)
Diffstat (limited to 'source3/include/nt_printing.h')
-rw-r--r-- | source3/include/nt_printing.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/include/nt_printing.h b/source3/include/nt_printing.h index 04d669f822..e73dabe4e3 100644 --- a/source3/include/nt_printing.h +++ b/source3/include/nt_printing.h @@ -285,4 +285,9 @@ typedef struct _form UNISTR2 name; } FORM; */ + +#ifndef SAMBA_PRINTER_PORT_NAME +#define SAMBA_PRINTER_PORT_NAME "Samba Printer Port" +#endif + #endif /* NT_PRINTING_H_ */ |