Epson U230 manual Usage of DirectIO in Opos

Page 55

Confidential

TM-U230 Developer’s Guide

 

The usage of DirectIO in OPOS

This Chapter describes the programming samples of DirectIO in OPOS.

Executes a paper cut automatically when the current position reaches the autocutter position. Executes a paper cut after feeding for 4 + pData ∗ 0.176 [mm]. The value of the pData is 0 in the following example. (the available range of pData is 0 - 255)

This function is canceled when the FEED button is pressed or a command that results printer reset is executed.

Command: PTR_DI_DELAYED_CUT Execute the delayed cut

pData : Specify feed lines to the autocutter position

pString : Not used

Dim RC As Long

Dim pString As Long

Dim pData As String

pString = PTR_DI_DUMMY

pData = 0

.....Printing process.....

RC = Coptr1.DirectIO(PTR_DI_DELAYED_CUT ,pData,pString)

Programming Samples 4-7

Image 55
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