Programming Interface

You can find a description of all options used in the TTY export module in this chapter. The options can be modified using the methods LlXSetParameter(..."TTY"...) and read by calling LlXGet­Parameter(..."TTY"...).

Export.Path: Path where the exported PRN file should be saved.

Export.File: File name of the PRN file. If this option is empty, a file selection dialog will always be displayed.

Export.Quiet: Use this option to configure the possibility of exporting without user interaction.

Value

Meaning

0

Export with user interaction (dialogs)

1

No dialogs or message boxes will be displayed (only if Export.Path was specified).

Default

0

 

TTY.AdvanceAfterPrint: Specifies the behavior when the print job is finished.

Value

Meaning

FormFeed

Form feed

ToNextLabel

Advances to the next label

AfterNextLabel

Leaves one blank label as separator

 

TTY.Emulation: Specifies the emulation used for the export.

Value

Meaning

ESC/P

ESC/P emulation

ESC/P 9Pin

ESC/P emulation for 9-pin dot matrix printers

PlainTextANSI

Plain text ANSI emulation

PlainTextASCII

Plain text ASCII emulation

PlainTextUNICODE

Plain text Unicode emulation

NEC Pinwriter

NEC Prinwriter emulation

IBM Proprinter XL24

IBM Proprinter XL24 emulation

PCL

PCL emulation

 

TTY.Destination: Export target. Possible values are "LPT1:", "LPT2:",..."FILE:" or "FILE:<Filename>". If "FILE:" is used, a file selection dialog will be displayed.

TTY.DefaultFilename: Default file name for this dialog.