PrinterSet

Note: This page includes content based on the F1 documentation for Centura development. It may be partially converted to support APF development, but should be regarded to be of uncertain actuality. It is provided as is. Eventually, it should be replaced by documentation available from within Visual Studio.

SalBoolean PrinterSet( SalString sPrinterId, SalString sDomain)

Use this method to change between printers. If the domain is CLIENT, windows printers are used, if the domain is SERVER, then IFS PrintServer is used. should be used.

Parameters

Name Description
SalString  sPrinterId Printer Id
Follows syntax of Foundation1
SalString  sDomain Printer Domain
SERVER or CLIENT

Returns

This method will return True.

Comments

Only physical printers are recognized. Default domain is always CLIENT. NULL printer implies use system default. Use InfoService.PrinterEnumerate to get client printer and Print_Server_SYS.Enumerate_Printer_Id to retrieve server printers.