Star Micronics NX-2410 user manual Define Download, Select download character set

Page 90

Define

download

characters

 

 

 

 

 

 

 

 

 

Mode

ASCII

 

 

 

 

 

Decimal

 

 

Hexadecimal

 

<ESC>

“I%” co>

 

nl

27

38

0

nl

1B

 

26

00

nl

Std.

 

n2

m0

ml

m2

n2 m0

ml

m2

n2

m0

ml

m2

 

 

dl

d2

 

 

dx

dr

dz

dx

 

dr

d.?

dx

 

<ESC>

“=”

-co>

 

nl

21

61

0

nl

1B

3D

00

nl

IBM

 

n2

m0

ml

m2

n2 m0

ml

m2

n2

m0

ml

m2

 

 

dl

d2

 

.

dx

dl d.2

dx

 

dl

dz?

... dx

Defines one or more new characters and stores them in RAM for later use. DIP switch 2-1 must be OFF; otherwise RAM is used as an input buffer, not for downloading characters, and this command is ignored.

nl is the character code of the first character defined and n2 is the character code of the last character defined. no and n2 must both be between 33 and 254. nl must be equal to or less than n2. Use of character codes 32 (space) and 127 (delete code) should be avoided if possible. The data for each character start with three bytes specifying proportional spacing at- tributes: the first byte, mO, specifies the left of the character; the second byte, ml, specifies the character width; the third byte, m2, specifies the right of the character. These values must not exceed the following max- imum limits:

Character

mode

ml

m0 + ml -I m2

Draft characters

9

12

LQ pica

characters

29

36

LQ elite

characters

23

30

LQ semi-condensed

15

24

LQ proportional

37

42

Draft super/subscripts

7

12

LQ super/subscripts

23

36

LQ prop.

super/subscripts

23

42

lrJext comes the dot data. Normal character height is 24 dots, so there must be 3 x ml bytes of dot data. If the printer is in super/subscript mode, however, the character height is 16 dots, so there must be 2 x ml bytes of dot data.

Each data byte indicates eight vertical dots, with the MSB being the top dot and the LSB the bottom dot.

For further details, please refer to the Appendix C.

Select download character set

Mode

ASCII

 

 

Decimal

 

Hexadecimal

Both

<ESC>

“o,o”

‘(1”

27

37

49

IB

25

31

<ESC>

“yo”

Cl>

27

37

1

1B

25

01

 

Selects the download character set. Ignored when DIP switch 2-1 is ON.

82

Image 90
Contents MULTI-FONT Relocate the computerorprinterwithrespectto the mceiver HOW to USE this Manual Features of the Printer Quad-sized Tableofcontents Commercial Software Download Character Generator Check the carton contents ChapterPage Setting UP Remove the top cowerInstall the ribbon cartridge Replace the top cover Lnsfall the optional IC cardConnect the printer’s power cord Connect the printer to the computerMount the paper guide Semiautomatic loading Figure i-7. Mounting the paper guide for single sheetsManual loading Loading and Parking Fanfold Forms Opening the rear coverClamp Lever Paper parking Figure l-72. Mounting the paper guide for fanfold formsTest Printing Long self test Interface testAdjusting the Printing GAP IBM Page Selected Mode You OFF Switches and Indicators ChapterOn Line switch Paper feed switchQuiet Mode switch POWER-UP Functions Short test pattern On Line switchLprint CHR$I Next Return Switch Combination Functions Switch combination functions of control panelPage Page Memo Installing Your Software Printer menuPrinter command options Type stylesWidth Initialization sequence Setting the DIP SwitchesUsing Your Software AlignmentOther printer commands Type style and pitch selectionCan help you to use ESC4italicESC5 print Memo With DOS and Basic HARD-COPYING the Screen MS-DOS and PC-DOSProgramming the Printer with DOS Commands Aprint README.DOCNew file Programming the Printer with Basic Acopy CON LQPRINT.BATLprint Lprint END How the program works Page Lprint ES= c~$oc~$6oc~$6o Cleaning the Printer RkPLACING the RibbonReplacing the Print Head Replacing the ribbon cartridgeScrews Replacing the print headReplacing the Battery in the RAM Card Replacing the batteryIf label paper becomes stuck If the printer doesn’t printIf fanfold paper becomes stuck If a// text is printed on the same lineIf you have problems with horizontal tabulation If you have problems with graphicsIf you have problems with download characters Switches and indicators Interface and Emu/a tionDot Matrix Size Character SetsPaper Specifications Dimensions and WeightType Sty/es and Pitches Environmental Requirements Electrical SpecificationsFnterface Signals OptionKCK OUT Memo Printer Control Commands FdNT Control Commands Select draft quality charactersSelect ornament character Select LQ charactersSelect LQ type style Select italic charactersSelect Upright Characters Cancel emphasized printingCancel double-strike printing Emphasized printingStop Underlining Start OverliningCharacter SET Commands Select Slash Zero Enable printing of all character codesEnable printing of a// character codes on next character Select Normal ZeroHigh-speed elite pitch Pica PitchElite pitch High-density Elite PitchCondensed Cancel condensed printingCancel Expanded Printing Expanded printingSelect proportional spacing Select Master Print modeCaocel one-line expanded printing Select fixed spacingPrint Double-height Characters Increase character SpacingSelect double or quadruple size Return To normalSelect Character WidthSelect character height, width, and line spacing Set line spacing to 718 inch Vertical Position CommandsSelect character type and print pitch Set line spacing to 7160 or 7172 inchSet line spacing to n/180 or n/276 inch Set line spacing to 116 inchSet base unit for line spacing Set line spacing to n/360 inchExecute ESC a Select forward feed modeDefine line spacing to n/72 inch Line feedPerform one n/780-inch or n/276-inch line feed Set bottom margin Cancel top and bottom marginsSet page Iength to n inches Form feedSet vertical tab stops Disable paper-out detectorEnable paper-out detector Set vertical tab stops every n linesSelect vertical tab channel Horizontal Position CommandsSet left margin TabCarriage return Cancel autoniatic line feedSet left and right margins SetCenter text BackspaceLeft justify Right justifySet horizontal tab stop every n columns ResetSet horizontal tab stops Horizontal tabAbsolute horizontal tab in inches Relative horizontal TabRelative horizontal tab in inches Absolute horizontal tab in co/umnsPrint 8-bit double-density, double-speed graphics Print 8-bit Sing/e-density GraphicsPrint 8-bit double-density Graphics Print Bit quadruple-density GraphicsSelect graphics mode Print 24bit hex-density graphicsConvert graphics Density Select Graphics ModeDownload Character Commands Copy character set from ROM into RAM cardDefine Download Select download character setSet MS6 to Other Printer Control CommandsSelect ROM character Set MS8 toRepeat data Cancel last lineCancel Quiet print Quiet printSet printer on-he Cancel immediate PrintSet printer off-line Stop printingOne-line unidirectional printing BidirectionalUnidirectional printing Manual feedReset Printer Eject paper From ASFSet print start position on ASF Memo AppendixcDOWNLOAD Normal characterDraft characters Pica Super/subscript character 1220 Then QUA=2 Else QUA=0 CLS Locate PX,PY Print ISO$ Plot chara,-.ter ------------~-~----~-~-~~~~-~~~~~ Character Sets Standardcharacterset IuIX Ih Y I-G- I-G- l-7 Page I‘? IBM Character SET #lAdditional Character SET # $ h o 0 § International Character SetsIndex Irl 107 Command Summary 109 Select base unit for line spacing 111