diff options
Diffstat (limited to 'source3/include/nt_printing.h')
-rw-r--r-- | source3/include/nt_printing.h | 13 |
1 files changed, 13 insertions, 0 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_ */ |