Queue
|
The physical printer that will receive all the output directed to the current logical printer. You can specify either a local or a remote printers. The Queue setting is a string value. Magic xpa parses this string and extracts valid information. If no valid printer information is found, the logical printer will default to the operating system's default printer (for example, LPT1). Select Edit/Wide (F6) if you need to specify a longer name.
|
Commands File
|
The location and operating system name of the file that contains the printer control codes that will be used to resolve the logical Magic xpa Print Attributes.
The Printer Commands file contains both labels and printer control codes. The Magic xpa Print Attributes are built using these labels. When a Magic xpa form is printed, the logical Print Attributes are translated according to the information found in the printer's commands file. Printer Commands files of different printers may contain the same labels. The same program may output different results when the Printer Commands file is different.
The Printer Commands file lists the actual printer control codes (escape sequences) for each print style.
For example:
-
Portrait orientation=0x1b,0x26,0x6c,0x30,0x4f
-
Landscape orientation=0x1b,0x26,0x6c,0x31,0x4f
-
12 lines per inch=0x1b,0x26,0x6c,0x31,0x32,0x44
-
24 lines per inch=0x1b,0x26,0x6c,0x32,0x34,0x44
Each entry is either of the form: style-name=start-sequence:end-sequence or style-name=start-sequence
where style-name is a user-defined style name that appears in the Printer Commands file, start-sequence is a printer control (escape sequence) string that is to be sent to the printer at the beginning of a text section that is to appear in the given print style, and end-sequence is the escape sequence string that is to be sent to the printer at the end of such a text section. The start-sequence and end-sequence must be separated by a colon.
The second form is for printer commands that do not require a terminating sequence, such as a restart command.
Two sample Printer Commands files are supplied with Magic in the support folder. These are:
If you want to modify the Printer Commands file, use a text editor.
|
Translation File
|
The location and operating system name of a file containing a conversion table for converting Magic xpa's internal character codes to the physical printer's codes. The translation file has 256 entries, one per ASCII character code, which is the internal Magic xpa character set. Each entry specifies the string substitute of the character that will be sent to the printer. The printer strings may contain single or multi-character codes. You may also include control codes in these strings.
See also Printing OEM/ANSI Characters
|