NWPSCfgDeletePrinterAttr(3nw)


NWPSCfgDeletePrinterAttr -- deletes printer attribute from Bindery or Directory Services

Synopsis

   #include <nwps_cfg.h> 
   or 
   #include <nwpsrv.h> 
   

NWCCODE NWAPI NWPSCfgDeletePrinterAttr (WORD connType, DWORD connID, char NWFAR pServerName, char NWFAR *printerName, WORD attrID, void NWFAR *attrValue);

Description

The parameters are as follows:

connType
(IN) Specifies either NWPS_BINDERY_SERVICE, NWPS_BINDERY_SERVICE_PRE_40, or NWPS_DIRECTORY_SERVICE.

connID
(IN) Specifies the connection or context identifier.

pServerName
(IN) Points to the name of the print server.

printerName
(IN) Points to the name of the printer.

attrID
(IN) Specifies the print services attribute identifier.

attrValue
(IN) Points to the attribute buffer.

Return values

0x0000
Successful

-1
General Error

other
Bindery or Directory Services Errors

Notices

The type of the buffer pointed to by attrValue depends on the value of attrID. If attrID is not recognized, an error is returned.

See NWPSCfgAddPrinterAttr(3nw) for a list of legal attributes and corresponding types.

Services

Print Server

References

NWPSCfgAddPrinterAttr(3nw), NWPSCfgGetFirstPrinterAttr(3nw), NWPSCfgGetNextPrinterAttr(3nw), NWPSCfgEndNextPrinterAttr(3nw), NWPSCfgModifyPrinterAttr(3nw), NWPSCfgGetFirstPrinter(3nw), NWPSCfgGetNextPrinter(3nw), NWPSCfgEndNextPrinter(3nw), NWPSCfgVerifyPrinter(3nw), NWPSCfgGetFirstPrintServer(3nw), NWPSCfgGetNextPrintServer(3nw), NWPSCfgEndNextPrintServer(3nw), NWPSCfgVerifyPrintServer(3nw), NWCCOpenConnByName(3nw), NWDSCreateContext(3nw)
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.