Printronix P7000 H, PSA3 User Manual

Programmer’s Reference Manual
KSSM Emulation For The P7000 H-Series Of Line Matrix Printers
KSSM Emulation For The P7000 H-Series Of Line Matrix Printers Programmer’s Reference Manual
Printronix, Inc. makes no representations or warranties of any kind regarding this material, including, but not limited to, implied warranties of merchantability and fitness for a particular purpose. Printronix, Inc. shall not be held responsible for errors contained herein or any omissions from this material or for any damages, whether direct, indirect, incidental or consequential, in connection with the furnishing, distribution, performance or use of this material. The information in this manual is subject to change without notice.
This document contains proprietary information protected by copyright. No part of this document may be reproduced, copied, translated or incorporated in any other material in any form or by any means, whether manual, graphic, electronic, mechanical or otherwise, without the prior written consent of Printronix, Inc.
COPYRIGHT
All rights reserved.
©
2005, 2007 PRINTRONIX, INC.
Trademark Acknowledgements
Printronix and LinePrinter Plus are registered trademarks of Printronix, Inc.
IBM is a registered trademark of International Business Machines Corp.
Epson is a registered trademark of Seiko Epson Corporation.
Table Of Contents
1 Introduction............................................................. 9
About This Manual....................................................................................9
Warnings And Special Information .....................................................9
Related Product Information .............................................................. 9
Software Features .................................................................................... 9
2 Configuring With The Control Panel ..................... 11
Introduction .............................................................................................11
Printing The Configuration......................................................................12
The Configuration Menu .........................................................................15
Moving Within The Configuration Menu ...........................................16
Saving Your New Configuration ....................................................... 18
LinePrinter Plus Menu ...................................................................... 21
KSSM Emulation ..............................................................................25
3 LinePrinter Plus KSSM Emulation ........................ 27
KSSM Emulation..................................................................................... 27
Exceptions And Differences .............................................................27
Default Values And States ............................................................... 28
Escape Sequences .......................................................................... 29
FS Sequences..................................................................................29
Super-Set Commands......................................................................30
Set And Reset Codes ...................................................................... 30
Configuring The KSSM Emulation With Control Codes.......................... 30
Format For Control Code Descriptions.............................................30
Control Code Index ......................................................................... 31
Advance Print Position Vertically...................................................... 34
Align SBCS Character with DBCS Character...................................34
Cancel The Alignment of SBCS Character With DBCS Character ..35
Backspace........................................................................................35
Barcode Printing...............................................................................36
Beeper..............................................................................................39
Cancel Line ...................................................................................... 39
Carriage Return................................................................................39
Define Pattern for Special Printing Effect ......................................... 40
Define User-Defined Character........................................................ 40
Table Of Contents
Define User-Defined Chinese Character.......................................... 41
Delete Last Character in Buffer........................................................ 41
Divided Hangul Double Height .........................................................42
Enable Printing of Upper Control Codes ..........................................42
Enable Upper Control Codes ........................................................... 43
Font Expansion ................................................................................43
Form Feed........................................................................................ 44
Graphic Printing ...............................................................................44
Graphics Printing: Select Bit Image ................................................. 45
Initialize Printer.................................................................................45
Line Feed ......................................................................................... 46
Master Select ...................................................................................47
Master Select In DBCS Mode .......................................................... 48
Master Select One-Line Attribute In DBCS Mode ............................49
Pair Two Characters in Vertical Printing .......................................... 49
Reassign Bit-image Mode ................................................................ 50
Select 1/6-inch Line Spacing............................................................50
Select 1/8-inch Line Spacing............................................................50
Select 10 CPI ................................................................................... 51
Select 12 CPI ................................................................................... 51
Select 15 CPI ................................................................................... 51
Select 60-dpi Graphics..................................................................... 52
Select 120-dpi Graphics................................................................... 52
Select 120-dpi Graphics................................................................... 53
Select 240-dpi Graphics................................................................... 53
Select an International Character Set .............................................. 54
Select Bit Image ...............................................................................55
Select Bold Font ............................................................................... 56
Cancel Bold Font.............................................................................. 56
Select Character Style .....................................................................56
Select Character Table ....................................................................57
Select Condensed Printing...............................................................57
Select Condensed Printing...............................................................58
Cancel Condensed Printing .............................................................58
Select DBCS Print Quality................................................................ 59
Select Double-strike Printing............................................................ 59
Cancel Double-strike Printing........................................................... 59
Select Double-width Printing (One Line) ..........................................60
Cancel Double-width Printing (One Line) ......................................... 60
Cancel Double-width Printing (One Line) ......................................... 60
Select Double-width Printing in DBCS Mode
(One Line) ........................................................................................ 61
Table Of Contents
Cancel Double-width Printing in DBCS Mode
(One Line) ........................................................................................ 61
Select DBCS Mode .......................................................................... 62
Cancel DBCS Mode .........................................................................62
Select Hangul Myunjo/Gothic Style ..................................................62
Select Italic Font...............................................................................63
Cancel Italic Font .............................................................................63
Select Print Quality ...........................................................................63
Select Printer....................................................................................64
Deselect Printer................................................................................ 64
Select Superscript/Subscript Printing ............................................... 64
Cancel Superscript/Subscript Printing..............................................65
Select DBCS Super/Subscript Printing............................................. 65
Select Vertical Printing ..................................................................... 65
Cancel Vertical Printing (Select Horizontal Printing) ........................66
Set n/60-inch Line Spacing .............................................................. 66
Set n/180-inch Line Spacing ............................................................ 66
Set Absolute Horizontal Print Position.............................................. 67
Set Bottom Margin ...........................................................................67
Cancel Bottom Margin......................................................................67
Set DBCS Character Half Width.......................................................68
Cancel DBCS Character Half Width and Super/Subscript Printing .. 68
Set Horizontal Tabs.......................................................................... 68
Set Intercharacter Space .................................................................69
Set Intercharacter Spacing of DBCS Character
(Hangul Extension)...........................................................................69
Set Intercharacter Spacing Of SBCS Character
(Hangul Extension)...........................................................................70
Set Left Margin ................................................................................. 70
Set Page Length In Inches ...............................................................71
Set Page Length In Lines .................................................................71
Set Relative Horizontal Print Position...............................................72
Set Right Margin ..............................................................................72
Set Vertical Tab Channels ...............................................................73
Set Vertical Tabs .............................................................................. 73
Set Vertical Tabs In VFU Channels..................................................74
Tab Horizontally ............................................................................... 75
Tab Vertically ...................................................................................75
Turn Auto-wrap Around On/Off ........................................................ 76
Turn Double-Height Printing On/Off .................................................76
Turn Double-Width, Double-Height Printing On/Off ......................... 77
Turn Double-Width Printing On/Off .................................................. 77
Table Of Contents
Turn Extending Table Character On/Off ..........................................78
Turn On/Off OCRB Selection ...........................................................78
Turn Proportional Mode On/Off........................................................ 79
Turn Underline On/Off ......................................................................79
Turn Underline On/Off (Hangul Extension) ...................................... 80
A Standard ASCII Character Set ............................. 81
B Code Table...........................................................83
Korean Standard Code Table (KSC5601) .............................................. 83
C Contact Information .............................................. 95
Printronix Customer Support Center....................................................... 95
Printronix Supplies Department ..............................................................95
Corporate Offices.................................................................................... 96

1 Introduction

About This Manual

This manual is designed so you can quickly find the information you need to operate your printer with the Korean Standard (KS) emulation.
This book does not explain how to operate the printer. For printer operation, see the

Warnings And Special Information

Read and comply with all information highlighted under special headings:
User’s Manual.
WARNING
CAUTION
IMPORTANT
Conditions that could harm you.
Conditions that could damage the printer or related equipment.
Information vital to proper operation of the printer.
NOTE: Information affecting printer operation.

Related Product Information

Refer to the following book for printer operation:
User’s Manual.
troubleshooting guidelines. Also describes the keys on the control panel and provides quick reference information on daily printer operations such as loading paper and replacing ribbons.

Software Features

The KSSM emulation software provides the following features:
Graphics and print quality. You can enable graphics mode and specify a
density mode (dots per inch), for either 8-pin or 24-pin images.
Print Attributes. Characters can be bold, italic, double high, double wide,
etc.
Provides configuration instructions, descriptions, and
Page Formatting. Commands which allow you to set line spacing, page
length, and vertical tabbing.
Font Typefaces. Also referred to as print modes. The six typefaces are
LQ, Near LQ, Normal, Hi-Speed, Super Hi-Speed, and Ultra Hi-Speed.
9
Chapter 1 Software Features
10
2 Configuring With The

Introduction

Control Panel
IMPORTANT
PRT CONFIG Circular Pad
Configuration directly affects printer operation. Do not change the configuration of your printer until you are thoroughly familiar with the procedures in this chapter.
In order to print data, the printer must respond correctly to signals and commands received from the host computer. Configuration is the process of matching the printer's operating characteristics to those of the host computer and to specific tasks, such as printing labels or printing on different sizes of paper. The characteristics that define the printer's response to signals and commands received from the host computer are called configuration parameters. Examples are line spacing, form length, etc.
You can change the parameters by sending appropriate control codes, or by pressing keys on the control panel. Control codes offer more versatility, and they override control panel settings.
This chapter explains how to use the control panel.
Chapter 3 provides information about control codes.
Message Display
SET TOF
Emulation
Status Indicator
JOB SELECT
ENTER
ONLINE <LP+> RIBBON LIFE 100%
ON LINE/CLEAR
Ribbon Life Indicator
Figure 1. The Control Panel
VIEW/EJECT
PAPER ADVANCE
CANCEL
11
Chapter 2 Printing The Configuration

Printing The Configuration

CONFIG.
CONTROL
* = Factory Default
Load Config.
Save Config. Print Config.
Current Short* Current Full Factory Power-Up All 1 2 3 4 5 6 7 8
Name
Configs.
Reset Cfg.
Names
Delete Config.
Power-Up
Config.
Protect
Configs.
It is recommended you print a configuration to determine what is already stored and what needs to be modified.
You can print any or all of the configurations shown above. Configurations 1-8 are the customized configurations.
12
To print a configuration, follow the procedure in Table 1.
Table 1. Printing Configurations
Step Key Result Notes
1. Make sure the printer is on.
2.
3. Allows you to make configuration
4.
5.
6.
ON LINE/CLEAR
+
UNTIL
OFFLINE QUICK SETUP
ENTER SWITCH UNLOCKED
OFFLINE QUICK SETUP
OFFLINE CONFIG. CONTROL
CONFIG. CONTROL Load Config.
CONFIG. CONTROL Print Config.
changes.
7.
8. Press until the desired option
OR
9. The configuration listing begins
ENTER
Print Config. Current Short*
Print Config. All
OFFLINE CONFIG. CONTROL
displays.
printing.
10. Carefully tear off the configuration printout.
13
Chapter 2 Printing The Configuration
Table 1. Printing Configurations (continued)
Step Key Result Notes
11. Locks the ENTER key.
ENTER SWITCH LOCKED
+
12.
ON LINE/CLEAR
ONLINE
13. Store the printout in a safe place. The printer is ready for operation.
NOTE: Another way to print the current configuration is to go OFFLINE,
press the PRT CONFIG key, and then press ENTER.
14

The Configuration Menu

OFFLINE
QUICK
SETUP
Host Interface Graphic Spd Up Typeface DBCS CPI Select LPI DBCS ASCII Style Ribbon End Point Reset Cmd CFG Ld Load Config. Save Config. Power-Up Config.
ADVANCED
USER
See the
User’s Manual
CONFIG.
CONTROL
See the
User’s Manual
DIAGNOSTICS
See the
User’s Manual
HOST
INTERFACE
See the
User’s Manual
EMULATION
LinePrinter+
Printer Protocol
KSSM
Character Sets Define CR Code CR Bold Select Auto LF Define LF Code Printer Select 20 CPI Condensed
Alt Set 80-9F CPI/LPI Select Host Command Font Attributes Graphics Spd Up Page Format Reset Cmd CFG Ld Error Handling
PRINTER
CONTROL
See the
User’s Manual
Figure 2. Configuration Menu Overview
15
Chapter 2 The Configuration Menu

Moving Within The Configuration Menu

The example in Table 2 explains how to change the LPI value.
Table 2. Changing Configurations
Step Key Result Notes
1. Make sure the printer is on.
2.
3. Allows you to make configuration
4.
5.
6.
7.
ON LINE/CLEAR
+
UNTIL
OFFLINE QUICK SETUP
ENTER SWITCH UNLOCKED
OFFLINE CONFIG. CONTROL
OFFLINE EMULATION
EMULATION LinePrinter+
LinePrinter+ Printer Protocol
LinePrinter+ CPI/LPI Select
changes.
8.
9.
10. Press until the desired value
OR
CPI/LPI Select Select LPI
Select LPI
6.0 LPI*
Select LPI
8.0 LPI
displays.
16
Moving Within The Configuration Menu
Table 2. Changing Configurations (continued)
Step Key Result Notes
11. An asterisk indicates the value
ENTER
Select LPI
8.0 LPI*
selected.
12. Use the diagrams on the following pages to navigate your way through the menu. Press
or to move vertically; press or to move horizontally and to scroll
through the values. Press ENTER to select a value. Press ONLINE/CLEAR, to move to the top of the menu.
To SAVE CHANGES AS A CONFIGURATION that is stored in memory and can be loaded later:
13.
UNTIL
14.
UNTIL
OFFLINE EMULATION
OFFLINE CONFIG. CONTROL
15. Go to Table 3, step 4.
To USE CURRENT CONFIGURATION WITHOUT SAVING:
16. Locks the configuration
ENTER SWITCH LOCKED
parameters.
+
17.
ON LINE/CLEAR
ONLINE
18. The printer is ready for operation. All parameters are effective as long as the printer is on. When you turn off the printer, the parameters will be erased from memory.
17
Chapter 2 The Configuration Menu

Saving Your New Configuration

CONFIG.
CONTROL
* = Factory Default
Load Config.
Name Configs. Reset Cfg.
Save Config. Print Config.
1 2 3 4 5 6 7 8
After changing all of the necessary parameters, it is recommended you save them as a configuration that can be stored for future use and loaded later. If you do not save your configuration before you power off the printer, all of your parameter changes will be erased. The Save Config. option allows you to save up to eight configurations to meet different print job requirements. Configurations 1 through 8 are empty until you save values to them using the Save Config. option. For example:
Config 1: Selects LQ typeface, 5 cpi, 6 lpi Config 2: Selects Near LQ typeface, 6 cpi, 8 lpi
Names
Delete Config.
Power-Up
Config.
Protect
Configs.
18
Once you have saved a configuration using this option, it will not be lost if you power off the printer. You can load a configuration for a specific print job and modify and resave it. You may want to print your configurations and store them in a safe place, such as inside the printer cabinet.
NOTE: The Protect Configs. parameter must be set to disable before you can
save a configuration. Once you save a configuration, the Protect Configs. parameter automatically returns to enable. Once you change active emulations, any changes to the previously selected emulation will be gone unless they have been saved.
Saving Your New Configuration
Table 3. Saving Configurations
Step Key Result Notes
1. If you are already in the configuration menu, go to step 5.
2.
3. Allows you to make configuration
4.
5.
6.
ON LINE/CLEAR
+
OFFLINE QUICK SETUP
ENTER SWITCH UNLOCKED
OFFLINE QUICK SETUP
OFFLINE CONFIG. CONTROL
CONFIG. CONTROL Load Config.
CONFIG. CONTROL Save Config.
changes.
7.
8. Press until the desired number
OR
Save Config. 1*
Save Config. 2
(1-8) displays.
NOTE: Do not turn off the printer while Save is in progress because you might lose your
configuration.
9. The configuration is now saved in
10.
ENTER
UNTIL
Save Config. 2*
CONFIG. CONTROL Save Config.
memory. (In this case, config. 2.)
19
Chapter 2 The Configuration Menu
Table 3. Saving Configurations (continued)
Step Key Result Notes
NOTE: It is recommended you print the configuration. Go to page 13, step 5. If you decide not
to print the configuration, then continue with the following steps.
10. Locks the ENTER key.
ENTER SWITCH LOCKED
+
11.
ON LINE/CLEAR
ONLINE
12. The printer is ready for operation.
20
OFFLINE
EMULATION
LinePrinter+

LinePrinter Plus Menu

LinePrinter Plus Menu
Printer
Protocol
KSSM
(see page 25)
CPI/LPI Select
Select CPI
10.0 CPI*
12.0 CPI
13.3 CPI
15.0 CPI
17.1 CPI
20.0 CPI
Select LPI
6.0 LPI*
8.0 LPI
DBCS CPI
5.0 CPI
6.0 CPI*
6.7 CPI
7.5 CPI
8.5 CPI
9.0 CPI
10.0 CPI Other CPI
Host
Command
Enable* Ignore All Ignore CPI Ignore LPI Ignore Unidir. Ignore Pg. Fmt.
Font
Attributes
Typeface
LQ* Near LQ Normal Hi-Speed Super Hi-Speed Ultra Hi-Speed
Styling Type
Myungjo* Gothic
High Density
Disable* Enable
Bold Print
Disable*/Enable
Italic Print
Disable* Forward Slant Backward Slant
Slashed Zero
Disable*/Enable
DBCS/ASCII Mode
DBCS Mode* ASCII Mode
DBCS ASCII Style
Normal* OCRB Normal Thin
Text Position
Bottom of Line* Top of Line
Encoding
Address Table* UTF8
Taller 15 CPI
Disable* Enable
Horizontal Expnd
24* pt size (24-72)
Vertical Expnd
24* pt size (24-72)
Graphics
Spd Up
Normal* Enhanced Turbo Match Typeface
Page Format
(see the next page)
Reset Cmd
CFG Ld
Disable* Power-Up Config. Current Config. Factory Config.
Error
Handling
Illegal Code Pt.
Normal* As Space
Figure 3. LinePrinter Plus Menu
21
Chapter 2 The Configuration Menu
Page Format
(from the
previous page)
Form Length
Abs. Length IN
11.0* inches (0.1-24)
Abs. Length MM
279.4* mm (0.1-609.6)
Funct. of Lines
66* lines (1-192)
Form Width
Abs. Width IN
13.6* inches (0.1-13.6)
Abs. Width MM
345.4* millimeters (0.1-345.4)
Funct. of CPI
163* Characters (1-272)
Margins
Left Margin
0* columns (0-369)
Right Margin
0* columns (0-369)
Bottom Margin
0* lines (0-451)
Perforation
Skip
Disable* 1/2 inch 2/3 inch 5/6 inch 1 inch
CPI/LPI Select
This parameter lets you specify the characters per inch (cpi) and lines per inch (lpi) values. The defaults are:
Select CPI - 10.0 cpi
Select LPI - 6.0 lpi
DBCS CPI - 6.0 cpi
Host Command
Enable. The default. Enables all host printing commands.
Ignore All. This function treats all control codes and printing commands
as the data.
Ignore CPI. This function ignores the CPI selection commands only
(e.g., ESC M, ESC P, and ESC G).
Ignore LPI. This function ignores the LPI selection commands only
(e.g., ESC 2 and ESC 0).
Ignore Unidir. All unidirectional commands sent by the host are ignored
by the printer.
Ignore Pg. Fmt. This function ignores all page format setting commands
sent from the host.
22
LinePrinter Plus Menu
Font Attributes
This submenu allows you to define the following font attributes: typeface, bold print, and italic print. You can also specify if the ASCII character will print with the OCRB mode. Also, specify if the zero character will print with a slash.
When High Density is enabled, the LQ Typeface will print in higher print density. It will not take effect when other typefaces are selected.
Text position specifies where the text will be positioned in the line space. When set to Top of Line, text will be positioned at the top of the line space. When set to Bottom of Line, the text will be positioned as if it were at the bottom of a 6 lpi line space. The following example shows both Top of Line and Bottom of Line text positions:
Dot
Top of Linespace
Bottom of 8 LPI Linespace
Bottom of 6 LPI Linespace
Row
1 2 3 4 5 6 7 8
9 10 11 12
Text Position
Top of Line
1
Text Position
Bottom of Line
The option “DBCS/ASCII Mode” specifies the operating mode of the Hangul printer. If it is set to DBCS mode, it can print double-byte characters as well as a limited number of single-byte characters.
The option “Address Table” specifies the address table supported: KSC5601.
The option “UTF8” allows the user to input UTF8 data stream.
The option “Taller 15cpi” specifies the appearance of ASCII character in 15cpi in Ascii mode. If it is set to “Enable”, the characters in 15cpi will be the same height with other CPIs like 10cpi. If it is set to “Disable”, the characters in 15cpi will appear shorter than other CPIs like 10cpi.
The option “Horizontal Expnd” specifies the character horizontal expansion in dot for both ASCII and DBCS characters in DBCS mode.
The option “Vertical Expnd” specifies the character vertical expansion in dot for both ASCII and DBCS characters in DBCS mode.
Graphics Spd Up
This menu is used to increase (speed up) graphic printing speed by turning on the Enhanced/Turbo mode.
Normal. The default. The printer prints at the given input graphics
resolution.
Enhanced. The printer provides first-level speed up, which means the
speed is faster than Normal mode.
23
Chapter 2 The Configuration Menu
Turbo. The printer provides second-level speed up, which means the
speed is faster than Enhanced mode.
Match Typeface. The input 180x180 dpi grahics resolution will drop-dot
to the resolution which matches the typeface selected.
Page Format
Form Length
Forms length is the number of lines that can be printed on a page. You can set forms length in inches or in print lines per page. The most accurate method is lines per page.
Form Width
When using paper that is 8 1/2 inches wide, selecting an 8-inch print width prevents printing beyond the right margin and damaging the hammer tips and platen.
Margins
You can set the bottom, left, and right form margins.
Perforation Skip
Perforation Skip allows or prevents printing on the page perforation. When enabled, it sets up a skip-over margin of 1/2,” 2/3,” 5/6,” or 1.” For example, a skip-over margin of 1” allows a 1” margin at the bottom of the page perforation. The default is Disable.
Reset Cmd CFG Ld
When the printer receives a host data stream reset command (ESC @ in addition to resetting printer variables, the selected configuration will be loaded.
Disable. The default. The active emulation parameters are loaded when
the reset command is executed.
Power-Up Config. The power-up configuration is loaded when the reset
command is executed.
Current Config. The currently selected configuration is loaded when the
reset command is executed.
Factory Config. The factory installed configuration is loaded when the
reset command is executed.
24
Error Handling of Illegal Code Point
This command determines the way illegal DBCS characters are processed:
Normal. The default. Will ignore illegal DBCS characters.
As Space. Will insert two space characters (0X20, 0X20) when the data
stream contains error DBCS coding.
OFFLINE
EMULATION
LinePrinter+
Printer
Protocol
KSSM

KSSM Emulation

KSSM Emulation
Character
Sets
Standard Sets*
IBM PC* Epson Set
Define CR
Code
CR = CR* CR = CR + LF
CR Bold
Select
Enable* Disable
20 CPI
Condensed
Enable* Disable
Auto LF
Enable* Disable
Alt. Set 80-9F
Control Code* Printable
Define LF
Code
LF = CR + LF* LF = LF
Figure 4. KSSM Emulation Menu
Character Sets
This parameter selects a character set for the KSSM emulation.
Printer Select
Disable* Enable
CR Bold Select
This option determines whether CR (0x0D) will turn on the bold attribute.
Enable. The text after CR will be printed as bold together with the text
before CR.
Disable. Normal CR function.
25
Chapter 2 The Configuration Menu
Define CR Code
The Define CR code option controls the action of the printer when it receives a Carriage Return code (hex 0D) from the host computer. If this feature is enabled, each time the printer receives a Carriage Return, it inserts an additional Line Feed code (hex 0A) into the data stream. Do not use this feature if the host computer sends Line Feeds to the printer.
CR = CR. Does not insert an extra Line Feed after each Carriage Return.
CR = CR + LF. Inserts an extra Line Feed after each Carriage Return.
Auto LF
This option defines the printer actions when print data is received past the forms width setting.
Enable. Performs an automatic carriage return and line feed when data is
received past the forms width.
Disable. Discards any data past the forms width.
Define LF Code
The Define LF code option controls the action of the printer when it receives a Line Feed code (hex 0A) from the host computer. If this feature is enabled, each time the printer receives a Line Feed, it inserts an additional Carriage Return code (hex 0D) into the data stream. This feature can be used in most installations, but it is required if the host computer does not send Carriage Returns to the printer.
LF = CR + LF. Adds an extra Carriage Return with each Line Feed.
LF = LF. Does not add a Carriage Return with a Line Feed.
Printer Select
Disable. Ignores the ASCII DC1 and DC3 control codes.
Enable. Disables the printer when a DC1 control code is received, and
enables the printer when a DC3 control code is received.
20 CPI Condensed
Compressed print characters are narrower than the normal character set. This is helpful for applications for which you need to print the maximum amount of information on a page.
Enable. Prints about 60 percent of the width of normal characters when
compressed print is chosen by the host computer. For example, a 12 cpi font will compress to 20 cpi.
26
Disable. Does not compress print widths, even if condensed print is
chosen by the host.
Alt. Set 80-9F
Control Code. Interprets data in the range of hex 80 through hex 9F as a
control code.
Printable. Prints data in the range of hex 80 through hex 9F.
3 LinePrinter Plus KSSM

KSSM Emulation

“Emulation” refers to the ability of a printer to execute the commands of other printer control languages.

Exceptions And Differences

Because of mechanical differences between your printer (a line matrix printer) and moving printhead serial matrix printers, some features are approximated or not supported.
The KSSM emulation supports the following print modes: LQ, Near LQ,
Normal, Hi-Speed, Super Hi-Speed, and Ultra Hi-Speed.
Emulation
Various character sets can be used including IBM-PC Graphics (IBM
Code Page 437) and Epson.
Commands not supported by our printer are:
Control paper loading/ejecting (ESC EM
Select user-defined set (ESC %
Define user-defined characters (ESC & NUL
Copy ROM to RAM (ESC :)
Select justification (ESC a)
Select typeface (ESC k)
Select printing colour (ESC r
Select 17/180-inch line spacing (ESC 1)
One line unidirectional printing (ESC <)
Absolute position of Hangul and Hanji (FS $
Multiple byte Hangul character printing (FS M
Print ASCII characters as in ASCII mode (FS a
Select Hangul completed/combined font (FS t
n
)
n
)
n
)
n m
)
n
)
n1 n2
)
n
)
n
)
27
Chapter 3 KSSM Emulation

Default Values And States

Your printer stores a set of typical operating states and conditions in the flash memory. The first time you power up the printer, the factory settings in Table 4 are automatically invoked.
Characteristic Default Setting
Select LPI 6.0
Select CPI 10.0
DBCS CPI 6.0
Host Command Enable
Typeface LQ
Styling Type Myungjo
Table 4. Factory Settings
High Density Disable
Bold Print Disable
Italic Print Disable
Slashed Zero Disable
DBCS/ASCII Mode DBCS Mode
DBCS ASCII Style Normal
Text Position Bottom of Line
Encoding Address Table
Taller 15 CPI Disable
Graphics Spd Up Normal
Left Margin 0 columns
Right Margin 0 columns
Bottom Margin 0 lines
Perforation Skip Disable
Form Length 11.0 inches
279.4 millimeters 66 lines
28
Form Width 13.6 inches
345.4 millimeters 163 characters
Reset Cmd CFG Ld Disable
Illegal Code Pt. Normal
Define CR Code CR = CR

Escape Sequences

Table 4. Factory Settings
Characteristic Default Setting
Auto LF Enable
Define LF Code LF = CR + LF
Printer Select Disable
20 CPI Condensed Enable
Alt Set 80-9F Control Code
Escape Sequences
Some KS control codes consisting of more than one character are called escape sequences because the first character in the sequence is the ASCII ESCape character. ESC alerts the printer that a special function command— not printable characters—follows.
The format for an escape sequence is:
ESC (parameter 1)(parameter 2)...(parameter
For example, to select emphasized (offset) print, send the ESC character immediately followed by the E character (do not add a space character):
ASCII: ESC E Hex: 1B 45Dec: 27 69
n
)

FS Sequences

Another type of control code which consists of more than one character is called an “FS sequence,” because the first character is the ASCII FS character. This control code is used when the printer is printing Double Byte Character Set (DBCS) characters. The FS alerts the printer that a special function command (not printable characters) follows. Most FS commands work only on DBCS characters.
The format for an FS sequence is:
FS (parameter 1)(parameter 2)...(parameter
For example, to rotate DBCS characters by 90 FS character immediately followed by the J character:
ASCII: FS J Hex: 1C 4ADec: 28 74
n
)
×counter-clockwise, send an
29
Chapter 3 Configuring The KSSM Emulation With Control Codes

Super-Set Commands

The unique control code sequence for both SSCC and ASSC commands are defined in the table below:
Control Code ASCII Value Hex Value Dec Value
SSCC ESC | } ; 1B 7C 7D 3B 27 124 125 59
ASSC ESC | } ; q 1B 7C 7D 3B 71 27 124 125 59 113

Set And Reset Codes

Set and reset are other ways of saying turn on and turn off; select and deselect; or enable and disable.
Some printer features are set and reset with an escape sequence and the numbers 1 or 0. In those cases, you can represent 1 and 0 as hexadecimal codes 01 and 00, or as the ASCII codes for the numerals 1 and 0 (hexadecimal 31 and 30).

Configuring The KSSM Emulation With Control Codes

The remainder of this chapter describes the KS printer control language codes that may be sent from a host computer attached to the printer in order to invoke and configure numerous KS emulation functions.

Format For Control Code Descriptions

The following information is listed for each code (where applicable and possible) in this chapter:
ASCII Mnemonic. The ASCII name for the control code.
Hex Code. The hexadecimal equivalent of the code. (For octal equivalents,
refer to Appendix A.)
Dec Code. The decimal equivalent of the code.
Purpose. The function(s) of the control code.
Comment. A description of exceptions or limitations to normal use.
Example. A sample is provided for some control codes to illustrate how the
code is used.
30
Loading...
+ 72 hidden pages