PrintSetPrinter

Description

Sets the printer to use for the next print function call. This function does not affect open jobs.

Syntax

PrintSetPrinter ( printername )

Returns

Integer. Returns 1 if the function succeeds and -1 if an error occurs.