diff options
author | Günther Deschner <gd@samba.org> | 2009-03-17 12:48:46 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2009-03-17 18:39:10 +0100 |
commit | 28d16866ee639f828ea644753f29a678605883a5 (patch) | |
tree | 9063a484e9bc22d894b23d98f8aeedca346ab7b3 /source3 | |
parent | 2d318490ea524ced22e8c256d4343755edc58a82 (diff) | |
download | samba-28d16866ee639f828ea644753f29a678605883a5.tar.gz samba-28d16866ee639f828ea644753f29a678605883a5.tar.bz2 samba-28d16866ee639f828ea644753f29a678605883a5.zip |
s3-spoolss: move PRINTER_ATTRIBUTE_SAMBA to printing backend, where they belong.
Guenther
Diffstat (limited to 'source3')
-rw-r--r-- | source3/include/nt_printing.h | 13 | ||||
-rw-r--r-- | source3/include/rpc_spoolss.h | 13 |
2 files changed, 13 insertions, 13 deletions
diff --git a/source3/include/nt_printing.h b/source3/include/nt_printing.h index 43fd363b55..7346679b71 100644 --- a/source3/include/nt_printing.h +++ b/source3/include/nt_printing.h @@ -459,4 +459,17 @@ typedef struct _Printer{ } Printer_entry; +/* + * The printer attributes. + * I #defined all of them (grabbed form MSDN) + * I'm only using: + * ( SHARED | NETWORK | RAW_ONLY ) + * RAW_ONLY _MUST_ be present otherwise NT will send an EMF file + */ + +#define PRINTER_ATTRIBUTE_SAMBA (PRINTER_ATTRIBUTE_RAW_ONLY|\ + PRINTER_ATTRIBUTE_SHARED|\ + PRINTER_ATTRIBUTE_LOCAL) +#define PRINTER_ATTRIBUTE_NOT_SAMBA (PRINTER_ATTRIBUTE_NETWORK) + #endif /* NT_PRINTING_H_ */ diff --git a/source3/include/rpc_spoolss.h b/source3/include/rpc_spoolss.h index a91abefd8c..0d98afba25 100644 --- a/source3/include/rpc_spoolss.h +++ b/source3/include/rpc_spoolss.h @@ -178,19 +178,6 @@ #define JOB_NOTIFY_TOTAL_BYTES 0x16 #define JOB_NOTIFY_BYTES_PRINTED 0x17 -/* - * The printer attributes. - * I #defined all of them (grabbed form MSDN) - * I'm only using: - * ( SHARED | NETWORK | RAW_ONLY ) - * RAW_ONLY _MUST_ be present otherwise NT will send an EMF file - */ - -#define PRINTER_ATTRIBUTE_SAMBA (PRINTER_ATTRIBUTE_RAW_ONLY|\ - PRINTER_ATTRIBUTE_SHARED|\ - PRINTER_ATTRIBUTE_LOCAL) -#define PRINTER_ATTRIBUTE_NOT_SAMBA (PRINTER_ATTRIBUTE_NETWORK) - #define NO_PRIORITY 0 #define MAX_PRIORITY 99 #define MIN_PRIORITY 1 |