SetPrinterName

All Editions image\bltlrgss.gif Related Transactions image\bltlrgss.gif Example

The SetPrinterName transaction defines the current printer.

Type XTYP_EXECUTE

Syntax [SetPrinterName("printerName", "driverName", "deviceName")]

Parameter

Data type

Meaning

printerName

string

name of the printer. See Remarks.

driverName

string

name of the printer driver. See Remarks.

deviceName

string

device the printer is attached to. See Remarks.

Remarks

The three parameters must match one of the entries returned by GetPrinterNames.

Release information

Added in Release 3.82.

See also