Get current printer String
|This command does not require any parameters|
|Function result||String||Name of the current printer|
Note: This command does not work under Mac OS 9. Under Windows, it requires at least Windows 2000.
The Get current printer command returns the name of the current printer defined in the 4D application. By default, on start-up of 4D, the current printer is the printer defined in the system.
If the current printer is managed using a print server (spooler), the complete access path (under Windows) or the name of the spooler (under Mac OS) is returned.
To obtain the list of available printers as well as additional information, use the PRINTERS LIST command. To modify the current printer, use the SET CURRENT PRINTER command.
PRINTERS LIST, SET CURRENT PRINTER.
System Variables or Sets
If no printer is installed, the system variable OK is set to 0. Otherwise, it is set to 1.