dExportPrnSettingsForAllUsers

Copies the changes in the devmode of the printer from the current user to all users who never used the printer before.

 

LONG WINAPI dExportPrnSettingsForAllUsers(LPSTR szPrinterName)

 

Input value: szPrinterName

The name of the printer. The printer name must exist and must be a Black Ice printer.

 

Return value

Returns 0 if the printer devmode was successfully changed, otherwise the function returns a standard Windows error code that was returned by the GetLastError() Windows API function.