/1 ™ 3OXV (PXODWLRQ IRU 406® 3ULQWHUV '
7UDGHPDUNV The following are tradem ar ks or registered trademarks of their respective owners. Other pr oduct names mentioned in this manual may also be trademarks or registered trademarks of their respective owner s. Register ed tradem ar ks are registered in the United States Patent and Trademark Office; some tradem ar ks may also be registered in other countries. QMS, QMS-PS, and the QM S logo are registered trademar ks of QMS, Inc. DEC, VMS, DECnet, LN03, LN03 Plus/Digital Equipment Cor poration.
&RQWHQWV ,QVWDOODWLRQ About the QMS LN03 Plus Emulation ........................................ 1-2 Host Software Compatibility 1-2 Printer Compatibility 1-2 About this Manual ........................................................................ 1-3 Typographic Conventions 1-4 LN03 Plus Escape Sequences 1-5 Installing the QMS LN03 Plus Emulation ...................................
&RQILJXUDWLRQ Changing the Configuration ....................................................... 2-2 Configuration Options ................................................................ 2-3 Setting the K Mem Emulation Option ........................................ 2-5 Using configcartemulation ......................................................... 2-6 3ULQWHU 6WDWXV DQG 5HVHW &RPPDQGV About Printer Status and Reset Commands ............................. 3-2 Printer Status Commands ..............
&RQWURO &KDUDFWHUV Supported Control Characters .................................................... 5-2 3DJH )RUPDWWLQJ DQG 3ULQWLQJ &RPPDQGV Setting Line and Character Spacing .......................................... 6-2 Spacing Pitch Increment (SPI) 6-2 Select Vertical Line Spacing (SVS) 6-2 Set Vertical Pitch (DECVERP) 6-3 Select Horizontal Character Spacing (SHS) Set Horizontal Pitch (DECSHORP) 6-4 6-3 Setting Page Format ....................................................................
)RQW +DQGOLQJ Selecting Fonts ............................................................................ 7-2 Fonts Available 7-2 Downloading Fonts (DECLFF) 7-3 The Font File ID 7-3 Deleting a Type Family or Font File (DECDTFF) Assign Type Family or Font (DECATFF) 7-7 Select Graphic Rendition (SGR) 7-8 7-6 Selecting Character Sets ............................................................
6L[HO *UDSKLFV About Sixel Graphics ................................................................... 9-2 Sixel Graphics Controls .............................................................. 9-2 Selecting Sixel Graphics Mode 9-2 Selecting the Horizontal Grid Size (HGS) Selecting the Aspect Ratio 9-4 Exiting Sixel Graphics Mode 9-5 9-3 Sixel Graphics Data .....................................................................
,QVWDOODWLRQ ,Q WKLV FKDSWHU “About the QMS LN03 Plus Emulation” on page 1-2 “About this Manual” on page 1-3 “Installing the QMS LN03 Plus Emulation” on page 1-6 “Deinstalling the QMS LN03 Plus Emulation” on page 1-11 “For Further Assistance” on page 1-14
$ERXW WKH 406 /1 3OXV (PXODWLRQ $ERXW WKH 406 /1 3OXV (PXODWLRQ The QMS LN03 Plus Emulation offers all of the features of an LN03 Plus laser printer, including DECTEK emulation and Digital’s Tektronix 4014 emulation. If you already have files containing LN03 Plus escape sequences, or if you have set your application to print to an LN03 Plus printer, you only need to follow the installation instructions in this chapter to begin using the emulation in your QMS printer.
$ERXW WKLV 0DQXDO $ERXW WKLV 0DQXDO This manual is organized as follows: $ Introduction Presents an overview of and explains how to install this emulation. Configuration Explains how to configure this emulation. Printer Status and Reset Commands Explains the request and response commands for printer status and the escape sequences for resetting the printer.
$ERXW WKLV 0DQXDO % Character Sets ,QGH[ Shows the character sets included with this emulation.
$ERXW WKLV 0DQXDO /1 3OXV (VFDSH 6HTXHQFHV All supported LN03 Plus escape sequences are documented fully (not just listed) in this manual. Throughout the manual, the following conventions are used when describing the escape sequences. All control characters (characters with hex values less than Hex 20). Pn, Pn1, Pn2 Numeric variables in an escape sequence are expressed with Pn’s. Left and right margin values are examples of numeric variables. Numeric variables have a range of 0 to 9999.
,QVWDOOLQJ WKH 406 /1 3OXV (PXODWLRQ ,QVWDOOLQJ WKH 406 /1 3OXV (PXODWLRQ These procedures are used to install the QMS LN03 Plus Emulation to QMS printers. Since this emulation is stored on a hard disk, your printer must have either an internal or external hard disk. 7KH /1 3OXV (PXODWLRQ 'LVNHWWH The LN03 Plus Emulation Diskette contains the following files: PKUNZIP.EXE LN03.ZIP (contains LN03.PS) LN03-DEL.PS LN03.PS contains the LN03 Plus Emulation.
,QVWDOOLQJ WKH 406 /1 3OXV (PXODWLRQ 4 At the DOS prompt, enter the following command to unzip LN03.ZIP. pkunzip ln03.zip↵ 5 Confirm that LN03.PS is now in the temporary subdirectory. 6 Remove the LN03 Plus Emulation diskette from your PC’s disk drive, and store it in a safe place. ,QVWDOODWLRQ YLD D 3DUDOOHO RU 6HULDO 3RUW This procedure is used to install the LN03 Plus Emulation to printers via a parallel or serial port.
,QVWDOOLQJ WKH 406 /1 3OXV (PXODWLRQ The LN03 Plus Emulation is now listed in the Options section of the printer’s start-up page, in the Administration/Emulation section of the printer’s configuration menu, and on the advanced status page. On some older QMS printers, emulations are not listed on the printer’s start-up page. 4 Increase the printer’s K Mem Emulation client (Administration/Memory/K Mem Emulation) by at least 1 MB or, for optimum performance, by 2 MB.
,QVWDOOLQJ WKH 406 /1 3OXV (PXODWLRQ 2 Make sure your printer is on line, and that the printer’s message window reads IDLE. 3 If you’re downloading the emulation from a UNIX workstation, copy LN03.PS from your PC to a temporary directory on your workstation. 4 Open an ftp session from your PC or workstation by typing one of the following commands: ftp printername↵ ftp ipaddress↵ 5 (for example, ftp pctdev6↵) (for example, ftp 161.33.130.
,QVWDOOLQJ WKH 406 /1 3OXV (PXODWLRQ tion of the printer’s configuration menu, and on the advanced status page. On some older QMS printers, emulations are not listed on the printer’s start-up page. 11 Increase the printer’s K Mem Emulation client (Administration/Memory/K Mem Emulation) by at least 1 MB or, for optimum performance, by 2 MB. See your printer documentation for more information on this memory client and on using your printer’s configuration menu.
'HLQVWDOOLQJ WKH 406 /1 3OXV (PXODWLRQ 'HLQVWDOOLQJ WKH 406 /1 3OXV (PXODWLRQ Deinstalling the QMS LN03 Plus Emulation is similar to installing it. As the installation file was downloaded to the printer, the deinstallation file must also be downloaded to the printer. However, because the deinstallation file is not supplied zipped as is the installation file, the deinstallation file can be downloaded from the diskette drive on your PC rather than from the hard drive.
'HLQVWDOOLQJ WKH 406 /1 3OXV (PXODWLRQ For a serial connection: copy /b ln03-del.ps com#↵ where # is the port number (1 to 4). On most new QMS printers (for example: a QMS 2060, 2425, or 4060), a page is printed with a message stating that the LN03 emulation was removed. 3 Restart the printer if it doesn’t automatically restart. Note: Some QMS printers automatically restart themselves at this point.
'HLQVWDOOLQJ WKH 406 /1 3OXV (PXODWLRQ 5 If your printer has an Administration/Emulations/PostScript/ Emulation Level menu, set it to Level 2. 6 Make sure your printer is on line, and that the printer’s message window reads IDLE. 7 Open an ftp session from your PC or workstation by typing one of the following commands: ftp printername↵ ftp ipaddress↵ 8 (for example, ftp pctdev6↵) (for example, ftp 161.33.130.45↵) When prompted for a user name and password, press the Enter key.
)RU )XUWKHU $VVLVWDQFH advanced status page. On some older QMS printers, emulations are not listed on the printer’s start-up page. » Note: If you downloaded the deinstallation file from a workstation, you may want to erase any deinstallation files left on your workstation, and then remove any temporary directories. )RU )XUWKHU $VVLVWDQFH For assistance with installing the QMS LN03 Plus Emulation, refer to appendix A, “QMS Customer Support,” in the rear of this manual.
&RQILJXUDWLRQ ,Q WKLV FKDSWHU “Changing the Configuration” on page 2-2 “Configuration Options” on page 2-3 “Setting the K Mem Emulation Option” on page 2-5 “Using configcartemulation” on page 2-6
&KDQJLQJ WKH &RQILJXUDWLRQ &KDQJLQJ WKH &RQILJXUDWLRQ You can change your LN03 Plus Emulation configuration by selecting new configuration option settings through your printer’s control panel, through QMS Document Option Commands (DOC), or through the PostScript configcartemulation operator. Refer to “Configuration Options” on page 2-3 for descriptions of the configuration options. Control panel selections This is the most convenient way to change configuration settings.
&RQILJXUDWLRQ 2SWLRQV &RQILJXUDWLRQ 2SWLRQV The LN03 Plus Emulation has the following configuration options. 3URGXFW ,' Purpose This is the emulation printer model. If your host sends a Device Attributes request to the printer, the printer responds with the Product ID. Choices LN03, LQP02, and LA100 Default LN03 $XWRZUDS Purpose Determines whether text that exceeds the right margin wraps to the next line.
&RQILJXUDWLRQ 2SWLRQV 3DSHU 6L]H 2YHUULGH Purpose Controls the paper selection. If Paper Size Override is disabled, the emulation uses the transformation point for the size of paper selected and uses the current paper size (does not change paper trays). If Paper Size Override is enabled, the transformation is the same as above, and the specified paper size is selected.
6HWWLQJ WKH . 0HP (PXODWLRQ 2SWLRQ 5HVHW 2YHUULGH Purpose Determines whether the printer automatically resets to the initial power-up configuration before every print job or whether it retains the configuration from the previous print job. Choices Off and On Default Off 2ULHQWDWLRQ Purpose Sets the printing direction of the print media. Choices Portrait—Prints y axis parallel to the long edge of the page. Landscape—Prints y axis parallel to the short edge of the page.
8VLQJ FRQILJFDUWHPXODWLRQ 8VLQJ FRQILJFDUWHPXODWLRQ On QMS printers that support the configcartemulation operator, the LN03 Plus Emulation default values can be changed by this operator. You can include this operator in an ASCII file and send the file to the printer over any interface. The configcartemulation operator takes three integers as shown in the following figure.
8VLQJ FRQILJFDUWHPXODWLRQ The configcartemulation operator must be included in an ASCII text file that accesses the PostScript language statusdict in the printer.
8VLQJ FRQILJFDUWHPXODWLRQ 6HWWLQJ 3DSHU 6L]H Setting emul# item value configcartemulation Letter A4 Legal 11x17 12 12 12 12 2 2 2 2 0 1 2 3 configcartemulation configcartemulation configcartemulation configcartemulation Default Letter 6HWWLQJ 3DSHU 6L]H 2YHUULGH Setting emul# item value configcartemulation Disabled Enabled 12 12 3 3 0 1 configcartemulation configcartemulation Default Disabled 6HWWLQJ ; 2ULJLQ ,QVHW Setting emul# item value configcartemulation 0 dots 75 d
8VLQJ FRQILJFDUWHPXODWLRQ 6HWWLQJ < 2ULJLQ ,QVHW Setting emul# item value configcartemulation 0 dots 75 dots 300 dots 12 12 12 5 5 5 0 75 300 configcartemulation configcartemulation configcartemulation Range 0 to 300 Default 75 Dots Notes Y Origin Inset can be set to any value from 0 to 300 dots.
3ULQWHU 6WDWXV DQG 5HVHW &RPPDQGV ,Q WKLV FKDSWHU “About Printer Status and Reset Commands” on page 3-2 “Printer Status Commands” on page 3-2 “Printer Reset Commands” on page 3-6
$ERXW 3ULQWHU 6WDWXV DQG 5HVHW &RPPDQGV $ERXW 3ULQWHU 6WDWXV DQG 5HVHW &RPPDQGV In LN03 Plus Emulation, your printer must be able to respond to queries from the host. The host requests device attributes from the printer. The printer responds with status reports. ▲ Caution: In order to respond successfully to the host, the printer and host must be connected via the serial port.
3ULQWHU 6WDWXV &RPPDQGV Depending on its Product ID setting, the printer responds to the DA request with one of the following sequences: [?26;2c LN03 [?13;0c LQP02 [?10;3c LA100 'HYLFH 6WDWXV 5HTXHVW '65 The host can inquire about the printer’s current state by sending the Device Status Request sequence. Device Status Reports are the means of printer status communication between the host and printer.
3ULQWHU 6WDWXV &RPPDQGV 'HYLFH 6WDWXV 5HSRUWV The printer communicates its status to the host through either brief (an error has or has not occurred) or extended (includes an error code detail) reports. The host may disable reports (see “Device Status Request (DSR)” on page 2-3“Device Status Request (DSR)” on page 3-3). Brief reports inform the host that an error condition has been detected or that no error has been detected.
3ULQWHU 6WDWXV &RPPDQGV GENERIC CODES 20 No error detected. 40 Character not available. 41 Line content exceeded. 42 Font file format error. 44 Font memory exceeded. SPECIFIC CODES 102 Lost characters or part of rule (line vector). 103 Font memory exceeded. Only complete fonts downloaded. 104 Excess fonts not loaded into memory. 112 Illegal codes in downloaded fonts. 124 Character not defined in selected font.
3ULQWHU 5HVHW &RPPDQGV 3ULQWHU 5HVHW &RPPDQGV 5HVHW WR ,QLWLDO 6WDWH 5,6 This sequence resets the LN03 Plus emulation settings to their power-up state. Syntax: c The table below lists the settings that this sequence resets. 6RIW 7HUPLQDO 5HVHW '(&675 This sequence is equivalent to the RIS sequence but also exits DECTEK mode. Syntax: [!p The table below lists the settings that this sequence resets.
3ULQWHU 5HVHW &RPPDQGV Receive data 8-bit data. Transmit data 7-bit data & control character between hex 80 & hex FF. Download fonts Not erased. SGR font numbers See chapter 7, “Font Handling,” for default settings. Default font Multinational 10 cpi / 10 pt. Page margins LTR A4 LEG 11X17 Top 0" 8.1 mm 0” 0" Bottom 10.56" 276.4 mm 13.5” 16.5” Left 0" 0 mm 0” 0" Right 8.0" 196.3 mm 8.0” 10.56” Tab settings Horizontal tabs every 8 spaces. Vertical tabs every line.
6HW 5HVHW 6HTXHQFHV ,Q WKLV FKDSWHU “About Set/Reset Sequences” on page 4-2 “Set/Reset Sequences” on page 4-2
$ERXW 6HW 5HVHW 6HTXHQFHV $ERXW 6HW 5HVHW 6HTXHQFHV The following modes of operation may be turned on (set) or turned off (reset) with a Set/Reset sequence. Each of these modes has a unique selection parameter.
6HW 5HVHW 6HTXHQFHV margin whenever it receives a line feed from the host. When LNM is reset (off), the printer moves the current position down one line but does not move the active column. The default state of LNM is reset (off). [20h Set LNM [20l Reset LNM &DUULDJH 5HWXUQ 1HZ /LQH 0RGH '(&&51/0 This mode controls how the printer performs a carriage return in response to a carriage return character.
6HW 5HVHW 6HTXHQFHV 3LWFK 6HOHFW 0RGH '(&360 This mode controls which horizontal pitch formats text on the line. When DECPSM is set (on), the printer uses the default horizontal pitch determined by the current font. When DECPSM is reset (off), the printer uses the horizontal pitch specified by the DECSHORP sequence. (The DECSHORP sequence is discussed later in this manual.) The default state of DECPSM is reset (off).
6HW 5HVHW 6HTXHQFHV physical page. The default state of the DECOPM is reset (off). [?52h Set DECOPM [?52l Reset DECOPM 3RVLWLRQ 8QLW 0RGH 380 This mode specifies the unit of measure used with other spacing modes. When PUM is set (on), the printer uses either decipoints or pixels as the unit of measure depending on the setting of the Select Size Unit (SSU) sequence. When PUM is reset (off), the printer uses a spacing unit that is equal to one character position (character cell).
6HW 5HVHW 6HTXHQFHV To convert decipoints into pixel values, the printer uses the following formula and rounds off to the nearest integer: Pixels = (Decipoints ÷ 5) × 12 The printer converts 1 decipoint to 0 pixels and 2 decipoints to 1 pixel. The following table illustrates the interaction of PUM and SSU to define the unit of measure.
&RQWURO &KDUDFWHUV ,Q WKLV FKDSWHU “Supported Control Characters” on page 5-2
6XSSRUWHG &RQWURO &KDUDFWHUV 6XSSRUWHG &RQWURO &KDUDFWHUV The following control characters are in the range Hex 00 to Hex 1F and Hex 7F to Hex 8F. Hex 00 The printer ignores this control character. Hex 08 Backspace moves the current print position one character space to the left. Movement cannot exceed the left margin. Hex 09 Horizontal Tab moves the current print position to the next horizontal tab stop on the current line. Movement cannot exceed the right margin.
6XSSRUWHG &RQWURO &KDUDFWHUV Hex 1A Substitute ends any escape sequence or command in progress. During sixel graphics, prints as a space. Hex 1B Escape begins escape sequences. If received during an escape sequence, it ends that sequence and begins a new one. Hex 7F The printer ignores this control character. Hex 84 Index moves the current print position one line down without changing the horizontal position.
3DJH )RUPDWWLQJ DQG 3ULQWLQJ &RPPDQGV ,Q WKLV FKDSWHU “Setting Line and Character Spacing” on page 6-2 “Setting Page Format” on page 6-5 “Moving Cursor/Line Position Up or Down” on page 6-11 “Setting and Clearing Tab Stops” on page 6-12 “Setting Text Justification” on page 6-14 “Drawing Lines” on page 6-14
6HWWLQJ /LQH DQG &KDUDFWHU 6SDFLQJ 6HWWLQJ /LQH DQG &KDUDFWHU 6SDFLQJ 6SDFLQJ 3LWFK ,QFUHPHQW 63, This sequence defines the number of units in a vertical or horizontal increment. The values for Pn1 and Pn2 are expressed in either decipoints or pixels depending on the setting of the SSU. Syntax: [Pn1 ;Pn2 G Pn1 Value of the vertical spacing increment (line height) in the unit of measure defined by SSU.
6HWWLQJ /LQH DQG &KDUDFWHU 6SDFLQJ 5 6 lines per 30mm, 1 line = 5 mm 6 4 lines per 30mm, 1 line = 7.5 mm 7 3 lines per 30mm, 1 line = 10 mm 8 12 lines per 30mm, 1 line = 2.5 mm 9 2 lines per inch (lpi),1 line = 1/2" 6HW 9HUWLFDO 3LWFK '(&9(53 Use this sequence to select a value for lines per inch. Syntax: [Ps z Ps = 0 (default) Line spacing determined by current font. 1 6 lpi 2 8 lpi 3 12 lpi 4 2 lpi 5 3 lpi 6 4 lpi 11 6.
6HWWLQJ /LQH DQG &KDUDFWHU 6SDFLQJ 6HW +RUL]RQWDO 3LWFK '(&6+253 This sequence sets both the character spacing (horizontal pitch) and character width of monospaced fonts.
6HWWLQJ 3DJH )RUPDW 6HWWLQJ 3DJH )RUPDW 3DJH )RUPDW 6HOHFW 3)6 Use this sequence to select between several standard page formats.
/1 3OXV (PXODWLRQ IRU 406 3ULQWHUV Page Size Left Margin Line Home Right Margin Top Margin Page Home Page End Bottom Margin 0 8.5x11 0 150 2310 0 150 2842 3140 1 11x8.5 0 150 3150 0 150 1992 2290 2 8.2x11.5 0 150 2311 0 150 3042 3340 3 11.5x8.2 0 150 3301 0 150 1992 2290 4 8.5x11 0 150 2400 0 150 2842 3140 5 11x8.5 0 150 3150 0 150 2042 2340 6 8.2x11.5 0 150 2311 0 0 3290 3290 7 11.5x8.2 0 150 3301 0 0 2190 2190 ?10 8.
6HWWLQJ 3DJH )RUPDW 6HW /LQHV SHU 3K\VLFDO 3DJH '(&6/33 Use this sequence to establish the form length of the page. The maximum form length is determined by page orientation, origin point, and paper size. The form length established by this sequence may be expressed in either pixels, decipoints, or character cells (lines) depending on the PUM and SSU sequences. The DECSLPP sets top margin to 1 and bottom margin to the specified form length.
6HWWLQJ 3DJH )RUPDW If the value of Pn2 is omitted or set to 0, the bottom margin does not change. If the value of Pn1 is greater than the value of Pn2 , the printer ignores the sequence. If the value of Pn2 exceeds the overall form length, the bottom of the form becomes the new bottom margin. If the current active position is above the new top margin, the active position moves to the top margin.
6HWWLQJ 3DJH )RUPDW If the value of Pn 2 is omitted or set to 0, the right margin does not change. If the value of Pn1 is greater than the value of Pn2 , the printer ignores the sequence. If the value of Pn2 exceeds the printable width of the page, the right edge of the printable area becomes the new right margin. If the current active position is left of the new left margin, the active position moves to the left margin.
6HWWLQJ 3DJH )RUPDW The HPR position cannot exceed the right margin. +RUL]RQWDO 3RVLWLRQ %DFNZDUG +3% Use this sequence to move to the left on the current line relative to the current position. Syntax: Pn [Pn j A numeric value, expressed in units determined by PUM and SSU settings, to subtract from the current position. The default value of Pn is 1. The HPB position cannot exceed the left margin. 9HUWLFDO 3RVLWLRQ $EVROXWH 93$ This sequence moves the current line vertically on the page.
0RYLQJ &XUVRU /LQH 3RVLWLRQ 8S RU 'RZQ If the VPR sequence moves the active position past the bottom margin, the printer sets the active position to the bottom margin and prints the page with the next character. 9HUWLFDO 3RVLWLRQ %DFNZDUG 93% Use this sequence to move up the page vertically relative to the current position. Syntax: [Pn k Pn A numeric value, expressed in units determined by PUM and SSU settings, to subtract from the current position. The default value of Pn is 0.
6HWWLQJ DQG &OHDULQJ 7DE 6WRSV 3DUWLDO /LQH 8S 3/8 Use this sequence for superscript characters. PLU moves the current line up one-half the line spacing increment of the current font. Syntax: L If the current line is the top margin when the PLU sequence is issued, the superscript character may print as a space. Use the Partial Line Down (PLD) sequence to return to the original current line. 3DUWLDO /LQH 'RZQ 3/' Use this sequence for subscript characters.
6HWWLQJ DQG &OHDULQJ 7DE 6WRSV Tab values are expressed in pixels, decipoints, or character cells depending on the settings of PUM and SSU. If 32 tabs have been set, the highest tab value is erased when you add the next new tab. If the new tab value is higher than any of the older 32 tabs, the printer ignores the new tab value. 6HW 9HUWLFDO 7DE 6WRSV '(&6976 Use this sequence to set vertical tabs. You may set up to 16 tabs with a single escape sequence.
6HWWLQJ 7H[W -XVWLILFDWLRQ 3 Clear all horizontal tabs. 4 Clear all vertical tabs. 6HWWLQJ 7H[W -XVWLILFDWLRQ -XVWLILFDWLRQ This sequence turns right-justification of text on and off. Syntax: [PsF Ps = 0 Turn off justification. 1 Turn on justification with limits. 2 Turn on justification without limits. If Ps is 1, the printer expands the space between words to right-justify text depending on the spacing value built into the current font.
'UDZLQJ /LQHV Syntax: [Ps;Pn1 ;Pn 2;Pn 3 ;Pn4 ! | Ps = 0 Draws a horizontal vector relative to the current X axis of the page. Ps = 1 Draws a horizontal vector relative to the current X axis of the page. Pn1 Numeric value, expressed in units depending on SSU, for the starting X position of the vector. The default value of Pn1 is 0. Pn2 Numeric value, expressed in units depending on SSU, for the starting Y position of the vector. The default value of Pn2 is 0.
)RQW +DQGOLQJ ,Q WKLV FKDSWHU “Selecting Fonts” on page 7-2 “Selecting Character Sets” on page 7-9 “Requesting Font Status Reports” on page 7-12
6HOHFWLQJ )RQWV 6HOHFWLQJ )RQWV )RQWV $YDLODEOH When you select QMS LN03 Plus emulation, you must have fonts (either resident on the printer or downloaded to the printer from your host computer) that are designed for LN03 Plus printers. These fonts must comply with the DEC Type 1 Variant 0 font specification. The following font files are included with the QMS LN03 Plus emulation: Courier Medium [ASCII] LN03, 6.7 Point, 13.6 CPI Courier Medium Supplemental LN03, 6.7 Point 13.
6HOHFWLQJ )RQWV 'RZQORDGLQJ )RQWV '(&/)) A font file contains an encoded “description” of the font and the sixel graphic data for all the characters in the font. The font download escape sequence encapsulates the font file with selection values and a comment field. Syntax: » PPs1;Ps2;Ps3yFont Record Data;Comments\ Ps1 This value must be 0 (indicating that the font file is in the Digital font file format) or the printer ignores the sequence.
6HOHFWLQJ )RQWV The 31-byte (base 36) description consists of the items in the following table: Type ID Bytes 1-7 Identifies the type family. The first byte must be Q. Spacing Byte 8 0 = Proportional 1 = 13.6 cpi 2 = 10.3 cpi 3 = 6.8 cpi 4 thru 9 = Reserved. Do not use. A thru Z = Monospaced. (A = 1cpi, B=2 cpi, C=3 cpi, ... , Z=26 cpi) Type Size Bytes 9-11 Three-byte base-36 value expressed in decipoints for the character height (e.g., 02S = 100 decipoints = 10 pt character height).
6HOHFWLQJ )RQWV Proportion Byte 16 4 = Ultra Expanded 7 = Extra Expanded A = Expanded D = Semi Expanded G = Regular J = Medium M = Semi Condensed P = Condensed S = Extra Condensed V = Ultra Condensed Rotation Bytes 17-18 00 = Portrait (No rotation). Values other than 00 are landscape rotation. Character Set Bytes 19-21 01U = ASCII 01O = DEC Supplemental 01Q = DEC Technical 01C = VT100 Line Drawing Character ZZZZ = Full character set subset.
6HOHFWLQJ )RQWV 01U ASCII character set. ZZZZ Full character set subset. 02 Binary encoding. F 300 dpi resolution. 000 Reserved characters. The sixel graphics data for the download font immediately follows byte 31. Only one character set may be downloaded to the printer at a time. You can follow the sixel graphics data with another 31-byte descriptor for another font or character set.
6HOHFWLQJ )RQWV $VVLJQ 7\SH )DPLO\ RU )RQW '(&$7)) Once you have downloaded a font, you must assign a Select Graphics Rendition (SGR) number to the font. This SGR number will be used by the SGR escape sequence to select a font for printing. Syntax: P Ps1 ;Ps2 ;}ID string\ Ps1 = 0 Assign SGR number in Ps2 to the font ID string. 1 Assign SGR number in Ps2 to the font ID string. 2 Assign SGR number in Ps2 to the type family ID string. Ps2 SGR number.
6HOHFWLQJ )RQWV You may use DECATFF to reassign these SGR numbers to any fonts you have downloaded to the printer. 6HOHFW *UDSKLF 5HQGLWLRQ 6*5 Use this sequence to select a font and any of four font attributes. Syntax: [Ps m Ps = 1 Bold printing on. 22 Bold printing off. 3 Italic printing on. 23 Italic printing off. 4 Underlining on. 24 Underlining off. 9 Strike-through printing on. 29 Strike-through printing off. 10 Font selection (see DECATFF).
6HOHFWLQJ &KDUDFWHU 6HWV 6HOHFWLQJ &KDUDFWHU 6HWV 6HOHFWLQJ *UDSKLF &KDUDFWHU 6HWV A character set is a complete group of characters: alphanumeric and any special symbols (depending on the type of character set). Before printing, you must select a character set and a font. To select a character set, you must first designate it as either G0, G1, G2, or G3.
6HOHFWLQJ &KDUDFWHU 6HWV Z Spanish 7 Swedish = Swiss ` ISO Norwegian/Danish (value is hex 60) After designating a character set as G0, G1, G2, or G3, map it to either the “graphics left” (GL) table or the “graphics right” (GR) table. The GL table corresponds to character values between Hex 00 and Hex 7F. The GR table corresponds to character values from Hex 80 to Hex FF.
6HOHFWLQJ &KDUDFWHU 6HWV Maps the ASCII character set (G0) to the GL table. This is the default setup for the printer. Maps the ASCII character set (G1) to the GR table. This is the default setup for the printer. } Maps the Supplemental character set (G2) to the GR table. This is the default setup for the printer. | Maps the Finnish character set (G3) to the GR table. These designations remain in effect until you issue new designations or mappings.
5HTXHVWLQJ )RQW 6WDWXV 5HSRUWV Syntax: P Pn1 ;Pn2 B Pn1 Numeric value expressing character height as a percentage of the current character height. Pn2 Numeric value expressing character width as a percentage of the current character width. For example, if the character height selected as a result of the GSS command is 10pt, the following sequence selects a 6pt font: P60;100B If a 6pt font has not been downloaded to the printer, the next greater size font will be selected.
5HTXHVWLQJ )RQW 6WDWXV 5HSRUWV )RQW 6WDWXV 5HSRUW '(&)65 The printer uses this sequence when responding to the DECRFS sequence from the host. Syntax: P Ps "{ID string\ Ps = 1 Font status. 2 Download memory status. ID String If Ps is 1, this is the font status report. If Ps is 2, this is the number of bytes of download memory available in the printer.
'(&7(.
8VLQJ WKH '(&7(. (PXODWLRQ 8VLQJ WKH '(&7(. (PXODWLRQ Your QMS printer emulates the Tektronix 4010/4014 mode (DECTEK) of the DEC LN03 Plus printer. In DECTEK, the printer processes text or graphics data (vectors or plot data) as would a DEC LN03 Plus printer. You can use DECTEK to mix ANSI text with Tektronix graphics on the same page as long as DECTEK occurs before any ANSI text has been printed on the page.
8VLQJ WKH '(&7(. (PXODWLRQ [?38h The printer makes these preparations for Tektronix emulation after receiving the DECTEK sequence: If the printer's page buffer contains any data, the printer performs a form feed. If the buffer is empty, the printer does not perform a form feed. The printer saves the current state of ANSI mode (non-DECTEK mode). The printer will restore this state after exiting DECTEK emulation. The printer establishes the DECTEK mode “page” and selects DECTEK fonts.
'(&7(. )RQWV '(&7(. )RQWV The DECTEK emulation on your printer includes these two resident DECTEK fonts: DMDRGTH 14pt Modern Gothic DCOURIR 6.7pt Courier For more information about these fonts, see “Alpha Mode” on page 86. '(&7(. &RQWURO &KDUDFWHUV DQG (VFDSH 6HTXHQFHV In addition to the escape sequences in this list, several DECTEK modes have their own escape sequences. For more information, see “DECTEK Modes” on page 8-6. Clears Bypass Mode.
'(&7(. &RQWURO &KDUDFWHUV DQG (VFDSH (Line Feed) Moves the current position to the next line without changing the horizontal position. If the current position is at the bottom margin, line feed moves the current position to the top of the Tekpage and switches margins. Line feed also clears Bypass Mode. (Vertical Tab) Moves the current position up one line without changing the horizontal position. The current position cannot move beyond the top margin.
'(&7(. 0RGHV Switches to Alpha Mode from any mode and clears Bypass Mode. Same as . Same as . Same as . Embeds a line feed in the file when followed by a “no-op” code, such as . Embeds a carriage return in the file when followed by a “no-op” code such as . Same as .
'(&7(. 0RGHV In Alpha Mode, you may select from four character sizes: 8 Large character size, Modern Gothic typeface 9 Medium large character size, Modern Gothic typeface : Medium small character size, Courier typeface ; Small character size, Courier typeface You may use the DECLFF command to download different typefaces to use instead of the default Alpha Mode faces.
'(&7(. 0RGHV If you are printing in two columns, a at the bottom of column 1 moves the current print position to the left margin of column 2 (an imaginary line in the middle of the Tekpage) at the top line. To continue two column printing on the next page, you must issue an in the last line of text in column 2 before the text automatically wraps back to column 1. *UDSK 0RGH DECTEK Graph Mode is the vector plotting mode.
'(&7(.
'(&7(. 0RGHV E Up right (northeast) A Right (east) I Down right (southeast) H Down (south) J Down left (southwest) B Left (west) F Up left (northwest) All characters in Incremental Plot Mode must be uppercase. %\SDVV 0RGH In Bypass Mode, the printer receives data but does not print or change the current position. You enter Bypass Mode from any other mode by sending the command.
'(&7(. 0RGHV 3RLQW 3ORW 0RGH (6&! )6! RU )6! *UDSK 0RGH 56! 56! 6HH 1RWH ,QFUHPHQWDO 3ORW 0RGH 6HH (6&! )6! 1RWH RU )6! *6! (6&!>" K 56! 6HH 1RWH $OSKD 0RGH (6&!>" O (QWHU ([LW 1RWH 8VH 86! &5! (6&! ))! (6&! 86! RU (6&! 68%! 9HFWRU &RRUGLQDWH (QFRGLQJ In Graph Mode, vectors are plotted on the Tekpage whose coordinates are expressed in “Tekpoints” (3 pixels per Tekpoint in normal Graph Mode or 0.75 pixels per Tekpoint via the Enhanced Graphics Module feature).
'(&7(. 0RGHV The HI-X and HI-Y values are assigned the characters from (hex 20) to ? (hex 3F). The LO-X values are assigned the characters from @ (hex 40) to - (hex 5F). The LO-Y values are assigned the characters from \ (hex 5C) to (hex 7F). By using the characters in these ranges, the start and end Tekpoints for vectors can be expressed in 10-bit encoding (normal mode). The following table illustrates the format and order of bytes for defining addresses.
'(&7(. 0RGHV The remaining bits of the HI-Y character are paired with the remaining bits of the LO-Y character as follows: 0100101100 = 300 (decimal) = Y coordinate The resulting X,Y pair (400,300) is expressed in Tekpoints, converted to pixels by the printer, and plotted on the Tekpage. In Enhanced Graphics Mode (EGM), the Extra Byte further divides the (LO-X,LO-Y) unit into a 4 X 4 unit grid. Processing of the five characters is similar to 10-bit addressing.
6L[HO *UDSKLFV ,Q WKLV FKDSWHU “About Sixel Graphics” on page 9-2 “Sixel Graphics Controls” on page 9-2 “Sixel Graphics Data” on page 9-6
$ERXW 6L[HO *UDSKLFV $ERXW 6L[HO *UDSKLFV The sixel graphics feature of LN03 Plus emulation enables the printer to print pictures and to mix them with text data on the page. Sixels are vertical lines of six pixels. To most printers, a pixel is equal to one dot. On your QMS laser printer, one dot is 1/300” wide. With sixel graphics, printing a picture requires less data (depending on the size of the sixels) transmitted from the host.
6L[HO *UDSKLFV &RQWUROV Pn5 Width of the picture data. The printer ignores this value. picture data Generated by the graphics software application. \ Terminator. Restores text mode. 6HOHFWLQJ WKH +RUL]RQWDO *ULG 6L]H +*6 The HGS defines the spacing between pixels. For example, if the HGS is 1/150", each pixel is 2 dots wide. If HGS is 1/75”, each pixel is 4 dots wide. p p p You select the HGS with the Ps1 value (see the table below) in the sixel mode sequence.
6L[HO *UDSKLFV &RQWUROV HGS ASPECT RATIO VGS Ps1 Inches Inches vert:horiz Inches Inches 0 0.0067 1/150 200:100 0.0133 1/75 1 0.0067 1/150 200:100 0.0133 1/75 2 0.0030 1/337.5 450:100 0.0133 1/75 3 0.0044 1/225 300:100 0.0133 1/75 4 0.0053 1/187.5 250:100 0.0133 1/75 5 0.0067 1/150 200:100 0.0133 1/75 6 0.0089 1/112.5 150:100 0.0133 1/75 7 0.0103 1/97.5 130:100 0.0133 1/75 8 0.0119 1/84 112:100 0.0133 1/75 9 0.0133 1/75 100:100 0.
6L[HO *UDSKLFV &RQWUROV The following portion of a sixel graphics mode command defines a pixel that is 3 dots wide with an aspect ratio of 2:1: P0;0;3q"2;1..... The following figure illustrates the pixel described by the above command.
6L[HO *UDSKLFV 'DWD 6L[HO *UDSKLFV 'DWD $ERXW 6L[HO *UDSKLFV 'DWD The “picture data” in the sixel mode command is the sixel graphics data. Sixel graphics data is encoded in 8-bit bytes, each byte being an ASCII character code between Hex 3F and Hex 7E. If a bit has a 1 value, the printer prints the pixel. If the bit is 0, no pixel prints. The following characters have special meanings in sixel graphics data. Abort sixel graphics data mode. Prints a blank sixel.
6L[HO *UDSKLFV 'DWD 'HFRGLQJ 6L[HO *UDSKLFV 'DWD Before transmitting data to the printer, the host computer adds an “offset value” of Octal 77 to each byte. When the printer receives each byte it subtracts this offset and discards the eighth bit. The six least significant of the remaining bits determine which pixels of the sixel print. For example, when it receives the byte 01001000, the printer subtracts octal 77 from the byte which results in 00001001.
$ 406 &XVWRPHU 6XSSRUW ,Q 7KLV $SSHQGL[ Sources of customer support on page A-2 QMS world-wide offices on page A-5
6RXUFHV RI 6XSSRUW 6RXUFHV RI 6XSSRUW Several sources of help and information are available, depending on the type of help you need:
6RXUFHV RI 6XSSRUW 7KH 406 &RUSRUDWH %XOOHWLQ %RDUG 6\VWHP The QMS Corporate Bulletin Board System (BBS) contains technical support notes, application notes, drivers, patches, and utilities, and you may leave technical questions not requiring an immediate response on electronic mail for the Sysop (System Operator). The bulletin board [(334) 633-3632] operates at 1200, 2400, 9600, and 14400 baud, 8 data bits, no parity, 1 stop bit, with XMODEM, YMODEM, and ZMODEM capabilities.
6RXUFHV RI 6XSSRUW 406 &XVWRPHU 5HVSRQVH &HQWHU &5& You can contact the QMS Customer Response Center (CRC) in three different ways: Telephone—You can call the CRC at (334) 633-4500 (US) Monday–Friday, 7:00 am–6:00 pm, Central Time.
406 :RUOG ZLGH 2IILFHV 406 :RUOG ZLGH 2IILFHV 406 8QLWHG 6WDWHV DQG /DWLQ $PHULFD General Contact 1 (334) 633-4300 Fax 1 (334) 633-4866 Email info@qms.
406 :RUOG ZLGH 2IILFHV 406 LQ /DWLQ $PHULFD General Contact Cra 43 DD#8-42 Officina 201 Medellin, Colombia (+57) (4) 312 13 70 Fax (+57) (4) 268 92 97 406 (0($ 406 $XVWUDOLD 30, Atchison Street St. Leonards NSW 2065 Australia (+61) 2–9901 3235 Fax (+61) 2–9901 3273 406 %HQHOX[ Planetenbaan 60 ‘Corner Plaza’ 3606 AK Maarssen Belgium, NetherThe Netherlands lands, and all (+31) 346–551333 unlisted countries Fax (+31) 346–550170 Internet http://www.qms.
406 :RUOG ZLGH 2IILFHV 406 1RUGLF Arenavägen 41, 6th floor 121 77 Johanneshov Sweden, Finland, Sweden Norway, and (+46) 8–600 01 30 Denmark Fax (+46) 8–600 01 33 406 6RXWK $IULFD 406 8.
% &KDUDFWHU 6HWV ,Q 7KLV $SSHQGL[ Character Sets Selecting Character Sets Using GL and GR tables GL and GR Tables
&KDUDFWHU 6HWV &KDUDFWHU 6HWV A character set is a group of characters (usually alphanumeric and an assortment of special characters and symbols) with assigned hexadecimal values in the range hex 21 to hex FE.
6HOHFWLQJ &KDUDFWHU 6HWV 6HOHFWLQJ &KDUDFWHU 6HWV You may "activate" up to four character sets at a time. These four active character sets (referred to as G0, G1, G2, and G3) may then be called into action quickly by using special escape sequences. The following escape sequences designate the character sets to the four active positions. In these escape sequences, you supply the identifying value for the character set you want.
8VLQJ */ DQG *5 7DEOHV Substitute any of the above values for Ps in the following escape sequences: (Ps Activate character set as G0 )Ps Activate character set as G1 *Ps Activate character set as G2 +Ps Activate character set as G3 -Ps Activate character set as G1 .
8VLQJ */ DQG *5 7DEOHV Maps the character set activated as G0 into the GL table. Maps the character set activated as G1 into the GL table. ~ Maps the character set activated as G1 into the GR table. n Maps the character set activated as G2 into the GL table. } Maps the character set activated as G2 into the GR table. o Maps the character set activated as G3 into the GL table. | Maps the character set activated as G3 into the GR table.
*/ DQG *5 7DEOHV In the following example, the French character set is activated as G1 and mapped into the GL table: )RJos{ is from Cura\ao The printed output would appear as follows: José is from Curaçao */ DQG *5 7DEOHV The following seventeen tables contain the GL and GR codes for the character sets supplied with your LN03 Plus emulation in your QMS printer. Each character in each set is assigned two hex values.
*/ DQG *5 7DEOHV $6&,, &KDUDFWHU 6HW 3V % Character ! " # $ % & ’ ( ) * + , .
*/ DQG *5 7DEOHV 6XSSOHPHQWDO &KDUDFWHU 6HW 3V Character ¡ ¢ £ ¥ § ¤ © ª « ° ± ² ³ µ ¶ · ¹ º » ¼ ½ ¿ % GL 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D 2E 2F 30 31 32 33 34 35 36 37 38 39 3A 3B 3C 3D 3E 3F GR A1 A2 A3 A4 A5 A6 A7 A8 A9 AA AB AC AD AE AF B0 B1 B2 B3 B4 B5 B6 B7 B8 B9 BA BB BC BD BE BF Character GL GR Character GL GR À Á Â Ã Ä Å Æ Ç È É Ê Ë Ì Í Î Ï 40 41 42 43 44 45 46 47 48 49 4A 4B 4C 4D 4E 4F 50 51 52 53 54 55 56 57 58 59 5A 5B 5C 5D 5E 5F C0 C1 C2 C3 C4 C5 C6 C7 C8 C9 CA C
*/ DQG *5 7DEOHV 7HFKQLFDO &KDUDFWHU 6HW 3V ! Character ! " GL 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D 2E 2F 30 31 32 33 34 35 36 37 38 39 3A 3B 3C 3D 3E 3F GR A1 A2 A3 A4 A5 A6 A7 A8 A9 AA AB AC AD AE AF B0 B1 B2 B3 B4 B5 B6 B7 B8 B9 BA BB BC BD BE BF &KDUDFWHU 6HWV Character GL GR Character GL GR # $ % & ' ( ) * + , .
*/ DQG *5 7DEOHV /LQH 'UDZ &KDUDFWHU 6HW 3V Character ! " # $ % & ’ ( ) * + , .
*/ DQG *5 7DEOHV 8QLWHG .LQJGRP &KDUDFWHU 6HW 3V $ Character ! " £ $ % & ’ ( ) * + , .
*/ DQG *5 7DEOHV 'XWFK &KDUDFWHU 6HW 3V Character ! " £ $ % & ’ ( ) * + , .
*/ DQG *5 7DEOHV )LQQLVK &KDUDFWHU 6HW 3V Character ! " # $ % & ’ ( ) * + , .
*/ DQG *5 7DEOHV )UHQFK &KDUDFWHU 6HW 3V 5 Character ! " £ $ % & ’ ( ) * + , .
*/ DQG *5 7DEOHV )UHQFK &DQDGLDQ &KDUDFWHU 6HW 3V Character ! " # $ % & ’ ( ) * + , .
*/ DQG *5 7DEOHV *HUPDQ &KDUDFWHU 6HW 3V . Character ! " # $ % & ’ ( ) * + , .
*/ DQG *5 7DEOHV ,WDOLDQ &KDUDFWHU 6HW 3V < Character ! " £ $ % & ’ ( ) * + , .
*/ DQG *5 7DEOHV -,6 5RPDQ &KDUDFWHU 6HW 3V Character ! " # $ % & ’ ( ) * + , .
*/ DQG *5 7DEOHV 1RUZHJLDQ 'DQLVK &KDUDFWHU 6HW 3V Character ! " # $ % & ’ ( ) * + , .
*/ DQG *5 7DEOHV 6SDQLVK &KDUDFWHU 6HW 3V = Character ! " £ $ % & ’ ( ) * + , .
*/ DQG *5 7DEOHV 6ZHGLVK &KDUDFWHU 6HW 3V Character ! " # $ % & ’ ( ) * + , .
*/ DQG *5 7DEOHV 6ZLVV &KDUDFWHU 6HW 3V Character ! " ù $ % & ’ ( ) * + , .
*/ DQG *5 7DEOHV ,62 1RUZHJLDQ 'DQLVK &KDUDFWHU 6HW 3V µ ´ Character ! " # $ % & ’ ( ) * + , .
,QGH[ $ Backspace 5-2, 8-4 BEL 8-4 Boldface 7-8 Brief reports 3-4 Bulletin board, QMS A-3 Character width 6-4 Compatibility 1-2 Host software 1-2 Printer 1-2 configcartemulation 2-6 Control characters 5-2 CPI 6-3 Cursor position report 3-5 Customer Response Center (CRC), QMS A-4 Customer support, QMS A-2 CUU 6-11 & ' ANSI text 8-2 Aspect ratio, sixel graphics 9-4 Autowrap mode 4-3 % Cancel command 5-2 Carriage return 4-3, 5-2, 8-5, 8-6 Character height 7-11 Character sets 7-9 Character spacing 6-3,
DECCRNLM 4-3 DECDTFF 7-6 DECFSR 7-13 Decipoints 4-5 DECLFF 7-3 DECnet compatibility 1-2 DECOPM 4-4 DECPSM 4-4, 6-4 DECPSP 4-4 DECRFS 7-12 DECSHORP 4-4, 6-4 DECSHTS 6-12 DECSLPP 6-6 DECSLRM 6-7 DECSTBM 6-6 DECSTR 3-6, 8-3 DECSVTS 6-12 DECTEK Alpha mode 8-7 And soft reset 8-3 Bypass mode 8-10 Command 8-2 Control characters 8-4 Coordinate encoding 8-11 Downloading fonts 8-7 EGM mode 8-13 Exit command 8-3 Graph mode 8-8 Incremental Plot mode 8-10 Mode switching 8-11 Modes 8-2 Page width printing 8-8 Point Plot
Horizontal pitch 6-2 Horizontal tab 5-2, 8-4 Host Software Compatibility 1-2 HPA 6-8 HPB 6-9 HPR 6-9 , Index command 5-3 Internet A-3 Italics 7-8 Justified lines 6-13 / Line end position 6-4, 6-5 Line feed 4-3, 5-2, 8-5, 8-6 Line home position 6-4, 6-5, 6-7 Line spacing 6-2, 6-3 LN03 Plus Versions 1-2 LNM command 4-2 LPI 6-3 0 Manual Contents 1-2, 2-3 Overview 1-2, 2-3 Margins Left/right 6-7 Top/bottom 6-6 1 Next line command 5-3 2 Origin point 4-4 ,QGH[ 3 Page end line 6-5 Page end position 6-6 Pag
US 8-6 SHS 6-3 Single shift 5-3 Graphics table 5-3 Sixel data 9-6, 9-7 Sixel graphics 9-2 Software Compatibility 1-2 Spacing increment 4-5 SPI 6-2 SSU 4-5 Status reports 3-2, 3-3 statusdict, PostScript 2-7 Strike-through 7-8 Subscript 6-11 Substitute command 5-3 Superscript 6-11 Support, QMS Bulletin board A-3 Customer A-2 Internet A-3 Technical A-4 World-wide A-5 SVS 6-2 9 Vertical movement Absolute 6-9 Backward 6-10 Partial 6-11 Up 6-11 Vertical pitch 6-2 Vertical tab 5-2, 8-5 VMS compatibility 1-2 VPA