Parameter syntax:
[format[printer_name]? ]?
This command is only useful to write interactive macro commands.
Displays a printer chooser dialog box that may be used to select a printer and configure the print job. This command does not work on a Mac with a Java™ 1.4 runtime.
Mime type of the document to be printed. Example: application/vnd.hp-PC.
The following short names are also supported: ps (application/postscript), pdf (application/pdf), pcl (application/vnd.hp-PCL).
Name of a printer supporting format format. If this name is not specified, the dialog box displays the last selected printer supporting this format.
Without a parameter, the dialog box displays last selected PostScript® printer (that is, default parameter is "ps").
Examples:
selectPrinter selectPrinter ps selectPrinter "text/plain; charset=UTF-8" selectPrinter application/postscript lp23