Seiko Group TM-L60 manual RS-232C must be closed using this command

Page 63

The 12 characters, “012345678901” are print data.

A check-digital is added by the printer because 12 characters are sent, and “012345678901” is printed.

“CHR$ (0)” must always be used as the last command (representing end of data.)

Using the drawer kick-out

350 PRINT #l, CHR$(27); “P”; CHR$(0); CHR$( 10); CHR$( 100);

The “p” generates a specified pulse; Refer to ESC pm n1 n2.

In line 350, the module terminal of the drawer kick-out outputs a 20 ms pulse followed by a 200 ms wait.

How to read the status of the drawer kick-out

360 PRINT #l, CHR$(27); “u”; CHR$(0); 370 A$ = INPUT!$(l, #l)

380 IF A$ = CHR$(0) THEN PRINT “DRW: L”

380 IF A$ = CHR$( 1) THEN PRINT “DRW: H”

The “u” command in line 360 transmits the status of the drawer kick-out to printer. Refer to ESC u n.

370 receives the data from the printer through RS-232C.

380 and 390 display the status of the drawer kick-out on the CRT.

Close RS-232C

400 CLOSE #l

RS-232C must be closed using this command.

57

Image 63
Contents L 6 Page CC Class a FCC Compliance Statement for American Users Introduction Contents Appendix a General Specifications Setting UP Unpacking the Printer 1Checking the Contents of the BoxRemoving the Protective Material Choosing a Place for the PrinterPart names 4Names and Functions of PartsPaper red Power greenError red Operation panelPlugging in AC adapter Connecting the Power Supply to the PrinterConnecting the interface cable Connecting the Host Computer to the PrinterInstalling the roll paper Installing the Roll PaperPaper Slot Adjusting the Paper-end Detector How to adjust the paper-end detectorPaper-end detector Page Setting the DIP Switches Locating the DIP switchesSetting the DIP switches DIP-Switch Functions DIP-switch Functions Baud Rate SelectionPrint Density Selection 1Checking Operation with the Self Test II. Reference 1Panel Switches and Commands Switches Power switchPaper-feed switch Printable Area and Label Paper Conditions Printable areaLabel paper Miscellaneous Notes Page Error LED red Error CorrectionBe inspected Error DisplayON/OFF Timing Pattern Recovery Command Standby State DisplayCleaning the head Cleaning the HeadCover-open Detector Removing Jammed PaperCover-open detector How to use this table Controlling the printer with commandsCommand Descriptions CommandsCommand descriptions XXX Command ESC ! n ESC SP nESC $ n1 n2 ESC & s n m ap s Xam-n+l ESC % n= n 1 + 2 5 6 X n 2 m = 0 ESC * m n1 n2 d kVertical Direction Horizontal Direction ESC = n ESC 3 nESC D nkNUL ESC @Range ESC E nESC J n ESC G nESC V n ESC R nESC ¥ n1 n2 ESC nESC a n Position ESC c 4 nESC p m n1 n2 ESC c 5 nESC d n ESC u n ESC t nESC Journal near-end GS*n1n2dn1xn2x8 GS FFDot Density GS/mGS a m n GS C 0 m n PER Feed switch or turning the power onGS Cl, GS C2, GS c, GS C GS C1 n1 n2 n3 n4 n5 n6T h c o u n t d o w n GS C2 n1 n2To stop counting GSC N1 N2 N3 N4 N5With counting down GS H nWith counting up GS f nGS k n d k NUL GS w nGS n1 n2 n3 Before printing How to write program Printing on the roll paperProgram Descriptions IntroductionSend Print Data GS H n Initialize printer again Printing bar codesRS-232C must be closed using this command Sample Program onto thermal paper Printing on label paper Sample Program onto thermal label paper Appendix a General Specifications Printing specificationsCharacters specifications Paper Thermal paper Near-end detectorThermal label paper Reliability Electrical characteristicsEMI by using Epson PS-130 External dimensions and weightAppendix B Connectors Signal Name Sender Appendix C Interfaces Specifications RS-232C compatibleSerial interface timing Pin Number Signal Name Signal Direction FunctionPage Page International character set Command Name Appendix E Command SummaryGS C2 GS C