Paxar Monarch Pathfinder Ultra Gold 6037EX User manual

Category
Bar code readers
Type
User manual

This manual is also suitable for

TC6037EXPM Rev. AA 8/03
Printed in the U.S.A.
©2003 Paxar Americas, Inc. All rights reserved.
Table of Contents i
TABLE OF CONTENTS
Introduction .....................................................................................1-1
System Requirements .....................................................................1-2
Hardware Requirements...............................................................1-2
Software Requirements................................................................1-2
SDK Contents.................................................................................1-3
Related Documentation ...................................................................1-4
Printer Features ...............................................................................2-1
Display ..........................................................................................2-2
Display Pages.............................................................................2-2
LCD Utility..................................................................................2-3
Keypad ..........................................................................................2-4
Speaker.........................................................................................2-5
Memory .........................................................................................2-5
Fonts.............................................................................................2-7
Using Non-Resident Fonts............................................................2-8
Scanners .......................................................................................2-9
Using the Scanners .....................................................................2-9
Scanner Function Overview........................................................2-10
Boot Process................................................................................ 2-11
Normal Boot .............................................................................2-11
Display Control ......................................................................... 2-12
Boot Options.............................................................................2-12
Booting from a PC..................................................................... 2-13
Startup Menu ............................................................................2-14
ii Table of Contents
Windows 95/Network Notes............................................................2-15
Directory Names .......................................................................2-15
Copying Data from the Printer to PC ...........................................2-15
Developing Applications...................................................................3-1
Creating MPCL Packets...................................................................3-2
Writing Applications ........................................................................3-2
Building Applications.......................................................................3-3
Compiling Applications ................................................................3-3
Linking Applications ....................................................................3-4
Using UServe and UClient ...............................................................3-4
Test the Application ........................................................................3-4
Training the End Users....................................................................3-5
Function Reference ..........................................................................4-1
kbdClrFunct ...................................................................................4-2
kbdGetMode...................................................................................4-3
kbdRestoreMode.............................................................................4-4
kbdSetAlpha...................................................................................4-6
kbdSetCaps ...................................................................................4-8
kbdSetFunct...................................................................................4-9
kbdSetNormal...............................................................................4-11
pclBatteryOkToPrint......................................................................4-12
pclCalibrate ................................................................................. 4-13
pclCalibratePaper .........................................................................4-18
pclClearError................................................................................4-20
pclClose ......................................................................................4-21
pclFeed .......................................................................................4-22
pclGetBatteryLevel ....................................................................... 4-24
pclGetBlackMarkSensor ................................................................4-26
Table of Contents iii
pclGetErrorMsg ............................................................................4-28
pclGetOnDemandSensor................................................................4-30
pclGetSupplyType.........................................................................4-33
pclInit..........................................................................................4-35
pclOpen.......................................................................................4-37
pclPaperInfo.................................................................................4-38
pclPaperSetup..............................................................................4-39
pclStatus ..................................................................................... 4-42
pclWrite.......................................................................................4-43
scnCloseScanner.......................................................................... 4-44
scnGetBarCodeType .....................................................................4-46
scnGetch .....................................................................................4-48
scnGetche ...................................................................................4-50
scnGetCodabarInfo .......................................................................4-52
scnGetCode128Info ......................................................................4-53
scnGetCode39Info ........................................................................4-54
scnGetCode93Info ........................................................................4-55
scnGetD2of5Info........................................................................... 4-56
scnGetGeneralInfo........................................................................4-57
scnGetI2of5Info............................................................................4-58
scnGetMSIInfo ............................................................................. 4-59
scnGets .......................................................................................4-60
scnGetScanInfo ............................................................................4-62
scnGetScannedData......................................................................4-63
scnGetUPCEANInfo ...................................................................... 4-66
scnOpenScanner .......................................................................... 4-67
scnOpenScannerShared ................................................................4-69
scnScannerHit..............................................................................4-72
iv Table of Contents
scnSetCodabarInfo .......................................................................4-74
scnSetCode128Info.......................................................................4-76
scnSetCode39Info ........................................................................ 4-78
scnSetCode93Info ........................................................................ 4-80
scnSetD2of5Info...........................................................................4-82
scnSetGeneralInfo ........................................................................4-84
scnSetI2of5Info ............................................................................ 4-86
scnSetMSIInfo..............................................................................4-88
scnSetScanInfo ............................................................................4-90
scnSetUPCEANInfo.......................................................................4-92
scnTrigger ................................................................................... 4-95
spkBeep ......................................................................................4-96
sysGetBIOSVersion ...................................................................... 4-97
vidBackLightOn ............................................................................4-99
vidGetState................................................................................ 4-100
vidPutCursor .............................................................................. 4-101
vidPutStr ................................................................................... 4-102
vidReadCA................................................................................. 4-104
vidReadCursor ........................................................................... 4-106
vidScroll .................................................................................... 4-107
vidSetCursorType ....................................................................... 4-109
vidSetMode................................................................................ 4-111
vidSetPage ................................................................................ 4-112
vidWriteC................................................................................... 4-114
vidWriteCA................................................................................. 4-116
Data Structure Reference..................................................................5-1
CODABARINFO ..............................................................................5-2
CODE128INFO ...............................................................................5-4
Table of Contents v
CODE39INFO.................................................................................5-5
CODE93INFO.................................................................................5-7
D2OF5INFO ...................................................................................5-8
GENERALINFO...............................................................................5-9
Scan Security Levels .................................................................5-10
I2OF5INFO ..................................................................................5-12
MSIINFO......................................................................................5-14
UPCEANINFO ..............................................................................5-16
Scan Security Levels .................................................................5-20
Programming Techniques .................................................................6-1
Printing Labels ...............................................................................6-1
Printing Single Labels..................................................................6-2
Printing Multiple Labels ...............................................................6-2
Quantity .....................................................................................6-3
Reprinting Labels ........................................................................6-4
Pausing While Printing ....................................................................6-4
Loading Multiple Packets Together ...................................................6-4
Building Packets Dynamically...........................................................6-5
Using the Scanner ..........................................................................6-5
Reading Trigger Pulls......................................................................6-5
Audio/Visual Feedback....................................................................6-6
Using UServe and UClient.................................................................7-1
Establishing a PC/Printer Connection ...............................................7-1
Copying Files..............................................................................7-3
Example File Copy ......................................................................7-4
UClient Commands .........................................................................7-5
Syntax Conventions.....................................................................7-6
close .............................................................................................7-7
vi Table of Contents
get ................................................................................................7-7
help...............................................................................................7-8
lcd ................................................................................................7-9
ldel ...............................................................................................7-9
ldir ..............................................................................................7-10
lmd..............................................................................................7-11
lrd...............................................................................................7-11
lwd..............................................................................................7-12
open............................................................................................7-12
ping.............................................................................................7-13
put ..............................................................................................7-13
putbios ........................................................................................7-14
puttrueffs.....................................................................................7-14
quit .............................................................................................7-15
reboot .........................................................................................7-15
setbaud .......................................................................................7-16
setport.........................................................................................7-16
settimeout....................................................................................7-17
ucd..............................................................................................7-17
udel.............................................................................................7-18
udir .............................................................................................7-18
udiskfree .....................................................................................7-19
umd.............................................................................................7-20
urd ..............................................................................................7-21
urun ............................................................................................7-21
uview ..........................................................................................7-22
Uwd ............................................................................................7-22
Troubleshooting............................................................................7-23
Table of Contents vii
Sample Applications........................................................................ A-1
Sample 1 ...................................................................................... A-2
Sample 2 ...................................................................................... A-2
Sample 3 ...................................................................................... A-3
Sample 4 ...................................................................................... A-4
Sample 5 ...................................................................................... A-4
Sample 6 ...................................................................................... A-5
Sample 7 ...................................................................................... A-5
Glossary ......................................................................................... B-1
viii Table of Contents
Introduction 1-1
INTRODUCTION
Welcome to the software development kit (SDK) for the
Monarch® Pathfinder® Ultra®
Gold
6037EX™ printer. The SDK
consists of software and documentation.
This chapter introduces the kit, describing
About this Manual
System Requirements
SDK Contents
Related Documentation
About this Manual
This manual is written for experienced Microsoft® C/C++
programmers who write printer applications. These
programmers should also be familiar with Monarch’s MPCL
printer language.
The following table describes the conventions used in this
manual.
Convention Description
[ ]
Brackets indicate optional items.
Ellipses indicate the preceding item is repeated
one or more times.
Italics An item appearing in italics is a variable, a
function parameter, or a value of a variable.
Bold An item appearing in bold is being emphasized.
+ A plus sign placed between two keys indicates
to press the keys at the same time.
1
1-2 Programmer’s Manual
System Requirements
Following are the hardware and software requirements for the
SDK. Refer to your Windows® and C/C++ documentation for
additional requirements.
Hardware Requirements
You need an IBM® PC or 100% compatible with
80486 or higher processor
VGA or higher monitor
at least 8 MB of memory (16 MB recommended)
hard disk with 8 MB of free space (not including the space
needed for C/C++)
Windows 95® (or higher)-compatible CD-ROM drive
serial port
a printer-to-PC cable (part number 124054).
Software Requirements
Your PC needs the following software:
Microsoft Windows 95 or higher
Any third-party products for serial communications
(purchased separately)
Microsoft C/C++ 1.52
Introduction 1-3
SDK Contents
The SDK is located in the directory you specified during
installation. It is divided into several sub-directories, as
described below.
Sub-directory Description
bin Development tools
docs Online documentation
dos ROM-DOS™ files
font MPCL packets containing the printer’s
external base fonts
images Pre-built ROM disk images
include Include files
lib Library files
samples Source code samples
utilities Utility programs
1-4 Programmer’s Manual
Related Documentation
The following table describes other documentation for the
printer.
Item Description
ROM-DOS User Manual Information about the printer’s ROM-
DOS operating system.
Equipment Manual Information about printer operation.
Application Notes Technical information needed for
application development (beyond
writing a C/C++ program). It contains
information on radio networks,
memory cards, etc.
Packet Reference Manual Syntax descriptions of the MPCL
printer language.
Datalight Sockets
Developer’s Guide
Describes the TCP/IP stack and API
for use with radio cards.
Printer Features 2-1
PRINTER FEATURES
There are several printer features that you must understand to
write applications. For example, just knowing that the printer
has a display does not help. You must know its size, how it
treats messages written to it, how the rows and columns are
numbered, and which functions manipulate it.
This chapter describes the following printer features:
Display
Keypad
Speaker
Memory
Fonts
Scanners
Boot Process
Windows 95/Network Notes
2
2-2 Programmer’s Manual
Display
The printer has an 8-row display. The printers can display
characters in either reverse or normal video. A display
backlight is also available.
Several functions that manipulate the display use a coordinate
system to access a certain point on the display. Coordinate
(0,0) (row, column) is the display’s upper-left corner.
The display is not compatible with any
standard IBM PC display adapter. There is
no program-accessible video memory.
Display Pages
The printer has two display pages (numbered 0-1).
An application can manipulate any display page, regardless of
the current page. To manipulate the display, use the functions
with the vid prefix (see Chapter 4, “Function Reference”).
Each display page has its own cursor. Only one page appears
on the display at a time. To ensure the
application begins on the same display page every time, use
vidSetPage to set the display page at the application’s
beginning.
display pages are empty at the application’s beginning, use
vidScroll to clear the pages at the application’s beginning
and end.
Printer Features 2-3
If the application writes to
a display page other than the current one, the displayed
information does not appear until the application uses
vidSetPage to switch to the new display page.
the current display page, the displayed information appears
immediately.
You may want the application to write messages longer than 20
characters to the display or have a command move the cursor.
If you use standard C functions such as printf, puts, and putc in
the application, the message wraps to the next line and the
cursor moves. The vid functions truncate the message if it
extends beyond the twentieth column and only vidPutCursor
moves the cursor.
LCD Utility
Use the LCD Utility to
set the display speed
turn the display on or off
turn the backlight on or off.
You must reference this utility in AUTOEXEC.BAT to enable the
display before you run your application.
2-4 Programmer’s Manual
LCD [options]
You can enter one or more of the following options on the
command line.
Y Enable the display. This option is the default.
N Disable the display.
F Set the display speed to fast.
S Set the display speed to slow.
C Clear display. Using this command is equivalent to
using the cls command.
D Backlight off.
L Backlight on.
Keypad
The following table describes the keypad’s data entry modes.
These are described in more detail in the Equipment Manual.
Mode Acceptable Keys
Numeric/Symbol Default. Numbers and Symbols
Alphabetic Letters
Special Key Function Keys
Normally, when entering data, the operator must enter and exit
the modes manually. However, with the Kbd functions
described in Chapter 4, an application can also change between
the modes automatically.
Using the trigger is a special case of Function Key mode. See
“Reading Trigger Presses” in Chapter 6 for more information.
Printer Features 2-5
Speaker
Applications can make the printer speaker beep for different
lengths of time and frequencies. For example, you might use
the speaker to bring an error to the operator’s attention or to
indicate a good scan. The spkBeep function (described in
Chapter 4) manipulates the speaker.
Memory
The printer has 2 MB of memory.
2-6 Programmer’s Manual
Following is the address map for the printer.
200000
180000
100000
F0000
F0000 FFFFF BIOS
EE000 EFFFF Disk On Chip
EC000 EDFFF PCMCIA
DC000 EBFFF True FFS
AA000 ABFFF System Variables
A8000 A9FFF Display RAM Video Data Storage
A0000
80000
DOS
500 5FF Data Area 1 for ROM BIOS
400 4FF Data Area 2 for ROM BIOS
0 3FF INT Vectors
0
Free
Free Up to
A0000H
  • Page 1 1
  • Page 2 2
  • Page 3 3
  • Page 4 4
  • Page 5 5
  • Page 6 6
  • Page 7 7
  • Page 8 8
  • Page 9 9
  • Page 10 10
  • Page 11 11
  • Page 12 12
  • Page 13 13
  • Page 14 14
  • Page 15 15
  • Page 16 16
  • Page 17 17
  • Page 18 18
  • Page 19 19
  • Page 20 20
  • Page 21 21
  • Page 22 22
  • Page 23 23
  • Page 24 24
  • Page 25 25
  • Page 26 26
  • Page 27 27
  • Page 28 28
  • Page 29 29
  • Page 30 30
  • Page 31 31
  • Page 32 32
  • Page 33 33
  • Page 34 34
  • Page 35 35
  • Page 36 36
  • Page 37 37
  • Page 38 38
  • Page 39 39
  • Page 40 40
  • Page 41 41
  • Page 42 42
  • Page 43 43
  • Page 44 44
  • Page 45 45
  • Page 46 46
  • Page 47 47
  • Page 48 48
  • Page 49 49
  • Page 50 50
  • Page 51 51
  • Page 52 52
  • Page 53 53
  • Page 54 54
  • Page 55 55
  • Page 56 56
  • Page 57 57
  • Page 58 58
  • Page 59 59
  • Page 60 60
  • Page 61 61
  • Page 62 62
  • Page 63 63
  • Page 64 64
  • Page 65 65
  • Page 66 66
  • Page 67 67
  • Page 68 68
  • Page 69 69
  • Page 70 70
  • Page 71 71
  • Page 72 72
  • Page 73 73
  • Page 74 74
  • Page 75 75
  • Page 76 76
  • Page 77 77
  • Page 78 78
  • Page 79 79
  • Page 80 80
  • Page 81 81
  • Page 82 82
  • Page 83 83
  • Page 84 84
  • Page 85 85
  • Page 86 86
  • Page 87 87
  • Page 88 88
  • Page 89 89
  • Page 90 90
  • Page 91 91
  • Page 92 92
  • Page 93 93
  • Page 94 94
  • Page 95 95
  • Page 96 96
  • Page 97 97
  • Page 98 98
  • Page 99 99
  • Page 100 100
  • Page 101 101
  • Page 102 102
  • Page 103 103
  • Page 104 104
  • Page 105 105
  • Page 106 106
  • Page 107 107
  • Page 108 108
  • Page 109 109
  • Page 110 110
  • Page 111 111
  • Page 112 112
  • Page 113 113
  • Page 114 114
  • Page 115 115
  • Page 116 116
  • Page 117 117
  • Page 118 118
  • Page 119 119
  • Page 120 120
  • Page 121 121
  • Page 122 122
  • Page 123 123
  • Page 124 124
  • Page 125 125
  • Page 126 126
  • Page 127 127
  • Page 128 128
  • Page 129 129
  • Page 130 130
  • Page 131 131
  • Page 132 132
  • Page 133 133
  • Page 134 134
  • Page 135 135
  • Page 136 136
  • Page 137 137
  • Page 138 138
  • Page 139 139
  • Page 140 140
  • Page 141 141
  • Page 142 142
  • Page 143 143
  • Page 144 144
  • Page 145 145
  • Page 146 146
  • Page 147 147
  • Page 148 148
  • Page 149 149
  • Page 150 150
  • Page 151 151
  • Page 152 152
  • Page 153 153
  • Page 154 154
  • Page 155 155
  • Page 156 156
  • Page 157 157
  • Page 158 158
  • Page 159 159
  • Page 160 160
  • Page 161 161
  • Page 162 162
  • Page 163 163
  • Page 164 164
  • Page 165 165
  • Page 166 166
  • Page 167 167
  • Page 168 168
  • Page 169 169
  • Page 170 170
  • Page 171 171
  • Page 172 172
  • Page 173 173
  • Page 174 174
  • Page 175 175
  • Page 176 176
  • Page 177 177
  • Page 178 178
  • Page 179 179
  • Page 180 180
  • Page 181 181
  • Page 182 182
  • Page 183 183
  • Page 184 184
  • Page 185 185
  • Page 186 186
  • Page 187 187
  • Page 188 188
  • Page 189 189
  • Page 190 190
  • Page 191 191
  • Page 192 192
  • Page 193 193
  • Page 194 194
  • Page 195 195
  • Page 196 196
  • Page 197 197
  • Page 198 198
  • Page 199 199
  • Page 200 200
  • Page 201 201
  • Page 202 202
  • Page 203 203
  • Page 204 204
  • Page 205 205
  • Page 206 206
  • Page 207 207
  • Page 208 208
  • Page 209 209
  • Page 210 210
  • Page 211 211
  • Page 212 212
  • Page 213 213
  • Page 214 214
  • Page 215 215
  • Page 216 216
  • Page 217 217
  • Page 218 218
  • Page 219 219
  • Page 220 220
  • Page 221 221
  • Page 222 222
  • Page 223 223
  • Page 224 224
  • Page 225 225
  • Page 226 226
  • Page 227 227
  • Page 228 228
  • Page 229 229
  • Page 230 230

Paxar Monarch Pathfinder Ultra Gold 6037EX User manual

Category
Bar code readers
Type
User manual
This manual is also suitable for

Ask a question and I''ll find the answer in the document

Finding information in a document is now easier with AI