Seiko Group TM-L60 manual Printing on label paper

Page 65

3-2. Printing on label paper

ÀOpen device RS-232C.

100 OPEN “COM 1: N81NN” AS #l

ÁInitialize the printer mechanism.

110 PRINT #1, CHR$(29); “<“;

ÂSend print mode

120 PRINT #l, “ABCDEF”; CHR$( 10);

ÃPosition label to start printing

130 PRINT#l, CHR$(12);

130 positions the next label printing. To position label to start printing, send a FF code or GS <.

ÄPrint serial number counter

140 PRINT #l, CHR$(29); “CO”; CHR$(3); CHR$(0);

150 PRINT #l, CHR$(29); “Cl “; CHR$( 1); CHR$(0); CHR$( 10); CHR$(0); CHR$(1); CHR$(1);

160 PRINT #l, CHR$(29); “C2”; CHR$( 1); CHR$(0); 170 FOR I = 1 TO 10

180 PRINT #l, CHR$(29); “c”;

190 PRINT #l, CHR$( 12);

200 NEXT I

In lines 140 to 160, it selects the print mode for the serial number counter. 140 selects print format for the serial number counter. CHR$(3) (value of m) indicates the number of digits to be printed. CHR$(0) (value of n) specifies the printing position within the entire range of printed digits. In case n = 0, it prints with right adjusted.

150 selects counter operation range for the serial number counter. In this case, it counts up from 1 to 10 by 1.

160 sets the initial value of the counter. It indicates 1.

In line 170 to 190, it executes the serial number counting and to position label to start printing.

Always send a FF code after print data.

59

Image 65
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 PartsError red Power greenOperation panel Paper redPlugging 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 Paper-end detector Adjusting the Paper-end DetectorHow to adjust the paper-end detector Page Setting the DIP switches Setting the DIP SwitchesLocating the DIP switches Print Density Selection DIP-Switch Functions DIP-switch FunctionsBaud Rate Selection 1Checking Operation with the Self Test II. Reference Paper-feed switch 1Panel Switches and CommandsSwitches Power switch Label paper Printable Area and Label Paper ConditionsPrintable area 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 Cover-open DetectorRemoving Jammed Paper How to use this table Controlling the printer with commandsCommand descriptions XXX Command Command DescriptionsCommands 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 a n ESC ¥ n1 n2ESC n Position ESC c 4 nESC d n ESC p m n1 n2ESC c 5 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 Program Descriptions How to write program Printing on the roll paperIntroduction Before printingSend 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 Characters specifications Appendix a General SpecificationsPrinting specifications Paper Thermal paper Near-end detectorThermal label paper EMI by using Epson PS-130 Electrical characteristicsExternal dimensions and weight ReliabilityAppendix 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