Epson manual TM-U230 41=1B284105006164050A0A

Page 57

Confidential

TM-U230 Developer’s Guide

Be sure to consider the BinaryConversion property when transmit the data over 80h. Chr(&H1B)+"(" + "A" + Chr(&H5) + Chr(&H0) + Chr(&H61) + Chr(&H64) + Chr(&H5) + Chr(&H0A) + Chr(&H0A) is the printer command that controls the internal buzzer. The internal buzzer beeps five times at intervals of one second. Format of the ESC(A command is as follows.

[Format]

ASCII ESC ( A pL pH fn n c t1 t2

Hex

1B 28 41 05 00 61 64 c t1 t2

c:specifies the number of times for beeps t1: specifies the length of time to be ON

t2: specifies the length of time to be OFF

Refer to the TM-U230 series specification for more details of ESC(A command. Refer to OPOS manuals for the programming using OPOS.

The following explanations are the details about programming samples using Control-A font in EPSON Advanced Windows Driver.

Edit the TMCTRLA.INI as follows so that the buzzer control command ESC(A is assigned to “A”(code41) of control-A font.

[TM-U230] 41=1B284105006164050A0A

“41=1B284105006164050A0A” in the description above assigns the buzzer control command ESC(A to “A”(code41) of control-A font. This data specifies the internal buzzer to beep five times at intervals of one second.

Save the TMCTRLA.INI under the following system folder.

Windows 95/98

:\windows\system

Windows NT

:\winnt\system32\spool\Prcpocs\W32x86

Then describe as follows in your program.

Printer.DeviceName = "EPSON TM-U230 Receipt"

Printer.font.Name = " FontA"

Printer.Print "TM-U230"

Printer.Print "Buzzer Test"

Programming Samples 4-9

Image 57
Contents Developer’s guide TM-U230 Confidentiality Agreement Revision Information Safety Precautions Key to SymbolsConfidential Moduler Connector About This GuideRelated Software and Documents Developer’s Guide Appendix a Specifications Installation and Positioning of TM-U230 Selecting a Place of InstallationEnvironment Specifications External Dimensions Dip Switch Settings Serial Interface DIP SwitchParallel Interface Ethernet Interface Changing the Location of the Rubber Feet Settings for Horizontal InstallationChanging the Orientation of Near End Sensor Attaching Switch Panel for Horizontal Installation Assembling the Power Box Vertical Installation Horizontal Installation and Wall Mounting Wall Mounting InstallationSecure the mount to the wall using all the 10 screw holes Installing the wall mountAttaching the hangers Connecting a Host PC Attaching the printer to the wallSerial interface connections Connecting to a USB interface Connecting to a parallel interfaceConnecting to an Ethernet interface Names of parts Ethernet test switchInterface cable connections Ethernet LEDsDrawer Kick-Out Connector Marked DK 22Installation Handling Important Safety InformationWaterproof Second Digit Ability to keep water out Waterproof mechanism Cutting roll paper Replacing roll paperPrinter is offline as long as the LED is flashing 6Handling Autocutter lock lever Replacing the ribbon cassette8Handling Paper jams in the vicinity of the print head Removing paper jams10Handling Be sure to properly secure the cover with the screw 11 Normal auto cutter position Paper jam in the auto cutter12 Installing the power button cover Installing the power button cover14Handling Internal Buzzer Paper roll end settings2Compatibility Receive Buffer 254, 255 Space Mounted MechanismGS V Function B Saving Space for Receipt PrintingGS V Function C Printing direction Executing a cut Assumed A/C position Assumed head position 9999999999999999 Execute GS V 98 Usage of DirectIO in Opos Contorol of The Buzzer TM-U230 41=1B284105006164050A0A Printer.font.Name = ControlA Printer.Print a Printer.EndDoc Character Specifications Printing SpecificationsAutocutter Specifications Paper SpecificationsElectrical Specifications Environmental SpecificationsPrinting Area Appendix A-4Specifications External Appearance Figure A-4 Without the power supply coverAppendix A-6Specifications Specifications Appendix A-7 Drawer Kick-out Connector Drawer Kick-out SpecificationsLimitations Drawer Circuitry Pin AssignmentAppendix A-10 Specifications Appendix B Comparison table AppendixC-2 AppendixC-3 AppendixC-4 AppendixC-5 AppendixC-6 Confidential Seiko Epson Corporation