|
||
int printer_set_name ( char *newname );
char *newname;
|
|
|
Synopsis |
#include "silver.h"
The printer_set_name function is used to set the current Windows printer.
|
|
Parameters |
newname is a pointer to a character string that denotes the name of the printer, which must have been obtained by a call to printer_get_name.
|
|
Return Value |
printer_set_name returns 0 if the name is malformed (perhaps as a result of it not coming from printer_get_name) or the current Windows printer may not be set; and 1 otherwise.
|
|
See Also |
|
|
|
|