background image

BD2-2880/2890 User’s Manual

5

3.3 CN3 Connector for Interface

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

31

32

33

34

35

36

37

38

39

40

Vcc

Vcc

GND

GND

Vp

Vp

Vp

Vp

Vp

Vp

P-GND

P-GND

P-GND

P-GND

P-GND

P-GND

LF-SW

ERROR

PEout

DTR

TXD

RXD

DSR

DATA0

DATA1

DATA2

DATA3

DATA4

DATA5

DATA6

DATA7

STB

BUSY

FAULT

SELECT

PE

NC

NC

SELECTIN

RESET

––

––

––

––

––

––

––

––

––

––

––

––

––

––

––

––

Input

Output

Output

Output

Output

Input

Input

Output

Output

Output

Output

Output

Output

Output

Output

Output

Output

Output

Output

Output

Output

––

––

Input

Function

Power supply for circuit (5V)

Power supply for circuit (5V)

GND

GND

Power supply for operation

Power supply for operation

Power supply for operation

Power supply for operation

Power supply for operation

Power supply for operation

GND for  operation

GND for  operation

GND for  operation

GND for  operation

GND for  operation

GND for  operation

LF Switch input

ERROR LED output (Can be connected directly)

PE LED output (Can be connected directly)

Serial Interface DTR

Serial Interface TXD

Serial Interface RXD

Serial Interface DSR

Parallel Interface DATA0

Parallel Interface DATA1

Parallel Interface DATA2

Parallel Interface DATA3

Parallel Interface DATA4

Parallel Interface DATA5

Parallel Interface DATA6

Parallel Interface DATA7

Parallel Interface STB

Parallel Interface BUSY

Parallel Interface FAULT

Parallel Interface SELECT

Parallel Interface PE

Parallel Interface ACK

No Connection

No Connection

Parallel Interface RESET

Pin No.

Signal Name

I/O

Applicable Connector : 53313 - 4015 (Molex)

Summary of Contents for BD2-2880

Page 1: ...CONTROL BOARD FOR MLT 288 MLT 289 MODEL BD2 2880 2890 Rev 1 00 Newly Issued Aug 9th 2002 User s Manual ...

Page 2: ...i REVISION Rev No Date Content 0 00 2000 06 26 Newly authored as a tentative edition for CS products reference 1 00 2002 08 09 Cover Page 1 2 3 7 9 is changed ...

Page 3: ...face 5 3 4 CN4 Connector for Paper Cutter 6 4 DIP SWITCH SETTING 7 5 POWER SUPPLY 9 5 1 Specifications 9 5 2 Precautions 9 6 PARALLEL INTERFACE 10 6 1 Specifications 10 6 2 Explanation of Input Output Signals 10 6 3 Electrical Characteristics 10 6 4 Timing Chart 11 6 5 Data Receiving Control 12 6 6 Buffering 12 7 SERIAL INTERFACE 13 7 1 Specifications 13 7 2 Explanation of Input Output Signals 14 ...

Page 4: ...9 9 1 2 Variable Division Number System 19 9 2 Motor Drive 20 9 2 1 Motor Drive Features 20 9 2 2 Maximum Motor Drive Speeds at Major Voltage 20 10 MAINTENANCE AND SERVICE 21 11 PRINT CONTROL FUNCTIONS 22 11 1 Command List 22 11 2 Command Details 25 11 2 1 Description of Items 25 12 CHARACTER CODE TABLE 72 12 1 International 72 12 2 Japanese 73 12 3 International Character Set 74 APPENDIX 1 BLOCK ...

Page 5: ...an be selected by dip switch 3 Input buffer incorporated 4 Bar code printing is available dedicated command 5 Auto paper cutter control incorporated 6 User defined character registration function 94 characters 7 Low cost 1 2 Precaution 1 Make sure to turn OFF the power supply in case of connecting disconnecting the connectors 2 Absolutely do not make a short circuit between the terminals of connec...

Page 6: ...cation Models are identified by the following coding scheme BD2 2880 U C Character Set U Internatiomal model Model Name of applied printer mechanism 2880 For MLT 288 2890 For MLT 289 Model Name Auto Cutter Drive C With auto cutter function None Without auto cutter function ...

Page 7: ...m Font B 0 88 mm 3 00 mm Alphanumeric international characters UPC A E JAN EAN 13 8 columns ITFCODE 39 CODE128 CODABAR 4 23 mm Can be changed by command Parallel Conforms to Centronics or Serial Conforms to RS 232C Selectable by dip switch 2 K bytes VCC 5V 5 Approx 130 mA Self printing VP 4 2V 8 5V Approx 1 5A Ave Approx 4A Peak When 7 2V Ordinal voltage is to be 7 2V Max 8 5V is a voltage which i...

Page 8: ... Strobe 1 Strobe 2 Thermal head logics power 5V Latch signal GND Strobe 6 Clock pulse GND Strobe 5 Strobe 3 GND GND Strobe 4 GND GND GND Power for print head Power for print head Power for print head Pin No Signal Name I O Applicable Connector 52806 2410 Molex 1 2 3 4 5 6 7 8 9 MOTOR B MOTOR A MOTOR B MOTOR A PE C GND PE A H UP GND Output Output Output Output Input Input Function Operation signal ...

Page 9: ...er supply for operation Power supply for operation Power supply for operation Power supply for operation GND for operation GND for operation GND for operation GND for operation GND for operation GND for operation LF Switch input ERROR LED output Can be connected directly PE LED output Can be connected directly Serial Interface DTR Serial Interface TXD Serial Interface RXD Serial Interface DSR Para...

Page 10: ... safety use 3 Serial interface equips a driver and receiver of RS 232C make sure to use it at RS 232C level 4 RESET terminal is pulled up by 3 3KΩ Make sure to make this terminal NC when this terminal is not used 5 LF SW input circuit is as below 3 4 CN4 Connector for Paper Cutter 1 2 3 4 M M GND SW Output Output Input Function Cutter motor operational signal M Cutter motor operational signal M GN...

Page 11: ...Setting Short circuit Short circuit Short circuit Short circuit Short circuit Short circuit Short circuit Short circuit Open Disable Fixed division Pin No Function Short See next page 4 Combination with DS1 3 See next page 5 OFF OFF OFF OFF OFF OFF OFF OFF ON ON ON ON ON ON ON ON OFF OFF OFF OFF ON ON ON ON OFF OFF OFF OFF ON ON ON ON 1200 bps 2400 bps 4800 bps 9600 bps 19200 bps 1200 bps 2400 bps...

Page 12: ...t Short Short Short Open Open Short Short Open Open Short Short J 3 J 2 Open Short Open Short Open Short Open Short J 1 Japan JIS Japan Shift JIS Sweden Denmark 1 U K Germany France U S A InternationalCharacter 4 INTERNATIONAL CHARACTER SET 5 PRINT DENSITY OFF OFF ON ON Open Short Open Short DS1 3 J 6 Light Standard Slightly Dark Dark Print Density 0 1 2 3 Level 80 100 120 150 Print Density Rate ...

Page 13: ...ordinal voltage 5 2 Precautions 1 Design the product to supply power to Vcc before VP when power is supplied to this control board 2 Design the product to turn off the power for Vcc after VP when power is turned off 3 Make sure to turn off the power in case of connecting disconnecting connectors 4 Make sure to use Vcc and VP following their specifications 5 Make sure to use this control board conn...

Page 14: ...CK 8 bit data request signal Pulse signal output at the end of the BUSY signal Negative logic BUSY Signal to indicate BUSY state of the printer Input new data for LOW Positive logic FAULT Signal which is made LOW when printer is in alarm state Negative logic In this case all the control logics within the printer stop functioning PE Signal which is output when paper runs out Positive logic 6 3 Elec...

Page 15: ... O Conditions STB RESET input signals are pulled up by 3 3K Other input signals are pulled up by 50K VCC TWIST PAIR WIRE VCC TWIST PAIR WIRE 6 4 Timing Chart 1 Data Input and Printing Timing T1 T2 T3 0 5 µs MIN T4 270 ns MAX T5 2 3 µs TYP T6 500 ms MIN On supplying power Suppl Power DATA STB T6 T5 T1 T2 T3 T4 BUSY BUSY ACK y ...

Page 16: ...When BUSY signal is LOW data from the host can be received When it being HIGH data cannot be received 6 6 Buffering This control board incorporates 2K byte buffer Therefore big data can be buffered in input buffer and the host side can be released immediately ...

Page 17: ...ed Parity bit Odd Even or No parity Selectable by user Stop bit 1 bit or more 4 Signal polarity RS 232C Mark logic 1 3V 12V Space logic 0 3V 12V 5 Receiving data RD signal RS 232C Mark 1 Space 0 6 Receiving control DTR signal RS 232C Mark Data transfer is not available Space Data transfer is available 7 Transmission control TD signal DC1 code 11H X ON Data reception is available DC3 code 13H X OFF...

Page 18: ...r transfers a DC1 11H Data Receive Ready signal to the host 4 GND Common GND on the circuit 7 3 Error Detection Parity framing and overrun are detected On detection of any error the data are stored in the buffer as 1 Framing Error With space state having been detected on detection of a stop bit error takes place The data are stored in the buffer as 2 Parity Error With an error having been detected...

Page 19: ...e DTR signals and TD signals as the control signals concerned 1 DTR signals See the page 7 2 2 2 TXD signals See the page 7 2 3 7 6 Electrical Characteristics 1 RS 232C Circuit Input RXD DSR Printer side Host side Output DTR TXD Printer side Host side Equivalent MAX232 Equivalent MAX232 ...

Page 20: ...election terminal DS1 1 the auto cutter ACS 220 5V is not connected to the cutter connector CN4 Description 20 22 27 38 Pin No ERROR DTR BUSY FAULT Signal Name LED output For a blinking pattern see 8 3 Error Indication Serial interface Parallel interface Parallel interface Remarks Memory error Cutter error Error Unrecoverable After turning off the power connect the auto cutter ACS 220 5V or turn o...

Page 21: ...nking Lighting pattern see 8 3 Error Indication LED output This is always output at the time of no paper Serial interface Parallel interface Parallel interface Parallel interface Remarks No paper Head up VP voltage error Head temperature error Cutter lock ACS 220 5V Error Set the paper See Note 1 Bring down the head up lever Set to a voltage within the allowable range 4 2 to 8 5V and turn on the p...

Page 22: ... cycle of 200ms Blinking cycle of 150ms 3 times and 500ms 1 time Illuminated until reverted Illuminated until reverted Blinking cycle of 1 sec Blinking cycle of 500ms Description Display Pattern 8 3 Errors Indication The errors other than no paper are indicated by a LED output Illumination or blinking of the Pin 20 ERROR of the CN3 Interface connector ...

Page 23: ...G For selection by a command see 11 PRINT CONTROL FUNCTIONS 9 1 1 Fixed Division Number System This system always drives each block in the same sequence Note for a stepping motor driving method see 9 2 Motor Drive 9 1 2 Variable Division Number System This system counts the number of printing dots for each block of the printing dot line and drives the blocks collective in such a manner not to exce...

Page 24: ...ol to restrain current consumption 3 Provides acceleration control at the time of start 9 2 2 Maximum Motor Drive Speeds at Major Voltage Caution The maximum drive speed depends on the VH voltage A printing speed may slightly differ depending on a processing time or voltage detection accuracy During the course of printing a motor drive speed may be slower than the maximum drive speed depending on ...

Page 25: ...our dealer or at the following address Northern America Other Areas CBM America Corporation Japan CBM Corporation Service Center Information Systems Division 363 Van Ness Way Suite 404 5 68 10 Nakano Nakano ku Torrance CA 90501 U S A Tokyo 164 0001 Japan TEL 310 781 1460 TEL 03 5345 7540 FAX 310 781 9157 FAX 03 5345 7541 ...

Page 26: ...fying printing mode Specifying canceling douwnload character set Defining download characters Specifying canceling underline Specifying canceling highlighting Specifying canceling double printing Selecting the international character set Specifying Canceling 90 right turned Characters Selecting the character code table Specifying canceling the inverted characters Function Code 30 31 33 34 36 37 38...

Page 27: ...l Code Enabling disabling the panel switches Function Code 56 Page GS GS 1Bh 63h 35h n 1Dh 5Eh n1 n2 n3 Control Code Starting ending macro definition Executing the macro Function Code 59 58 Page ESC i ESC m 1Bh 69h 1Bh 6Dh Control Code Activating auto cutter Full cut Activating auto cutter Partial cut Function Code 59 60 Page GS H GS f GS h GS k GS w 1Dh 48H n 1Dh 66H n 1Dh 68H n 1Dh 6Bh n d k 00h...

Page 28: ...Bh 3Dh n 1Bh 40h 12h 41h n Control Code Data input control Initializing the Printer Selecting the Print drive system Function Code 69 70 71 Page Other Commands NOP Commands ESC c 3 ESC c 4 ESC p ESC u Control Code NOP NOP NOP NOP Function Code Page ...

Page 29: ...n argument value setting range for the command Describes a command outline Describes a caution as required Describes an initial value for the command when accompanied by an argument Describes the associated commands for use Describes a coding example in the Q BASIC sample program This example is only for your reference and differs depending on the language used version and so on For details see th...

Page 30: ... based on the line feed amount having been set The head of the line becomes the next print starting position ESC 2 ESC 3 Print Results LPRINT AAA CHR HA LPRINT BBB CHR HA LPRINT CHR HA LPRINT CCC CHR HA Print and line feed Print and line feed Line feed only Print and line feed Function Code Outline See Also Sample Program ...

Page 31: ... internal print buffer printing and line feed are performed Without data inside the internal print buffer however no printing is performed LF LPRINT AAA CHR HD LPRINT BBB CHR HD LPRINT CHR HD LPRINT CCC CHR HD Print and line feed Print and line feed Line feed only Print and line feed Function Code Outline See Also Sample Program Print Results ...

Page 32: ...nch Since an actual mechanical pitch is 1 203 inch it is internally converted approximate to the value specified with this command Specified volume does not remain The beginning of the line is to be considered as the next printing start position Initial value is not defined See Sample Program and Print Results for ESC 2 on Page 48 Function Code Range Outline Sample Program Print Results ...

Page 33: ...s data inside the buffer and feeds paper by n lines Specified line does not remain The beginning of the line is to be considered as the next printing start position The initial value is not defined LPRINT AAAAA LPRINT CHR H1B d CHR 2 LPRINT AAAAA CHR HA 2 6 inch line feed Function Code Range Outline Default Sample Program Print Results ...

Page 34: ...n dot unit 1 203 inch unit In the initial value it is n 0 The rightward space amount in doublewide mode is made double of the set volume n 0 LPRINT CHR H1B CHR 0 LPRINT AAAAA CHR HA LPRINT CHR H1B CHR 1 LPRINT AAAAA CHR HA LPRINT CHR H1B CHR 12 LPRINT AAAAA CHR HA 0 dot space 1 dot space 12 dot space Function Code Range Outline Caution Default Sample Program Print Results ...

Page 35: ...specified simultaneously double wide and double high characters are consisted An underline is attached to the full character width which however is not attached to the part having been skipped by the horizontal tab Neither is it attached to 90 right turned characters The underline width is as having been specified by ESC The default setting is 1 dot width Specification with this command is invalid...

Page 36: ...HR H1B CHR H08 H LPRINT CHR H1B CHR H10 H LPRINT CHR H1B CHR H20 H LPRINT CHR H1B CHR H80 H LPRINT CHR H1B CHR HB9 H LPRINT CHR HA Font A Font B Font A Highlighting Font B Highlighting Quadruple Underline Font A Underline Font A Double Width Font A Double Height Sample Program Print Results ...

Page 37: ... LPRINT CHR H1B CHR 0 DATA HFF H80 H00 LPRINT A CHR HA DATA H80 H80 H00 LPRINT CHR H1B CHR 1 DATA H80 H80 H00 LPRINT A CHR HA DATA H80 H80 H00 END DATA HFF HFF HFF SETCHR DATA HFF HFF HFF LPRINT CHR H1B DATA 12 LPRINT CHR 3 A DATA HFF HFF HFF FOR J 1 TO 2 DATA H80 H07 HF9 READ REP DATA H80 HFF HF9 LPRINT CHR REP DATA H87 HFE H01 FOR I 1 TO REP 3 DATA H9F H06 H01 READ D DATA HF8 H06 H01 LPRINTCHR D...

Page 38: ...in total between 20 H 7E H a indicates the number of dots in horizontal direction for definition p is the data to be defined which indicate a pattern equal to a dot in horizontal direction from the left end The rest of the pattern on the right side is filled with space The rest of data to be defined is s x a Download characters thus defined remain valid until redefinition ESC execution GS executio...

Page 39: ...BD2 2880 2890 User s Manual 35 Example Create each data bit by setting 1 for a printed dot and 0 for an unprinted dot PrintResults See Sample Program and Print Results for ESC on Page 33 Sample Program ...

Page 40: ... an underline for 2 dots width An underline is attached to the full character width It is however not attached to the part having been skipped by horizontal tab command An underline is not attached to a 90 right turned characters Specification cancellation with this command is invalid to Kanji ESC FS LPRINT CHR H1B CHR 0 LPRINT AAAAA LPRINT CHR H1B CHR 1 LPRINT AAAAA CHR HA Print Results Underline...

Page 41: ...celing highlighting 1 Specifying highlighting This is effective to all characters Dot configuration of a highlighted character includes one extra dot added at its side The print result of Double printing and highlight character printing is completely same ESC Example LPRINT CHR H1B E CHR 0 LPRINT AAABBB CHR HA LPRINT CHR H1B E CHR 1 LPRINT AAABBB CHR HA Highlighting canceled Highlighting canceled ...

Page 42: ...s shown as follows n0 Type 0 Canceling double printing 1 Specifying double printing This is effective to all characters The print result of Double printing and highlight character printing is completely same ESC E LPRINT CHR H1B G CHR 0 LPRINT AAABBB CHR HA LPRINT CHR H1B G CHR 1 LPRINT AAABBB CHR HA Highlighting canceled Highlighting canceled Function Code Range Outline Caution See Also Sample Pr...

Page 43: ...haracter Set 0 U S A 1 France 2 Germany 3 U K 4 DenmarkI 5 Sweden 6 Italy 7 Spain 8 Japan 9 Norway A DenmarkII The initial value of n indicates the character set specified by Jumper J1 J3 Character Code Table International Character Set FOR I 0 TO 10 LPRINT CHR H1B R CHR I LPRINT LPRINT CHR H60 LPRINT n STR I LPRINT CHR HA NEXT I Function Code Range Outline Default See Also Sample Program Print Re...

Page 44: ... means the followings n Hex Condition 0 Canceling 90 right turned Characters 1 Specifying 90 right turned Characters No underlines are attached to 90 right turned characters The initial value of n is 0 LPRINT CHR H1B V CHR 0 LPRINT AAAAA LPRINT CHR H1B V CHR 1 LPRINT AAAAA CHR HA 90 Rotation Canceled 90 Rotation Specified Function Code Range Outline Caution Default Sample Program Print Results ...

Page 45: ...r 2 1 Page1 Domestic Character The initial value of n is subject to the character set for the country specified by the Jumper J1 J3 When Japan is selected Domestic characters When non Japan is selected IBM characters 2 Character Code Table LPRINT CHR H1B t CHR 0 LPRINT n 0 FOR C HB1 TO HB5 LPRINT CHR C NEXT C LPRINT CHR HA LPRINT CHR H1B t CHR 1 LPRINT n 1 FOR C HB1 TO HB5 LPRINT CHR C NEXT C LPRI...

Page 46: ...ng inv rted characters 1 Specifying inverted characters Inverted printing means printing the line at 180 turned This is valid only when this is specified at the beginning of a line The initial value of n is 0 LPRINT CHR H1B CHR 0 LPRINT AAAAA CHR HA LPRINT BBBBB CHR HA LPRINT CHR H1B CHR 1 LPRINT AAAAA CHR HA LPRINT BBBBB CHR HA Inversion Canceled Inversion Specified Paper Feed Direction Function ...

Page 47: ...itial setting of the horizontal tab position is each 8 characters in 9th 17th 25th columns ESC D LPRINT 0123456789012345678901 LPRINT CHR HA LPRINT CHR H9 AAA LPRINT CHR H9 BBB LPRINT CHR HA LPRINT CHR H1B D LPRINT CHR 3 CHR 7 CHR 14 CHR 0 LPRINT CHR H9 AAA LPRINT CHR H9 BBB LPRINT CHR H9 CCC CHR HA Initially set horizontal tab When set to the 4th 8th and 15th digits Function Code Outline Caution ...

Page 48: ... n1 Therefore the printing start position is equal to n1 n2 x 256 from the beginning of line Specifying beyond the line end is ignored The initial value is not specified ESC LPRINT CHR H1B LPRINT CHR 0 CHR 0 A LPRINT CHR H1B LPRINT CHR 50 CHR 0 B LPRINT CHR H1B LPRINT CHR 0 CHR 1 C LPRINT CHR HA LPRINT CHR H1B LPRINT CHR 100 CHR 0 A LPRINT CHR H1B LPRINT CHR HC2 CHR HFF B LPRINT CHR HA Absolute Po...

Page 49: ... specified are maximum 32 Specifying exceeding this is ignored n k which denotes a setting position is input in the increasing order and ends at 00 H ESC D NUL clears all the set tab positions Following clearing horizontal tab command is ignored When the data n k is equal to or smaller than its preceding data n k 1 it is assumed that tab setting is finished If this is the case the next data onward...

Page 50: ...en as plus and leftward direction as minus To specify N dot in minus left direction use a complement of N for assignment N dots 65536 N The number of dots is divided by 256 whose quotient is taken as n2 and the residual as n1 Specifying exceeding the top of line or the end of line is ignored The initial value is not specified ESC See Sample Program and Print Results for ESC on Page 44 Function Cod...

Page 51: ...out as in the table below n Hex Position 0 Left end alignment 1 Centering 2 Right end alignment This is valid only when n is inputted at the beginning of line The initial value of n is 0 LPRINT CHR H1B a CHR 0 LPRINT AAAAA CHR HA LPRINT CHR H1B a CHR 1 LPRINT AAAAA CHR HA LPRINT CHR H1B a CHR 2 LPRINT AAAAA CHR HA Left justified Centered Right justified Paper Feed Direction Function Code Range Out...

Page 52: ...CHR H1B 3 CHR 0 LPRINT AAAAA CHR HA LPRINT CHR H1B 3 CHR 50 LPRINT AAAAA CHR HA LPRINT CHR H1B 2 LPRINT AAAAA CHR HA LPRINT AAAAA LPRINT CHR H1B J CHR 100 LPRINT AAAAA CHR HA LPRINT AAAAA CHR HA 1 6 inch line feed 0 360 inch line feed 50 360 inch line feed 1 6 inch line feed 100 360 inch line feed 1 6 inch line feed Function Code Outline Sample Program Print Results ...

Page 53: ...r line is specified by n 360 inch Since an actual mechanical pitch is 1 203 inch it is internally converted approximate to the value specified with this command The initial value is n 60 1 6 inch 18H being 4 23 mm line feed rate See Sample Program and Print Results for ESC 2 on Page 48 Function Code Range Outline Default Sample Program Print Results ...

Page 54: ... data are discarded d is bit image data the bits subject to printing are taken as 1 and those not as 0 The bit image modes specified by m are shown as follows Vertical Direction Horizontal Direction m Hex Mode No of Dots Dot Density Dot Density Max No of Dots 0 8 dot single density 8 67 DPI 101 DPI 192 1 8 dot double density 8 67 DPI 203 DPI 384 32 24 dot single density 24 203 DPI 101 DPI 192 33 2...

Page 55: ...R 1 CHR 20 CHR 0 NEXT I GOSUB IMG1 LPRINT CHR HFF LPRINT CHR HA RETURN LPRINT CHR H1B IMG2 LPRINT CHR 32 CHR 20 CHR 0 LPRINT CHR HFF GOSUB IMG2 LPRINT CHR HFF LPRINT CHR HA LPRINT CHR HFF LPRINT CHR H1B FOR I 1 TO 18 LPRINT CHR 33 CHR 20 CHR 0 LPRINTCHR H80 GOSUB IMG2 LPRINTCHR H00 LPRINT CHR HA LPRINTCHR H05 END NEXT I LPRINT CHR HFF LPRINT CHR HFF LPRINT CHR HFF RETURN Print Results ...

Page 56: ...e data The download bit image thus defined remains effective until redefinition ESC execution ESC or power OFF takes place A download character and a download bit image can not be defined simultaneously With this command executed defined content of a download character is cleared Relations between the bit image data and the dot defined are shown below GS If a download bit image is defined with thi...

Page 57: ... CHR H1D CHR 1 LPRINT CHR H1D CHR 2 LPRINT CHR H1D CHR 3 END IMG n 1 10 n 2 5 LPRINT CHR H1D LPRINT CHR n1 CHR n2 FOR J 1 TO n1 8 FOR I 1 TO n2 LPRINT CHR J NEXT I NEXT J RETURN Nomal Mode Double Width Mode Double Height Mode Quadruple Mode Sample Program Print Results ...

Page 58: ...101 DPI 101 DPI When data exist inside the print buffer this command is ignored When a download bit image has not been defined this command is ignored A portion of a download bit image exceeding one line length is not printed A download character and a download bit image cannot be defined simultaneously The initial value is not specified GS See Sample Program and Print Results for GS on Page 52 If...

Page 59: ...ng confirmed only 1 byte is transmitted In DTR DSR control when the host is in unrespectable state DSR signal being in MARK state it waits until receptacle state is created In paper end paper near end status this command may be unrespectable state due to BUSY state Remarks This command is valid only for serial interface model Value Bit Function 0 1 0 Not defined 1 Not defined 2 Paper end With pape...

Page 60: ...n0 n bit means the followings n0 Condition 0 LFSW valid 1 LFSW invalid When the panel switch is disabled with this command the LF switch is disabled Therefore the paper cannot be fed by operating the LF switch The initial value of n is 0 LPRINT CHR H1B c5 CHR 0 When enabling the LF switch LPRINT CHR H1B c5 CHR 1 When disabling the LF switch Function Code Range Outline Caution Default Sample Progra...

Page 61: ... the printer having been executed defined content is not cleared Therefore it is possible to include ESC into the content of macro definition Normal printing operation is carried out even while in macro definition Initially Macro is not specified GS LPRINT CHR H1D LPRINT CHR HA LPRINT CHR HA LPRINT CHR HA LPRINT CHR H1D LPRINT CHR H1D LPRINT CHR 2 CHR 10 LPRINT CHR 0 Nomal Printing during Macro De...

Page 62: ...s specified by n2 Execution by FEED S After waiting for lapse of time specified by n2 the ALAME LED flickers and the LF switch is waited to be pressed When it is pressed the macro is executed once This action is repeated n1 times When this command is received while in macro definition suspension of macro definition is indicated At this time the defined content is cleared No execution takes place w...

Page 63: ...d the paper from the printing position to beyond the paper cutting position of the cutter Otherwise the character just after print will remain on this side of the cutter LPRINT AAAAA LPRINT CHR H1B J LPRINT CHR 150 LPRINT CHR H1B i LPRINT AAAAA LPRINT CHR H1B J LPRINT CHR 150 LPRINT CHR H1B i Cut Position Paper Feed Direction Cutting Condition Cut Position Function Code Outline Caution Sample Prog...

Page 64: ...feed the paper from the printing position to beyond the paper cutting position of the cutter Otherwise the character just after print will remain on this side of the cutter LPRINT AAAAA LPRINT CHR H1B J LPRINT CHR 150 LPRINT CHR H1B m LPRINT AAAAA LPRINT CHR H1B J LPRINT CHR 150 LPRINT CHR H1B m Cut Position Paper Feed Direction Cutting Condition Cut Position Function Code Outline Caution Sample P...

Page 65: ...de turned characters so that you can read them The HRI code is printed in the font selected with GS f Specify before the GS k command The initial value of n is 0 GS f LPRINT CHR H1B 3 CHR 5 LPRINT CHR H1D h CHR 50 LPRINT CHR H1D H CHR 0 GOSUB BC LPRINT CHR H1D H CHR 1 GOSUB BC LPRINT CHR H1D H CHR 2 GOSUB BC LPRINT CHR H1D H CHR 3 GOSUB BC END BC LPRINT CHR H1D k LPRINT CHR 4 LPRINT 12 CHR 0 LPRIN...

Page 66: ...haracters so that you can read them n Font 0 Font A 1 Font B The HRI code is printed at the position specified with GS h on page 63 The initial value of n is 0 GS H LPRINT CHR H1D h CHR 50 LPRINT CHR H1D H CHR 2 LPRINT CHR H1D f CHR 0 GOSUB BC LPRINT CHR H1D f CHR 1 GOSUB BC END BC LPRINT CHR H1D k LPRINT CHR 4 LPRINT 123 CHR 0 LPRINT CHR HA RETURN FONT A FONT B Function Code Range Outline Caution...

Page 67: ... H 68 H n 1 n FF Data is described in Hex code Selecting bar code height n denotes the number of dots in the vertical direction The initial value of n is 162 See Sample Program and Print Results for GS w on page 68 Function Code Range Outline Default Sample Program Print Results ...

Page 68: ...7 7 CODE 128 15 When data being held in the print buffer this command is ignored Regardless of the specified feed pitch this command feeds the paper to be required to print a bar code If the character code d cannot be printed in the respective bar code system the bar code so far will be printed processing the subsequent data as normal data When a bar code whose number of characters to be printed i...

Page 69: ...lly calculated inside the printer If the 8th column numeral is sent from the host the entire bar code will be printed as it is CODE39 This bar code consisting of uppercase alphabets and numerals has a variable length of column A start stop code is automatically added by the printer Available characters include a space and 0 1 2 3 4 5 6 7 8 9 and uppercase alphabets ITF This bar code consisting of ...

Page 70: ...01 85h FNC 4 CODE A CODE A 102 86h FNC 1 FNC 1 FNC 1 The following exemplifies a selection of the code subset as a method to utilize the special characters Selection of Code Subset Initial selection Enter any one character of A B and C Conversion on the way Enter any one character of 82h through 85h Example When initially testing with the code subset B and then printing the bar code 123 with the c...

Page 71: ... length bar code consisting of numerals only CODE39 Variable length bar code consisting of alphabets and numerals The start stop code is automatically added 13 ITF Even column variable length bar code consisting of numerals only 22 CODABAR NW 7 Variable length bar code consisting of alpha numerals Any one of A B C and D is required as the start stop code 17 CODE128 Variable length bar code consist...

Page 72: ...t width The initial value of this width is 3 LPRINT CHR H1D h CHR 30 LPRINT CHR H1D w CHR 2 GOSUB BC LPRINT CHR H1D h CHR 50 LPRINT CHR H1D w CHR 3 GOSUB BC LPRINT CHR H1D h CHR 80 LPRINT CHR H1D w CHR 4 GOSUB BC END BC LPRINT CHR H1D k LPRINT CHR 4 LPRINT 12 CHR 0 RETURN Height 30 Magnification 2 Height 50 Magnification 3 Height 80 Magnification 4 Function Code Range Outline Default Sample Progra...

Page 73: ...Not defined When the printer has not been selected this printer abandons all the received data until it is selected by this command Even when the printer has not been selected it can become BUSY state through printer operation When the printer is deselected this printer discards all the data until it is selected with this command The initial value of n is 1 LPRINT AAAAA LPRINT CHR H1B CHR 0 LPRINT...

Page 74: ...and brings various settings to the initial state Default state Data inside the internal input buffer are not cleared Dip switches setting are red once again LPRINT CHR H1B CHR H30 LPRINT CHR H1B V CHR 1 LPRINT AAA CHR HA LPRINT CHR H1B LPRINT AAA CHR HA Function Code Range Caution Sample Program Print Results ...

Page 75: ... 0 n FF Selecting the Fixed division system or the Variable division system n is valid only for the lowest bit n0 n0 Print Drive System 0 Fixed division number system 1 Variable division number system The initial value of n is specified by Jumper J5 Function Code Range Outline Default ...

Page 76: ...BD2 2880 2890 User s Manual 72 12 CHARACTER CODE TABLE 12 1 International ...

Page 77: ...BD2 2880 2890 User s Manual 73 12 2 Japanese ...

Page 78: ...BD2 2880 2890 User s Manual 74 12 3 International Character Set COUNTRY ...

Page 79: ...Manual 75 APPENDIX 1 BLOCK DIAGRAM CPU OSC 16 0MH FLASH MEMORY Driver RAM G A Reset Cutter Driver Driver Timing Operation Panel Stepping Moter Paper End Head Up Parallel Centronics Serial RS 232C Power Supply CN3 Print Head ...

Page 80: ...BD2 2880 2890 User s Manual 76 APPENDIX 2 Outer Dimension BD2 288 IC2 IC1 CN1 CN3 CN4 75 12 67 4 1 6 3 CN2 TA2 TA2 IC101 TA2 TR2 IC6 72 80 ø 2 4 Unit mm ...

Reviews: