Hexadecimaldump - Star Micronics LC-200 User Manual

Star micronics dot matrix printer user's manual
Hide thumbs Also See for LC-200:
Table of Contents

Advertisement

Hexadecimaldump
This feature is usefid for programmerswho are debuggingprinting pro-
grams and want to see the actual codes the printer is receiving. (Some
computerschangethe codesthe programmerintended.)
Inthismode,alldatareceivedwillbeprintedin a hexadecimal d umpformat,
ratherthan the controlcodesbeing actedon as commandcodes.
This mode is accessedwith the followingprocedure:
1.
2.
3.
While holding both
the(PAPER FEED)and (
'EJMCT
lbuttons down,
turn power ON. A beep tone will be heard.
Begin printing.In place of the usual printoutyou will get a formatted
dumpshowingexactlywhatdatatheprinterreceives.Eachlinepresents
sixteencharacters,theirhexadecimal c odesto theleft andprintablechar-
actersprintedon the right.
At the end of the hexadecimaldump, set the printer off-line with the
<
ON LINE )
button.This is necessaryto printthe last line.
The followingBASICprogramis a simpletest you can run in hexadecimal
mode:
10 FOR I =0 TO 255
20 LPRINT CHR$ ( I ) ;
30 NEXT I
40 LPRINT
50 END
If your system passes the codes directly to the printer without changing
28

Advertisement

Table of Contents
loading

Table of Contents