summaryrefslogtreecommitdiff
path: root/source3/include/nt_printing.h
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-03-17 12:48:46 +0100
committerGünther Deschner <gd@samba.org>2009-03-17 18:39:10 +0100
commit28d16866ee639f828ea644753f29a678605883a5 (patch)
tree9063a484e9bc22d894b23d98f8aeedca346ab7b3 /source3/include/nt_printing.h
parent2d318490ea524ced22e8c256d4343755edc58a82 (diff)
downloadsamba-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/include/nt_printing.h')
-rw-r--r--source3/include/nt_printing.h13
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_ */