Progress
Language Reference


PRINTER-NAME Attribute

The name of the currently selected printer on Windows platforms, and the unknown value (?) on other platforms.

Data Type: CHARACTER

Access: Readable/Writeable

Applies To: SESSION System Handle

Use this attribute to set the printer name in the default print context. The value of PRINTER-NAME is the name Windows uses to identify a printer. The specified printer must be defined in the Windows Registry. If the specified printer is not defined in the Windows Registry, the value of PRINTER-NAME is not modified. You must specify network printers in Universal Naming Convention format.

Use the GET-PRINTERS( ) method to get the list of printers currently defined in the Windows Registry.

If you use the SYSTEM-DIALOG PRINTER-SETUP statement to set the printer name, this attribute assumes the modified value.


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095