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 #185 background imageLoading...
Page #185 background image
Appendix B – Sample Programs
Class Series 2 Programmer’s Manual 173
#If Win32 Then
Private Type DOC_INFO_1
pDocName As String
pOutputFile As String
pDatatype As String
End Type
#End If ‘WIN32 Types
‘**********************************
‘** Function Declarations:
#If Win32 Then
Private Declare Function OpenPrinter& Lib “winspool.drv” Alias “OpenPrinterA”
(ByVal pPrinterName As String, phPrinter As Long, ByVal pDefault As Long) ‘
Third param changed to long
Private Declare Function StartDocPrinter& Lib “winspool.drv” Alias
“StartDocPrinterA” (ByVal hPrinter As Long, ByVal Level As Long, pDocInfo As
DOC_INFO_1)
Private Declare Function StartPagePrinter& Lib “winspool.drv” (ByVal hPrinter
As Long)
Private Declare Function WritePrinter& Lib “winspool.drv” (ByVal hPrinter As
Long, pBuf As Any, ByVal cdBuf As Long, pcWritten As Long)
Private Declare Function EndDocPrinter& Lib “winspool.drv” (ByVal hPrinter As
Long)
Private Declare Function EndPagePrinter& Lib “winspool.drv” (ByVal hPrinter
As Long)
Private Declare Function ClosePrinter& Lib “winspool.drv” (ByVal hPrinter As
Long)
#End If ‘WIN32
Dim ch As String * 1, f1 As Integer, loadfile As String
Private Sub cmdOpenFile_Click()
On Error GoTo ErrHandler
‘ Set Filters
CommonDialog1.Filter = “All Files (*.*)|*.*”
‘Specify Default Filter
CommonDialog1.FilterIndex = 1
‘Display Open dialog box
CommonDialog1.ShowOpen
loadfile = CommonDialog1.FileName
Label2.Caption = loadfile
Exit Sub
ErrHandler:
Exit Sub
End Sub
Private Sub cmdStoreImage_Click()
Dim hPrinter&
Dim jobid&
Dim res&
Dim written&
Dim printdata$
Dim docinfo As DOC_INFO_1
loadfile = Form1.txtFile.Text
If loadfile = ““ Then

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