Seiko Group TM-L60 manual Program Descriptions, Introduction, Before printing

Page 60

6-4 Program Descriptions

1. Introduction

The TM-L60 is connected to the host computer by an RS-232C Interface.

The TM-L60 is easily controlled by sending data and commands from the host computer. The following examples use the main commands from MS-DOS BASIC.

2.Before printing

ÀConnect TM-L60 to the host computer, power supply, and the drawer while referring to Chapter 2.

ÁCheck that the RS-232C cable is connected properly, and the host computer DIP-switches are set properly.

ÂCheck the TM-L60 DIP-switches using the self test. To print on roll paper, set the DIP SW-10 to the OFF position. To label paper, set the DIP SW-10 to ON position.

ÃConnect the RS-232C cable to the host computer while referring to the computer’s manual.

3.How to write program

3-1. Printing on the roll paper

NOTE: Omit step and if the drawer kick-out connector is covered (the drawer kick-out function is not available).

ÀFor all programs, always first open device RS-232C.

100 OPEN “COMl: N81NN” AS #l

ÁInitialize the TM-L60

110 PRINT #l, CHR$(27); “@“;

“PRINT #1", is the order that sends data and commands through the device. This device is opened in step À .

“CHR$ (27)” is the ESC code.

In order to execute ESC @ (Initialize the printer) send “@” following the ESC code. Always write “," at the end of the commands or BASIC will senda CR and LF code.

54

Image 60
Contents L 6 Page CC Class a FCC Compliance Statement for American Users Introduction Contents Appendix a General Specifications Setting UP 1Checking the Contents of the Box Unpacking the PrinterChoosing a Place for the Printer Removing the Protective Material4Names and Functions of Parts Part namesPower green Error redOperation panel Paper redConnecting the Power Supply to the Printer Plugging in AC adapterConnecting the Host Computer to the Printer Connecting the interface cableInstalling 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 Correction Error LED redError Display Be inspectedCommand Standby State Display ON/OFF Timing Pattern RecoveryCleaning the Head Cleaning the headCover-open Detector Removing Jammed PaperCover-open detector Controlling the printer with commands How to use this tableCommand Descriptions CommandsCommand descriptions XXX Command ESC SP n ESC ! nESC $ n1 n2 ESC % n ESC & s n m ap s Xam-n+lESC * m n1 n2 d k = n 1 + 2 5 6 X n 2 m = 0Vertical Direction Horizontal Direction ESC 3 n ESC = nESC @ ESC D nkNULESC E n RangeESC G n ESC J nESC R n ESC V nESC ¥ n1 n2 ESC nESC a n ESC c 4 n PositionESC p m n1 n2 ESC c 5 nESC d n ESC t n ESC u nESC Journal near-end GS FF GS*n1n2dn1xn2x8GS/m Dot DensityGS a m n PER Feed switch or turning the power on GS C 0 m nGS C1 n1 n2 n3 n4 n5 n6 GS Cl, GS C2, GS c, GS CGS C2 n1 n2 T h c o u n t d o w nGSC N1 N2 N3 N4 N5 To stop countingGS H n With counting downGS f n With counting upGS w n GS k n d k NULGS n1 n2 n3 How to write program Printing on the roll paper Program DescriptionsIntroduction Before printingSend Print Data Initialize printer again Printing bar codes GS H nRS-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 Near-end detector Paper Thermal paperThermal label paper Electrical characteristics EMI by using Epson PS-130External dimensions and weight ReliabilityAppendix B Connectors Signal Name Sender Specifications RS-232C compatible Appendix C InterfacesPin Number Signal Name Signal Direction Function Serial interface timingPage Page International character set Appendix E Command Summary Command NameGS C GS C2