Citizen CBM-270 user manual GS C0

Page 84

CBM-270 User’s Manual

GS C0

m n

 

[Function]

Setting the numbering print mode

[Code]

<1D>H<43>H<30>H<m><n>

 

[Range]

0 £ m £ 5

 

 

0 £ n £ 5

 

[Outline]

This command sets the numbering (serial number counter) print mode. m

 

denotes the number of print columns.

m = 0

Prints the digits indicated by a numeral. In this case, n has no meaning.

m = 1 to 5

Indicates the maximum number of columns to be printed. If a counter value is

 

larger than this the number of columns set with this command, the printer will

 

print the lower m-digits of the counter value.

 

n specifies a printing position within the printing columns.

n = 0

Prints the data right justified. The blank columns are spaced.

n = 1

Prints the data right justified.

The blank columns are filled with "0".

n =2

Prints the data left justified.

The right blank columns are spaced.

[Caution]

If either m or n has a value beyond their ranges, that setting will become invalid.

[See Also]

GS C1, GS C2, GS c, GS C

 

[Default]

m = 0, n = 0

 

[Sample Program]

 

 

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

* CNT

 

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

FOR I=1 TO 5

 

GOSUB * CNT

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

 

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

NEXT I

 

LPRINT CHR$ (1) ; CHR$ (0) ;

LPRINT CHR$ (&HA) ;

 

GOSUB * CNT

RETURN

 

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

 

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

GOSUB * CNT

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

LPRINT CHR$ (3) ; CHR$ (1) ;

GOSUB * CNT

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

LPRINT CHR$ (3) ; CHR$ (2) ;

GOSUB * CNT

END

[Print Result]

Counts from 1 to 5 at m = 0 and n = 0. Counts from 6 to 10 at m = 1 and n = 0. Counts from 11 to 15 at m = 3 and n = 0. Counts from 16 to 20 at m = 3 and n = 1. Counts from 21 to 25 at m = 3 and n =2.

84

CITIZEN

Image 84
Contents Citizen LVD EMCImportant Safety Instructions Wichtige Sicherheitsanweisungen Lärmemission kleiner 70dBASicherheitshinweis Citizen Safety Precautions Be Sure to Observe Citizen Precautions for Installation Precautions for Handling Daily Maintenance Contents Maintenance and Service Print Control Functions Parallel InterfaceGerman AppendixAppendix Wall Mounting Holes Layout Drawing DIP-SCHALTEREINSTELLUNGFeatures OutlineUnpacking Basic Specifications Model ClassificationsBasic Specifications UL, C-ULPaper Specifications Recommended PaperPrinting Position Head and Paper Cutter LayoutOuter Appearance and Component Parts Citizen Connecting AC Adapter OperationConnecting Interface Cable Inserting the Paper How to Remove Remaining Paper Roll Eliminating the Paper Jam Feed Switch Function When Thermal Paper is UsedWhen Label Paper is Used When the Macro is ExecutedPaper Near End Function OFFAuto-Loading Function Self-Print FunctionOperation Panel and Display of Error Error DetailsOFF Busy12 Red/Black Print Precautions for Use Mitsubishi Paper MillsDIP Switch Setting Location of DIP SwitchDIP Switch Function DS2 For Serial Interface OnlyJumper Wire Function USASpecifications Connectors Pin ConfigurationParallel Interface Input and Output Signals Input and Output SignalsElectrical Characteristics Timing Chart Data Receiving ControlBuffering Serial Interface RXDDTR TXDInput and Output Signals Data Configuration Error DetectionInput RXD, DSR Printer Side Host Side Power Connector Maintenance and Service 10.1 Command List Print Control Functions0AH 0DH ESC1DH 2AH 1DH 3AHDC2 DC3Command Details Descriptions of Each ItemXxxx Command Details ESC DCitizen ESC SP Citizen ESC ESC E, 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 @ ESC D n k NULESC E ESC GESC !, ESC G ESC EESC J ESC R ESC ESC a ESC c Parallel Interface Only ESC cESC 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 Test Code Btestcode A123Description of Bar Codes GS w GS h nGS H GS f n GS HGS * n1 N2 d n1 ´ n2 ´ See Also GS /, ESC N1´8 dots N2´8 dots Sample ProgramGS / m Lprint CHR$ END GS n1 n2 n3 DC2 a DC3 nOnly When Label Printer is Selected GS FFGS FF, GS GS C0 Lprint CHR$ 0 CHR$ GS C2 GS C N1 N2 N3 N4 N5GS c GS a m Only When Label Printer is Selected Character Codes Table International DomesticInternational 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 Tägliche Wartung VorsichtBetrieb Anschließen des NetzteilsAnschließen des Schnittstellenkabels Einsetzen des Papiers Entnehmen der eingesetzten Papierrolle Beseitigen von Papierstau FEED-Schalterfunktion Papierende-FunktionBei Verwendung von Thermalpapier Bei Verwendung von EtikettenpapierPapiermangel-Funktion Autoladefunktion SelbstdruckfunktionBedienfeld und Fehleranzeigen Fehler-Einzelheiten 12 Rot/Schwarz-Druck Vorsichtsmaßregeln DIP-SCHALTEREINSTELLUNG Lage der DIP-SchalterDIP-Schalterfunktion DS1Jumperdraht-Funktion Wartung UND Dienst