Epson U230 manual Saving Space for Receipt Printing, GS V Function B

Page 49

Confidential

Chapter 4

TM-U230 Developer’s Guide

Programming Samples

Saving Space for Receipt Printing

TM-U230 has GS V function C, which can save space for receipt printing. Executes a paper cut automatically when the current position reaches the autocutter position.

The details of this function are described below, comparing GS V function C with GS V function B.

GS V function C Executes a partial cut (one point left uncut)

GS V function B Feeds paper for cutting position + [n ⋅ 0.176 mm {1/144"}] and executes a partial cut (one point left uncut)

GS V (Function B)

1.The application will start printing Receipt 1. (There is space at the top when executing GS V function B.)

111111111111111

222222222222222

333333333333333

444444444444444

 

 

 

 

 

 

 

 

 

 

 

Program Example

 

 

 

 

 

 

 

 

 

 

 

 

Assumed A/C position

 

 

 

PRINT #1, “111111111111111”; CHR$(&HA);

 

 

 

 

 

 

 

 

 

 

 

PRINT #1, “222222222222222”; CHR$(&HA);

 

 

 

 

 

 

 

 

 

 

 

PRINT #1, “333333333333333”; CHR$(&HA);

 

 

 

 

 

 

 

 

 

 

 

PRINT #1, “444444444444444”; CHR$(&HA);

 

 

 

 

 

 

 

 

Assumed head position

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Programming Samples 4-1

Image 49
Contents Developer’s guide TM-U230 Confidentiality Agreement Revision Information Safety Precautions Key to SymbolsConfidential About This Guide Moduler ConnectorRelated Software and Documents Developer’s Guide Appendix a Specifications Selecting a Place of Installation Installation and Positioning of TM-U230Environment 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 Attaching the printer to the wall Connecting a Host PCSerial 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 SpecificationsEnvironmental Specifications Electrical SpecificationsPrinting Area Appendix A-4Specifications External Appearance Figure A-4 Without the power supply coverAppendix A-6Specifications Specifications Appendix A-7 Drawer Kick-out Specifications Drawer Kick-out ConnectorLimitations 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