EasyManuals Logo

Datamax E-Class Mark II Programmer's Manual

Datamax E-Class Mark II
330 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #181 background imageLoading...
Page #181 background image
Appendix B – Sample Programs
Class Series 2 Programmer’s Manual 169
‘Concatenate all the dynamic data fields with the constant header
strings, terminated with <cr> Chr$(13)
OrderData = OrderTxt & txtOrderNo.Text & Chr$(13) & OrderBC &
txtOrderNo.Text & Chr$(13) & CustomerTxt & txtCustomer.Text
Item1 = Item1NO & txtItem1.Text & Chr$(13) & Item1BC &
txtItem1.Text & Chr$(13) & Item1Txt & txtItem1Desc.Text & Chr$(13)
& Item1Qty & txtItem1Qty.Text
‘Concatinate entire label format and send out serial port
PrintLabel = CharSet & MaxLength & Chr$(13) & CharSet &
StartLabel & Chr$(13) & PrintDensity & Chr$(13) & Image1 & Chr$(13)
& OrderData & Chr$(13) & Item1 & Chr$(13) & Fixed & Chr$(13) &
EndLabel
Comm1.Output = PrintLabelEnd Sub
‘Display the record form on the screen
Private Sub Form_Load()
Fixed = Itm1 & Chr$(13) & Chr$(13) & Qty1 & Chr$(13) & Chr$(13)
& BoxPos1 & Boxsize & Chr$(13)
CharSet = Chr$(126) ‘Alternate <stx> character ~
MComm.PortOpen = 1‘Open the serial port
End Sub
‘Exit the program by clicking Exit button with the mouse
Private Sub cmdExit_Click()
Comm1.PortOpen = 0‘Close down the serial port
End
End Sub
VB Application interfacing via Windows Driver
Create a form similar to the one shown here.
VERSION 5.00
Begin VB.Form Form1
Caption = “Datamax Test Print”
ClientHeight = 1065
ClientLeft = 60
ClientTop = 345
ClientWidth = 2325
LinkTopic = “Form1”
MaxButton = 0 ‘False
MinButton = 0 ‘False
ScaleHeight = 1065
ScaleWidth = 2325

Table of Contents

Other manuals for Datamax E-Class Mark II

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Datamax E-Class Mark II and is the answer not in the manual?

Datamax E-Class Mark II Specifications

General IconGeneral
Resolution203 dpi (8 dots/mm) or 300 dpi (12 dots/mm)
Operating Temperature40°F to 95°F (4°C to 35°C)
Storage Temperature-40°F to 140°F (-40°C to 60°C)
Print MethodDirect Thermal / Thermal Transfer
Max Print Speed6 inches per second (ips)
Memory8 MB DRAM
InterfaceSerial, Parallel, USB
Media TypeLabels, Tags, Receipts
Media Width0.75" (19 mm) to 4.65" (118 mm)
Media Thickness0.0025 to 0.008 inches (0.0635 to 0.2032 mm)
Power Requirements100-240 VAC, 50-60 Hz

Related product manuals