Star Micronics NX-2400 user manual Font Control Commands, Select draft quality characters

Page 65

AppendixB

PRINTER CONTROL COMMANDS

This appendix describes the printer’s control commands. The commands are arranged by function. The name of each command is followed by a table like the one below:

Mode

ASCII

 

 

 

 

 

 

Decimal

 

 

 

 

Hexadecimal

 

<ESC>

-X”

“ 1”

 

 

 

27

120

49

 

 

1B

78

31

Both

<ESC>

“X”

Cl>

 

 

 

27

120

 

1

 

 

1B

78

01

 

 

 

 

 

 

 

 

Mode:

 

Indicates

the

mode

in

which

the

command

is recognized.

 

 

 

Std.

 

Standard

mode

(DIP switch

1-6

on)

 

 

 

 

IBM

 

IBM

mode

 

(DIP

switch

 

1-6 off)

 

 

 

 

 

Both

 

Both

Standard

and

IBM

modes

 

 

 

ASCII:

 

Indicates

the

ASCII

coding

of

the

command.

Control

 

 

 

characters are enclosed in pointed brackets: For example,

 

 

 

< 1 >

means

character

 

code

1.

 

 

 

 

 

 

Decimal:

 

Gives

the

command

 

in

decimal

character

codes.

 

Hexadecimal:

Gives

the

command

 

in

hexadecimal

 

character

codes.

Parameters for which values must be supplied are indicated by italic letters such as n.

Many commands have alternative forms. Some commands use < ESC>

(character code 27) in Standard mode and < FS > (character code 28) in IBM

mode. Other commands have parameters that can be specified as either character

codes or digit characters, like the parameter 1 in the sample command above.

FONT CONTROL COMMANDS

Select draft quality characters

Mode

ASCII

 

 

 

Decimal

 

Hexadecimal

 

<ESC>

“X”

“0”

27

120

48

1B

78

30

Both

< ESC >

“x”

co>

27

120

0

1B

78

00

 

Changes from letter quality to draft quality. Ignored if the printer was set to stay in panel style at power-on.

57

Image 65
Contents NX-2400 Page HOW to USE this Manual Features of the Printer Quad-sized Tableofcontents With DOS and Basic Download Character Generator Chapter Platen Remove the top cover Setting UPInstall the ribbon cartridge Replace the top cower Install the optional IC cardMount the paper guide Connect the printer to the computerFigure l-7.Mounting the paper guide for single sheets Semiautomatic loadingManual loading Loading and Parking Fanfold Forms 11. Closing the sprocket covers Paper parking Short se/f test Paper unparkingInterface test Long se/f testAdjusting the Printing GAP International character set Print style and pitch selection Page Page OFF Control Panel OPERAllONS Paper Feed switch On Line switchSty/e/Pitch switch Quiet Mode switchSh0ff test paffern On Line switch POWER-UP FunctionsLprint CHR$I Next B8 B9 Switch combination functions of control panel Switch Combination FunctionsTop Of fOff?L Style/Pitch Page Memo Installing Your Software Using WE PR//vERPrinter Command optionsUsing Your Software Setting the DIP SwitchesType sty/e and pitch selection Printercommands Memo HARD-COPYING the Screen MS-DOS and PC-DOS Using the Printer with DOS and BasicName of list device PRN Programming the Printer with DOS CommandsNew file Acopy LQELITE.DAT PRN Aprint README.DOC Programming the Printer with Basic‘Cancel Lprint the Spacings are Changed Next H How the program works IBM Lprint ES= cHR$ocHR$6ocHR$6o Replacing the Ribbon Cleaning the PrinterReplacing the ribbon cartrlctge Replacing the Print HeadConnector cover Fligure 5-2. Replacing the print head Replacing the Battery in the RAM Card If printing is faint, incomplete, or unclear TroubleshootingIf a// text is printed on the same line If line spacing is twice as wide as expectedIf you have problems with horizontal tabulation If you have problems with graphicsIf you have problems with download characters Interface and Emulation Switches and fndicatorsPrinting Mechanism Dot Matrix Size Character SetsType Sty/es and Pitches Paper SpecificationsDimensions and Weight Interface Signals Electrical Specifications Environmental Requirements OptionSignal Pin No Name Memo Select draft quality characters Font Control CommandsSelect LQ type Style Select LQ charactersSelect ornament character Select Italic CharactersStart Underlining Select Upright CharactersDouble-strike Printing Stop Underlining Cancel Superscript Or subscriptStart Overlining Stop OverliningSelect IBM character set Select Standard characterSelect character set #7 Select Character set #2Enable printing of a// character codes on next character Enable printing of all character codesSelect s/ash zero Select normal zeroElite pitch Pica pitchHigh-speed elite pitch High-density elite pitchCancel expanded printing Cancel condensed printingCondensed printing Expanded printingCaucel one-line expanded printing Select master print modeSe/ect proportional spacing Select fixed spacingSelect double or quadruple size Increase character SpacingPrint double-height characters Return to normal HeightSelect character height, width, and line spacing Select Character WidthSelect character type and print pitch Vertical Position CommandsSet line spacing to 7160 or 7172 inch Set line spacing to 718 inchSet base unit for line spacing Set line spacing to 716 inchSet line spacing to n/780 or n/216 inch Set line spacing to n/360 inchSelect reverse feed mode Select forward feed modeDefine line spacing to n/72 inch Execute ESC aPerform one n/780-inch reverse line feed Perform one n/180-inch or n/2164nch line feedFeed paper n lines Set top of page at current positionSet page length to n inches Cancel top and bottom marginsSet top margin Set bottom marginEnable paper-out detector Disable paper-out detectorSet vertical tab stops Set vertical tab stops every n linesVertical tab Select Vertical Tab channelSet left margin Set right marginSet left and right margins Cancel automatic line feedCarriage return Set automatic Line feedLeff justify BackspaceCenter text Right justifySet horizontal tab stops Reset all tab stopsSet horizontal tab stop every n columns Horizontal tabRelative horizontal tab in inches Relative horizontal TabAbsolute horizontal tab in inches Absolute horizontal tab in columnsPrint 8-bit single-density graphics Graphics CommandsPrint 8-bit double-density graphics Print 8-bit double-density, double-speed graphicsPrint M-bit hex-density graphics Select graphics modeDownload Character Convert graphics densityCopy standard characters from ROM into RAM Select download character set Define DownloadDelete Last character Sent Other Printer Control CommandsROM MSBRepeat data Cancel Quiet PrintQuiet Print Last LineSet printer off-line Cancel Immediate PrintSet printer on-line Stop printingUnidirectional printing PrintingOne-line unidirectional printing Manual feedSet print start position on ASF Reset printerEject Paper Memo Norma/ character AppendixCDOWNLOADSemi-condensed Proportional Super/subscript character Iiao 1600 2440 If ST=5 then CLS Goto 3480 Character Sets Standard Character SET I7’Pj-iii-j IBM Character SET #2 Page IBM CH Aracter SET #I Additional Character SET SfR International Character SetsIndex 111 Lol107 Command Summary ESC ESC p ESC p0 ESC p.‘ 111