Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeEnglishEspañolContact

The text of a manual · part 5 of 5

Monarch 6017 HandiPrint Printer Programmer's Manual, pages 37 to 44

Pages 37 to 44 of 44

The original document is the PDF (3.7 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.

For the Monarch HandiPrint 6017

Page 37

'Set up data str eam CmdString = ESC & "P#" & CRLF & CRLF CmdString = CmdString & " Paxar/Monarch" & CRLF CmdString = CmdString & " 170 Monarch Ln." & CRLF CmdString = CmdString & " Miamisburg, OH 45342" & CRLF CmdString = CmdString & " Phone: (937) 865-2123" & CRLF & CRLF CmdString = CmdString & " SALES RECEIPT" & CRLF & CRLF CmdString = CmdString & "Description Qty. Total" & LF CmdString = CmdString & "1.Monarch 9490 5 3495" & LF C m d S t r i n g = C m dString & "2.Monarch 9403 4 995" & LF CmdString = CmdString & "3.Monarch 6035 3 4995" & LF CmdString = CmdString & "4.Monarch 6030 2 2995" & LF CmdString = CmdString & "5.Monarch 9450 1 995" & LF CmdString = CmdString & " -----" & LF CmdString = CmdString & " Total 13475" & CRLF & CRLF CmdString = CmdString & "AMEX 37xvz55xx315001" & LF CmdString = CmdString & "Exp. Date 10/01" & CRLF & CRLF & CRLF CmdString = CmdString & ESC & "z1" & Char(6) & Chr(64) & "123456" CmdString = CmdString & LF & Chr(12) CmdString = CmdString & "" & LF CmdString = CmdString & "" & LF 'Allocate the port iSerialPort = SerialPortAllocate() iReturn = SerialPortOpenText(iSerialPort , 0, 19200, CRLF, CRLF) iReturn = SerialPortConfigure(iSerialPort,19200,8,"None",1,"Hardware") BufferSize = 512 + 32 'Allocate buffer Buffer = MemoryAllocate(BufferSize) iReturn = SerialPortSetBuffer(iSerialPort, Buffer, BufferSize) 'Send data stream iReturn = SerialPortWriteString(iSerialPort, CmdString) While Byte <> NAK 'Wait for response Byte = SerialPortReadString(iSerialPort, 1) if Byte = NAK then exit while String = String & Byte Wend MsgBox(String)

Sample Application A-3

Page 38

Buffer = MemoryFree(Buffer) iReturn = SerialPortClose(iSerialPort) iReturn = SerialPortFree(iSerialPort)

'Deallocate the port

LPrint(Chr(12)) MsgBox("Done") If ClosePort() = false then MsgBox("Close Failed") EndIf

'Form feed 'Finish up

A-4 Sample Application

Page 39

INDEX A application, sample, A- 1 B commands bar code field creation, 2- 7 bar code scanner, 6- 2 battery voltage checking, 3- 2 bar code character set selection, 2- 2, 4- 3 fields, creating, 2- 7 scanner, using, 6- 1 specifying particular, 2- 8 types available, 2- 8 battery voltage, checking, 3- 2 black mark supplies, 3- 5 buffer mode, 3- 1 data stream graphic, 2- 4 field positioning, 2- 10 flash memory graphic, 2- 6 formatting text, 2- 2 handheld communication, 3- 7 loading new characters, 4- 4 magnetic card reader, 5- 1

C character miscellaneous control characters, 3- 8 operating mode selection, 3- 1 defining new, 4- 2 power mode setting, 3- 2 exceptions, 2- 2 power- off timer, 3- 4 loading new, 4- 4 print contrast setting, 3- 1 sets, selecting (creating text fields), 2- 2 supply control, 3- 5 sets, selecting (font modification), 4- 3 checking battery voltage, 3- 2 print buffer status, 3- 3 version information,3- 6 Codabar bar codes, 2- 8 Code 128 (UCC/EAN- 128 bar codes, 2- 9 Code 39 bar codes, 2- 8 version information checking, 3- 6 communicating with handheld, 3- 7 communication parameters, 3- 7 configuring printer, 3- 1 contrast, print, 3- 1 control characters, miscellaneous, 3- 8 control of supplies, 3- 5 conventions in manual, 1- 2 Index-1

Page 40

creating formats bar code fields, 2- 7 definition, 2- 1 formats, 2- 1 printing and creating, 2- 1 graphic fields, 2- 3 formatting text, 2- 2 text fields, 2- 1

G D graphics data stream graphics, 2- 4 data stream, 2- 4 defining new characters, 4- 2 fields, 2- 3 duty cycle, 1- 1 flash memory, 2- 5 E

H errors, magnetic card reader, 5- 3 handheld, communicating with, 3- 7 exceptions, character, 2- 2 hardware version, 3- 6

F fields

I initialization of printer, 3- 8 bar code, 2- 7

Interleaved 2 of 5 bar codes, 2- 8 definition, 2- 1 introduction, 1- 1 graphic, 2- 3 positioning, 2- 10

L loading new characters, 4- 4 text, 2- 1

M firmware version, 3- 6 flash memory graphics, 2- 5 fonts modified, 4- 4 resident, 4- 1 sizes, 4- 1

Index-2 magnetic card reader errors, 5- 3 using, 5- 1 manual, conventions in, 1- 2

Page 41

selecting mode character sets (creating text fields), 2- 2 buffer, 3- 1 online, 3- 1 character sets (font modification), 4- 3 operating, 3- 1 operating mode, 3- 1 power, 3- 2 modifying resident fonts, 4- 1 O setting power mode, 3- 2 print contrast, 3- 1 online mode, 3- 1 sizes of fonts, 4- 1 operating mode, selecting, 3- 1 status, print buffer, 3- 3

P supplies, black mark, 3- 5 T positioning fields, 2- 10 power mode, setting, 3- 2 text power- off timer, using, 3- 3 fields, creating, 2- 1 print buffer status, checking, 3- 3 formatting, 2- 2 print contrast, setting, 3- 1 timer, power- off, 3- 3 printer

U configuring, 3- 1

UPC/EAN/JAN bar codes, 2- 8 initialization, 3- 8 supply control responses, 3- 6 printing formats, 2- 1 R using bar code scanner, 6- 1 data stream graphics, 2- 4 flash memory graphics, 2- 5 resident fonts, modifying, 4- 1 magnetic card reader, 5- 1 responses (supply control), 3- 6 power- off timer, 3- 3

S

V sample application, A- 1 version information, checking, 3- 6 saving modified fonts, 4- 4 voltage, battery, 3- 2 scanner, bar code, 6- 1 Index-3

Page 42

Index-4

Page 43

This page is a scan with no text; see it in the PDF.

Page 44

For supplies, service, or assistance call toll free: 1-800-543-6650 (In the U.S.A.) 1-800-263-4650 (In Canada) www.monarch.com