From 921eb3588db33591970463df2ec6a1f6f7f6b1d6 Mon Sep 17 00:00:00 2001 From: Jim McDonough Date: Fri, 1 Feb 2002 17:42:41 +0000 Subject: Add ads printer information (This used to be commit a844d9af21d8047629129c5e842db7acbc059932) --- source3/include/ads.h | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) (limited to 'source3/include/ads.h') diff --git a/source3/include/ads.h b/source3/include/ads.h index 884f2aa6ef..57a41d13b5 100644 --- a/source3/include/ads.h +++ b/source3/include/ads.h @@ -18,6 +18,61 @@ typedef struct { char *server_realm; } ADS_STRUCT; +typedef struct { + char *printerName; + char *serverName; + char *shortServerName; + char *versionNumber; + char *uNCName; + char **description; + char *assetNumber; + char *bytesPerMinute; + char *defaultPriority; + char *driverName; + char *driverVersion; + char *location; + char *operatingSystem; + char *operatingSystemHotfix; + char *operatingSystemServicePack; + char *operatingSystemVersion; + char *physicalLocationObject; + char **portName; + char *printAttributes; + char **printBinNames; + char *printCollate; + char *printColor; + char *printDuplexSupported; + char *printEndTime; + char *printFOrmName; + char *printKeepPrintedJobs; + char **printLanguage; + char *printMACAddress; + char *printMaxCopies; + char *printMaxResolutionSupported; + char *printMaxXExtent; + char *printMaxYExtent; + char **printMediaReady; + char **printMediaSupported; + char *printMemory; + char *printMinXExtent; + char *printMinYExtent; + char *printNetworkAddress; + char *printNotify; + char *printNumberUp; + char **printOrientationsSupported; + char *printOwner; + char *printPagesPerMinute; + char *printRate; + char *printRateUnit; + char *printSeparatorFile; + char **printShareName; + char *printSpooling; + char *printStaplingSupported; + char *printStartTime; + char *printStatus; + char *priority; +} ADS_PRINTER_ENTRY; + /* there are 4 possible types of errors the ads subsystem can produce */ enum ads_error_type {ADS_ERROR_KRB5, ADS_ERROR_GSS, ADS_ERROR_LDAP, ADS_ERROR_SYSTEM}; -- cgit