+/*
+ Unix SMB/Netbios implementation.
+ Version 1.9.
+ SMB parameters and setup
+ Copyright (C) Andrew Tridgell 1992-2000,
+ Copyright (C) Jean Francois Micouleau 1998-2000.
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+*/
+
+#ifndef NT_PRINTING_H_
+#define NT_PRINTING_H_
+
#define ORIENTATION 0x00000001L
#define PAPERSIZE 0x00000002L
#define PAPERLENGTH 0x00000004L
fstring helpfile;
fstring monitorname;
fstring defaultdatatype;
- char **dependentfiles;
-
+ fstring *dependentfiles;
} NT_PRINTER_DRIVER_INFO_LEVEL_3;
+/* SPOOL_PRINTER_DRIVER_INFO_LEVEL_6 structure */
+typedef struct {
+ uint32 version;
+ fstring name;
+ fstring environment;
+ fstring driverpath;
+ fstring datafile;
+ fstring configfile;
+ fstring helpfile;
+ fstring monitorname;
+ fstring defaultdatatype;
+ fstring mfgname;
+ fstring oemurl;
+ fstring hardwareid;
+ fstring provider;
+ fstring *dependentfiles;
+ fstring *previousnames;
+} NT_PRINTER_DRIVER_INFO_LEVEL_6;
+
+
typedef struct nt_printer_driver_info_level
{
NT_PRINTER_DRIVER_INFO_LEVEL_3 *info_3;
+ NT_PRINTER_DRIVER_INFO_LEVEL_6 *info_6;
} NT_PRINTER_DRIVER_INFO_LEVEL;
typedef struct nt_printer_param
typedef struct ntdevicemode
{
fstring devicename;
+ fstring formname;
+
uint16 specversion;
uint16 driverversion;
uint16 size;
uint16 driverextra;
- uint32 fields;
uint16 orientation;
uint16 papersize;
uint16 paperlength;
uint16 yresolution;
uint16 ttoption;
uint16 collate;
- fstring formname;
uint16 logpixels;
+
+ uint32 fields;
uint32 bitsperpel;
uint32 pelswidth;
uint32 pelsheight;
fstring datatype;
fstring parameters;
NT_PRINTER_PARAM *specific;
- /* SEC_DESC_BUF *secdesc; */
+ SEC_DESC_BUF *secdesc_buf;
/* not used but ... and how ??? */
+ uint32 changeid;
+ uint32 c_setprinter;
+ uint32 setuptime;
} NT_PRINTER_INFO_LEVEL_2;
typedef struct nt_printer_info_level
typedef struct
{
- char name[100];
+ fstring name;
uint32 flag;
uint32 width;
uint32 length;
UNISTR2 name;
} FORM;
*/
+#endif /* NT_PRINTING_H_ */