Introduction

Language Structure

IB Statements

File System

Comet 32 Runtime

Index

(SetSessionPrinter)

Mnemonic: (SetSessionPrinter=printer-name)
Discussion: The (SetSessionPrinter) mnemonic establishes a temporary printer name for the current session. This printer name will be used for session printing as long as the COSW session is active or the printer name is again changed. The session printer is identified in the Comet configuration file by the device name of '#'.

Example:
PtrName$ = "My Printer"
Print (SetSessionPrinter=PtrName$)

To clear the temporary printer name, set the printer name to an empty string. This will reset COSW back to the original user-defined session printer.

Example:
Print (SetSessionPrinter="")

See (GetSessionPrinter).

History: This mnemonic was added in Comet2000 Build 300 and requires require REL Version 02.01 or greater.