Star Micronics DP8340R user manual ESC @ 1BH 40H Printer initialization

Page 20

CODE

FUNCTION

OUTLINE

CODE

FUNCTION

OUTLINE

CODE

FUNCTION

OUTLINE

ESC @ (1B)H (40)H

Printer initialization

All printing conditions except ESC BEL n1 n2, the line buffer and data buffer are set to the power on default condition.

ESC BEL n1 n2 (1B)H (07)H n1 n2

Sets peripheral unit drive pulse duration.

This command sets the pulse duration for peripheral unit drive (Paper Cutter, Take-Up Device, cash drawer, etc.) Pulse Duration = 10 × n1 (ms)

Delay = 10 × n2 (ms)

1 n1 127; 1 n2 127 Default value: n1 = n2 = 20

Executed by BEL code and FS code after printing.

BEL (07)H

Trigger peripheral unit drive (Deferred)

Causes a peripheral drive pulse to be generated. This code is normally stored in the buffer and is performed as it is received from the data queue.

– 16 –

Image 20
Contents DOT Matrix Printer DP8340R Series Serial Interface Trademark acknowledgments Table of Contents RS-232C Current Loop Setting of the DIP Switches DIP-SW Outline Model Name NotationUnpacking and Installation UnpackingInstallation of Paper Holders and Re-Roll Prevention Guard Installation of Paper HoldersInstallation of Re-Roll Prevention Handling NotesPower Supply Unit Part Identification and NomenclaturePrinter Printer Front ViewPart Functional Description Installation of INK Ribbon and Paper Installation of Ink RibbonInstallation of Ink Ribbon Removal of Ink RibbonPaper Insertion For Roll PaperReplace the Printer Cover Validation Option Installation Roll Paper RemovalControl Codes ESC F Code ESC @ 1BH 40H Printer initialization ESC P Remarks Character Code List General Specifications Input Output AC 100 240 DC 12.0 V± 5% 47Hz 63 Hz Roll Paper and Print Area External Dimensions Printer Interface Specifications Interface CircuitSetting of the DIP Switches DIP-SW2Connectors and Signals Error Condition Alarm ModeInterface Connections Peripheral Unit Drive Circuit Cable ConnectionControl Codes Peripheral Drive CircuitInterface for Model DP8340RD D-SUB 25 PIN Connector RS-232C Current LoopSetting of the DIP Switches Removal of the Bottom Cover Jumper SettingSetting of Jumper CTS D-Sub 25 Pin Connector Peripheral Unit Drive Circuit Peripheral Drive Circuit Paper Empty DTR Mode 1 BlockMachine Error ON/X-OFF Mode Framing Error ParitySTX-ETX Mode STX-ETX Mode Flow Diagram Character Code List Page International Character Sets When Power is Supplied by the User Other parameters may be determined by user