AppSetPrinterΒΆ

The function AppSetPrinter selects a printer.

bool = AppSetPrinter(ssPrinterName)

Return Value

If the function succeeds, the return value is TRUE (1); otherwise it is FALSE (0).

Parameters

ssPrinterName

ssPrinterName is the complete printer name.

Example

The following call selects the HPLaser printer on the P300 server

AppSetPrinter("\\\\P300\\HPLaser");

The following call selects the installed printer "HP LaserJet 4050 PS"

AppSetPrinter("HP LaserJet 4050 PS");

id-1283362