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.
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
Command selectPrinter
returns a string using this syntax: printer_name
'->
' format
. Example: "My Color Printer->application/postscript
".