Citizen CBM-270 user manual GS c

Page 87

CBM-270 User’s Manual

[Caution]

If the N5 counter start value is beyond the counter range specified with N1 and

 

N2, it is assumed to be N1 = N5. If each value of N1 through N5 contains a

 

character code other than "0" through "9" , the printer will invalidate the data up

 

to that parameter and handle the subsequent data as normal print data.

[Default]

N1 = 1

 

 

 

N2 = 65535

 

 

 

N3 = 1

 

 

 

N4 = 1

 

 

 

N5 = 1

 

 

[See Also]

GS C0, GS C1, GS C2, GS c

[Sample Program]

 

 

 

LPRINT CHR$ (&H1D) ; "C0" ;

* CNT

 

LPRINT CHR$ (3) ; CHR$ (0) ;

FOR I=1 TO 6

 

LPRINT CHR$ (&H1D) ; "C" ;

 

LPRINT CHR$ (&H1D) ; "c" ;

 

LPRINT "50 ; 0 ; 5 ; 2 ; 50 ; " ;

 

NEXT I

 

GOSUB * CNT

 

LPRINT CHR$ (&HA) ;

 

LPRINT CHR$ (&H1D) ; "C ; " ;

RETURN

 

LPRINT "50 ; 0 ; 5 ; 2 ; 5 ; " ;

 

 

 

GOSUB * CNT

 

 

 

END

 

 

[Print Result]

 

 

When setting a count-down range = 0 to 50, step

 

 

 

value = 5, repeat count = 2, and start value = 50

 

 

 

to print a counter value.

 

 

 

When setting a count-down range = 0 to 50, step

 

 

 

value = 5, repeat count = 2, and start value = 5 to

 

 

 

print a counter value.

GS c

 

 

 

[Function]

Printing the counter

 

 

[Code]

<1D>H<63>H

 

 

[Outline]

This command prints the serial number counter data. After setting the current

 

counter value in the print buffer as the print data (Character string), it

 

increments or decrements the counter according to the set count mode.

[Caution]

When setting the value in the print buffer, its format depends on the GS C0

 

command. The count mode depends on the GS C1 or GS C; command. If the

 

counter final value set with these commands if exceeded by executing the GS c

 

command, the counter will be initialized to the set default.

[See Also]

GS C0, GS C1, GS C2, GS C ;

[Sample Program]

[Print Result]

 

See the sample programs and print results for the commands on Pages 82

 

through 85.

 

 

87

CITIZEN

Image 87
Contents Citizen EMC LVDImportant Safety Instructions Lärmemission kleiner 70dBA Wichtige SicherheitsanweisungenSicherheitshinweis Citizen Safety Precautions Be Sure to Observe Citizen Precautions for Installation Precautions for Handling Daily Maintenance Contents Parallel Interface Maintenance and Service Print Control FunctionsDIP-SCHALTEREINSTELLUNG GermanAppendix Appendix Wall Mounting Holes Layout DrawingFeatures OutlineUnpacking Model Classifications Basic SpecificationsUL, C-UL Basic SpecificationsRecommended Paper Paper SpecificationsHead and Paper Cutter Layout Printing PositionOuter Appearance and Component Parts Citizen Operation Connecting AC AdapterConnecting Interface Cable Inserting the Paper How to Remove Remaining Paper Roll Eliminating the Paper Jam When the Macro is Executed Feed Switch FunctionWhen Thermal Paper is Used When Label Paper is UsedOFF Paper Near End FunctionSelf-Print Function Auto-Loading FunctionBusy Operation Panel and Display of ErrorError Details OFFMitsubishi Paper Mills 12 Red/Black Print Precautions for UseDS2 For Serial Interface Only DIP Switch SettingLocation of DIP Switch DIP Switch FunctionUSA Jumper Wire FunctionSpecifications Connectors Pin ConfigurationParallel Interface Input and Output Signals Input and Output SignalsElectrical Characteristics Timing Chart Data Receiving ControlBuffering TXD Serial InterfaceRXD DTRInput and Output Signals Error Detection Data ConfigurationInput RXD, DSR Printer Side Host Side Power Connector Maintenance and Service 0DH ESC 10.1 Command ListPrint Control Functions 0AHDC3 1DH 2AH1DH 3AH DC2Command Details Descriptions of Each ItemXxxx ESC D Command DetailsCitizen ESC SP Citizen ESC E, ESC ESCESC % A p s´a m-n+1 ESC * m N1 n2 d Print Results Dots single density Dots double density ESC n ESC = ESC D n k NUL ESC @ESC E ESC EESC G ESC !, ESC GESC J ESC R ESC ESC a ESC c ESC c Parallel Interface OnlyESC d ESC t ESC Serial Interface Only Lprint Aaaaa CHR$ &HA Lprint Bbbbb CHR$ &HA ESC ¥ ESC $ESC $ ESC ¥GS k n NULUPC-A UPC-E JAN13 EAN JAN 8 EAN Code ITF Codabar NW-7 JAN-8EAN CODE39CODE128 Code Btestcode A123 TestDescription of Bar Codes GS h n GS wGS H GS H GS f nSee Also GS /, ESC N1´8 dots N2´8 dots Sample Program GS * n1 N2 d n1 ´ n2 ´GS / m Lprint CHR$ END GS n1 n2 n3 DC3 n DC2 aOnly When Label Printer is Selected GS FFGS FF, GS GS C0 Lprint CHR$ 0 CHR$ GS C N1 N2 N3 N4 N5 GS C2GS c GS a m Only When Label Printer is Selected International Domestic Character Codes TableInternational Character Codes Table Appendix 1. Block Diagram Appendix 2. Outline Drawing Appendix 3. Wall Mounting Holes Layout Drawing German Vorsicht ZU Beachtende Sicherheitsmassregeln Warnung Vorsichtsmassregeln FÜR DIE Aufstellung Vorsichtsmassregeln FÜR DIE Handhabung Vorsicht Tägliche WartungAnschließen des Netzteils BetriebAnschließen des Schnittstellenkabels Einsetzen des Papiers Entnehmen der eingesetzten Papierrolle Beseitigen von Papierstau Bei Verwendung von Etikettenpapier FEED-SchalterfunktionPapierende-Funktion Bei Verwendung von ThermalpapierPapiermangel-Funktion Selbstdruckfunktion AutoladefunktionBedienfeld und Fehleranzeigen Fehler-Einzelheiten 12 Rot/Schwarz-Druck Vorsichtsmaßregeln DS1 DIP-SCHALTEREINSTELLUNGLage der DIP-Schalter DIP-SchalterfunktionJumperdraht-Funktion Wartung UND Dienst