Get current printer

4D - Documentation   Français   English   German   4th Dimension 2004, Command Theme List   4th Dimension 2004, Command Alphabetical List   4th Dimension 2004, Constant Theme List   Back   Previous   Next

version 2003


Get current printer String

ParameterTypeDescription
This command does not require any parameters
Function resultStringName of the current printer

Description

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.

See Also

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.


4D - Documentation   Français   English   German   4th Dimension 2004, Command Theme List   4th Dimension 2004, Command Alphabetical List   4th Dimension 2004, Constant Theme List   Back   Previous   Next