.. highlightlang:: us .. index:: AppSetPrinter .. _appsetprinter: AppSetPrinter ============= .. us.tag AppSetPrinter ENGLISH App The function :ref:`AppSetPrinter` selects a printer. .. function:: bool = AppSetPrinter(ssPrinterName) .. us.return **Return Value** If the function succeeds, the return value is TRUE (1); otherwise it is FALSE (0). .. us.params **Parameters** .. uparam:: ssPrinterName *ssPrinterName* is the complete printer name. .. us.example **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"); .. seealso:: :ref:`overview-application-object`, :ref:`AppGetActivePrinterName`, :ref:`AppGetAllPrinterNames`, :ref:`AppIsPostScriptPrinter`, :ref:`DocPrint`, :ref:`PagePrint` :sub:`id-1283362`