Contents
Monarch 9460 ADK Printer
Trademarks
TA B L E O F C O N T E N T S
Command Reference
Table of Contents
Sample Script
E v i e w o f T e r m s
W t o U s e t h i s M a n u a l
2Overview
S t e m R e q u i r e m e n t s
Install i n g t h e S o f t w a r e
N n e c t i n g t h e P r i n t e r
T t i n g S t a r t e d
Page
O u t P r o j e c t s
V i n g a F i l e
A n g i n g t h e D o w n l o a d S e t t i n g s
I l d i n g P r o j e c t s
If you select LPT1 LPT2
If you select COM1 COM4
I t i n g E x i s t i n g P r o j e c t s
W n l o a d i n g a P r o j e c t
If you select Tcpip
8Using the Software
C e s s i n g t h e T o o l b o
S p l a y i n g t h e R e a d y P r o m p t
Choose Tool Box
A d i n g a p p l i c a t i o n s
Begin
N c t i o n s
END
L e s a n d B u f f e r s
A r t i n g a S c r i p t
Function Start Begin
O p e o f F i e l d N a m e s
ADD Control , TEMP1 , *ERROR2, *SUCCESS2
R i p t F l o w C o n t r o l
T a S t o r a g e
M m e n t s i n a S c r i p t
T a C o d i n g
E l d N a m e s
O g r a m m i n g C o n v e n t i o n s
Y w o r d s
Command Reference
When a label is not defined
When a label is defined
E c i a l C h a r a c t e r s
R i p t F l o w
T h C o m m a n d s
N c t i o n a l R e l a t i o n s h i p s
R i p t C o n t r o l C o m m a n d s
M p i l e r D i r e c t i v e s
T a M a n i p u l a t i o n C o m m a n d s
P u t / O u t p u t C o m m a n d s
L e M a n a g e m e n t C o m m a n d s
Buffer-field 1
ADD CONTROL,TEMP1,*ERROR2
Example
ADD WHOLESALE,TEMP2
Appversion AP11, VER
P V E R S I O N
Raw-Data, Destination,
G R E a D
Index
Argread PARAMLIST, PARAM1, #1
Int-field and Asc-field
ASC int-field,asc-field
Int-field only
ASC TAINT, Taascii
Autostart
T O S T a R T
Availabledata device , invalid label , valid label
A I L a B L E D a T a
Device
Availabledata COMM, , *CHARLN
Asc-field and Int-field
T C L E a R
Bitclear TEMP1, #2
Operation
T M a S K
Buffer-field1 and Buffer
Field2
Both buffer-field1 and bit-position must be numeric
T S E T
Buffer-field
Bit-position
Direction
T S H I F T
Buffer-field1 and count
Bitshift LEFT, TEMP1, #1
Buffer-field1
T T E S T
Bittest TEMP1, #2, *CLEARED
E a R C H
Bsearch CONTROLID, INPUT, *ERRORID
Bsearch lookup-field,value , invalid label , valid label
Value
Call function-name param1, param2, …,paramX
L L
Param
Call Computetax
Call
Function Start
END Function Addnum Begin
ADD
Using type and buffer-field1
Chartype type , buffer-field1
A R T Y P E
Type
Check item , buffer-field , invalid label , valid label
E C K
Value Description
Check BATTERY, *LOWBATTERY
CHR TAASCII, Taint
CHR asc-field,int-field
Clear Printer
E a R
Clear TEMP1
Commport
O S E C O M M
Closecomm #1
Modifier
M P a R E
No valid label
Is no invalid label
Source and Destination
N C a T
Concat SKU,BCFIELD
Field-buffer1 and Field
T R I P
Buffer2
Field-buffer2 only
Data-type
T a T Y P E
Datatype Alphanumeric
Buffer Field
DEC buffer-field , invalid label , valid label
DEC Tempsku
F I N E
Define TEMPORARY,CURRQTY,4,N
Delay #20
Delay #interval
Delay Timeout
L a Y
S a B L E
Disable F1, F2, F3
Hotkey1, Hotkey2,
Hotkey3
Divide PRICE,#100,*ERROR2
Divide CONTROL,TEMP1,*ERROR2
V I D E
Buffer Field1
A B L E
Enable F1, F2, F3
Exit
I T
Fetch src1 , src2 , invalid label , valid label
T C H
Src1 and Src2
Fieldlen WHOLESALE,TEMP2
E L D L E N
Fixdata buffer-field1
X D a T a
Buffer-field and Type
N E R a T E
Generate INPUT, #2
Examplef
Minimum and Maximum
Hotkey key, function-name
T K E Y
Key
Hotkey F3, Querylookup
Elseif buffer-field2 comparison buffer-field4
Buffer-field1 comparison buffer-field2
Buffer-fields
Comparison Description
INC COUNT01
INC buffer-field , invalid label , valid label
Include TRUCKIN.ULT
C L U D E
Include C\PROGS\SAMPLE\SPECIAL.ULT
Overwrite-flag
S E R T
Position
Jump *REQUESTSKU
M P
Labelcount buffer-field1 , invalid label , valid label
B E L C O U N T
Labelcount Numoflabels
Left SHIPNO,SKU,#5
F T
Left SHIPNO,SKU,NUMCHARS
Linkfile CHCKDGIT.PKT
N K F I L E
Locate row-position, col-position
C a T E
Row-position and col-position can be one of the following
Source
Lower Tempsku
W E R
Buffer2, and Field Buffer3
Field-buffer1, Field
Field-buffer1 and Field Buffer2 only
Field-buffer3 only
Macro macro-name
C R O
Macro-body
Defining the Macro
Compare
Macro Ptridle Begin Move Check
Move PIEND$
Buffer-field1, start, Length only
Buffer-field1, 2, Start
MID LOCATION,TEMP1,#5,#5
Move source, destination , invalid label , valid label
V E
Move INPUT,CONTROLID
Destination
L T I P L Y
Multiply PRICE,TEMP1,*ERROR2
Multiply buffer-field1 ,buffer-field2 , invalid label
Valid label
Commport and Timeout
Opencomm commport, timeout
E N C O M M
Max-length
Pad-field, Pad-character
PAD L,PRICEFIELD,*,LPRICE
Parse invalid label , valid label
R S E
Parse
Format-number
I N T
Quantity
Format-number and quantity must be numeric
Comparison
E R Y
Buffer-field2
Rule
Command again to ensure a valid record pointer
Is numeric, buffer-field2must be numeric
Control passes to the *PROCESSID
Read record table-name , invalid label , valid label
A D
Record
Read Lookup
S T O R E S C R E E N
Restorescreen
Clear Display Move
Savescreen Clear Display Move
Compare FSIZE,EQ,#12,,*GOODDATA
T U R N
Return
Right buffer-field1 ,buffer-field2 ,length , invalid label
G H T
Buffer-field1, 2
Right SHIPNO,SKU,#5
Length
Buffer-field1,Buffer-field2
Rstrip SHIPNO, SKU, #5
Savescreen
V E S C R E E N
To modifier
E K
File-type
Seek NEXT,LOOKUPFILE,*EOFLABEL
SUB CONTROLID,TEMP1
I T C H
Switch buffer-field1 Case buffer-field
While
Sysset function, parameter1, parameter2
S S E T
Function/Description Parameter1 Parameter2
Sysset PROMPTS, #1
192 * width in inches 192 * length in inches
Token Delimeter character , invalid label , valid label
K E N
Character, buffer-field1
Buffer-field1 and Buffer-field2
Buffer-field1 and buffer-field2 can be one of the following
Buffer-field2 only
Upper Tempsku
P E R
Validate source, type Invalid label , valid label
L I D a T E
Source and Type
Validate Input #2
While buffer-field1 comparison buffer-field2
I L E
Ptridle
While
Endwhile
88Command Reference
M P L E S C R I P T
Concat 13,~034FISHING ROD~034, Scratch
Concat
Scratch Concat
Scratch
Concat R,1,~034MIAMISBURG OH 45342~034, Scratch
Concat R,1,~034170 Monarch LANE~034, Scratch
DEPT#25~034, Scratch
D E
Page
Page
Index