Monarch 9460 manual G R E a D, Raw-Data, Destination, Index, Argread PARAMLIST, PARAM1, #1

Page 32

A R G R E A D

Purpose

Extracts field data from one field and places it in another.

Syntax

ARGREAD raw-data,destination, index [ , [ invalid label ] [ , valid label ] ]

Process

The ARGREAD command extracts data from raw-dataand places it in destination.

 

The raw-data, destination, and index fields can be one the following:

 

 

 

 

 

 

 

Raw-Data, Destination, and

Description

 

 

Index

 

 

 

 

 

 

 

 

 

INPUT

Input Buffer

 

 

Logical Field Name (TEMP1)

Temporary Buffer Field

 

 

Logical Field Name (LU1)

Lookup Buffer Field

 

 

Logical Field Name (PR1)

Printer Buffer Field

 

 

 

 

 

 

 

Raw-data field only:

 

 

 

 

String

ASCII string delimited by

 

 

 

double quotes.

 

 

 

 

 

 

 

Index field only:

 

 

 

 

Number

Number prefixed by a number

 

 

 

sign (#). Range is 1-99.

 

 

 

 

 

Optional Fields Invalid and valid labels are discussed in "Script Flow" at the beginning of this chapter.

Example Assuming PARAMLIST contains SSN,Name,Item, the following example extracts SSN and places it in the PARAM1 variable.

ARGREAD PARAMLIST, PARAM1, #1

5-10Command Reference

Image 32
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 W t o U s e t h i s M a n u a l E v i e w o f T e r m s2Overview N n e c t i n g t h e P r i n t e r Install i n g t h e S o f t w a r eS t e m R e q u i r e m e n t s T t i n g S t a r t e d Page V i n g a F i l e O u t P r o j e c t sI l d i n g P r o j e c t s A n g i n g t h e D o w n l o a d S e t t i n g sIf you select COM1 COM4 If you select LPT1 LPT2If you select Tcpip W n l o a d i n g a P r o j e c tI t i n g E x i s t i n g P r o j e c t s 8Using the Software S p l a y i n g t h e R e a d y P r o m p t C e s s i n g t h e T o o l b oA d i n g a p p l i c a t i o n s Choose Tool BoxEND N c t i o n sBegin Function Start Begin A r t i n g a S c r i p tL e s a n d B u f f e r s R i p t F l o w C o n t r o l ADD Control , TEMP1 , *ERROR2, *SUCCESS2O p e o f F i e l d N a m e s T a C o d i n g M m e n t s i n a S c r i p tT a S t o r a g e O g r a m m i n g C o n v e n t i o n s E l d N a m e sY w o r d s Command Reference When a label is defined When a label is not definedE c i a l C h a r a c t e r s R i p t F l o wN c t i o n a l R e l a t i o n s h i p s T h C o m m a n d sR 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 sT a M a n i p u l a t i o n 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 P u t / O u t p u t C o m m a n d sADD CONTROL,TEMP1,*ERROR2 Buffer-field 1Example ADD WHOLESALE,TEMP2P V E R S I O N Appversion AP11, VERG R E a D Raw-Data, Destination,Index Argread PARAMLIST, PARAM1, #1ASC int-field,asc-field Int-field and Asc-fieldInt-field only ASC TAINT, TaasciiT O S T a R T AutostartA I L a B L E D a T a Availabledata device , invalid label , valid labelDevice Availabledata COMM, , *CHARLNBitclear TEMP1, #2 T C L E a RAsc-field and Int-field T M a S K OperationBuffer-field1 and Buffer Field2T S E T Both buffer-field1 and bit-position must be numericBuffer-field Bit-positionT S H I F T DirectionBuffer-field1 and count Bitshift LEFT, TEMP1, #1Bittest TEMP1, #2, *CLEARED T T E S TBuffer-field1 Bsearch CONTROLID, INPUT, *ERRORID E a R C HBsearch lookup-field,value , invalid label , valid label ValueL L Call function-name param1, param2, …,paramXParam Call ComputetaxFunction Start CallEND Function Addnum Begin ADDChartype type , buffer-field1 Using type and buffer-field1A R T Y P E TypeValue Description E C KCheck item , buffer-field , invalid label , valid label Check BATTERY, *LOWBATTERY CHR asc-field,int-field CHR TAASCII, TaintClear TEMP1 E a RClear Printer Closecomm #1 O S E C O M MCommport M P a R E ModifierNo valid label Is no invalid labelConcat SKU,BCFIELD N C a TSource and Destination T R I P Field-buffer1 and FieldBuffer2 Field-buffer2 onlyDatatype Alphanumeric T a T Y P EData-type DEC Tempsku DEC buffer-field , invalid label , valid labelBuffer Field F I N E Define TEMPORARY,CURRQTY,4,N Delay #interval Delay #20Delay Timeout L a YDisable F1, F2, F3 S a B L EHotkey1, Hotkey2, Hotkey3Divide CONTROL,TEMP1,*ERROR2 Divide PRICE,#100,*ERROR2V I D E Buffer Field1Enable F1, F2, F3 A B L EI T ExitSrc1 and Src2 T C HFetch src1 , src2 , invalid label , valid label E L D L E N Fieldlen WHOLESALE,TEMP2X D a T a Fixdata buffer-field1Generate INPUT, #2 N E R a T EBuffer-field and Type Minimum and Maximum ExamplefT K E Y Hotkey key, function-nameKey Hotkey F3, QuerylookupBuffer-fields Buffer-field1 comparison buffer-field2Elseif buffer-field2 comparison buffer-field4 Comparison Description INC buffer-field , invalid label , valid label INC COUNT01Include C\PROGS\SAMPLE\SPECIAL.ULT C L U D EInclude TRUCKIN.ULT Position S E R TOverwrite-flag M P Jump *REQUESTSKULabelcount Numoflabels B E L C O U N TLabelcount buffer-field1 , invalid label , valid label Left SHIPNO,SKU,NUMCHARS F TLeft SHIPNO,SKU,#5 N K F I L E Linkfile CHCKDGIT.PKTC a T E Locate row-position, col-positionRow-position and col-position can be one of the following SourceW E R Lower TempskuField-buffer1, Field Buffer2, and Field Buffer3Field-buffer1 and Field Buffer2 only Field-buffer3 onlyC R O Macro macro-nameMacro-body Defining the MacroMove PIEND$ Macro Ptridle Begin Move CheckCompare MID LOCATION,TEMP1,#5,#5 Buffer-field1, 2, StartBuffer-field1, start, Length only V E Move source, destination , invalid label , valid labelDestination Move INPUT,CONTROLIDMultiply PRICE,TEMP1,*ERROR2 L T I P L YMultiply buffer-field1 ,buffer-field2 , invalid label Valid labelE N C O M M Opencomm commport, timeoutCommport and Timeout PAD L,PRICEFIELD,*,LPRICE Pad-field, Pad-characterMax-length Parse R S EParse invalid label , valid label I N T Format-numberQuantity Format-number and quantity must be numericBuffer-field2 E R YComparison Command again to ensure a valid record pointer RuleIs numeric, buffer-field2must be numeric Control passes to the *PROCESSIDA D Read record table-name , invalid label , valid labelRecord Read LookupRestorescreen S T O R E S C R E E NClear Display Move Savescreen Clear Display MoveReturn T U R NCompare FSIZE,EQ,#12,,*GOODDATA G H T Right buffer-field1 ,buffer-field2 ,length , invalid labelBuffer-field1, 2 Right SHIPNO,SKU,#5Rstrip SHIPNO, SKU, #5 Buffer-field1,Buffer-field2Length V E S C R E E N SavescreenE K To modifierFile-type Seek NEXT,LOOKUPFILE,*EOFLABELSUB CONTROLID,TEMP1 Switch buffer-field1 Case buffer-field I T C HWhile Function/Description Parameter1 Parameter2 S S E TSysset function, parameter1, parameter2 192 * width in inches 192 * length in inches Sysset PROMPTS, #1Character, buffer-field1 K E NToken Delimeter character , invalid label , valid label Buffer-field2 only Buffer-field1 and buffer-field2 can be one of the followingBuffer-field1 and Buffer-field2 P E R Upper TempskuL I D a T E Validate source, type Invalid label , valid labelSource and Type Validate Input #2I L E While buffer-field1 comparison buffer-field2Endwhile WhilePtridle 88Command Reference M P L E S C R I P T Concat Concat 13,~034FISHING ROD~034, ScratchScratch Scratch ConcatConcat R,1,~034MIAMISBURG OH 45342~034, Scratch Concat R,1,~034170 Monarch LANE~034, ScratchDEPT#25~034, Scratch D E Page Page Index

9460 specifications

The Monarch 9460 is a cutting-edge printing solution designed to meet the needs of modern businesses and industries. This advanced printer combines high-performance capabilities with user-friendly features, making it an ideal choice for various applications, from industrial printing to high-volume document production.

One of the standout features of the Monarch 9460 is its exceptional printing speed. Capable of producing thousands of labels per hour, this printer is engineered to handle large-scale printing tasks efficiently. This speed does not compromise print quality; the Monarch 9460 delivers sharp, crisp images with precise color reproduction, ensuring that labels and documents are not only produced quickly but also look professional.

The Monarch 9460 employs advanced thermal transfer printing technology, which allows for high-resolution output that is resistant to smudging and fading. This durability is particularly important for labels that need to withstand harsh environments or extended periods of use. Additionally, the printer supports a variety of media types and sizes, making it versatile and adaptable to different printing needs.

Another key characteristic of the Monarch 9460 is its robust connectivity options. The printer supports multiple connectivity methods, including USB, Ethernet, and wireless options, allowing seamless integration into existing workflows and systems. This flexibility is crucial for organizations looking to streamline operations and improve productivity.

User convenience is also a priority with the Monarch 9460. Its intuitive control interface, complete with a color touchscreen display, simplifies the printing process, reducing the learning curve for new users. The printer also offers easy maintenance features, such as straightforward access to replace consumables, minimizing downtime and ensuring consistent performance.

In terms of software integration, the Monarch 9460 is compatible with a variety of printing software solutions, making it simple to incorporate into any automated system. It can also connect to various databases for dynamic label printing, enhancing efficiency in applications such as inventory management and shipping.

In summary, the Monarch 9460 stands out as an exceptional printing solution that combines speed, quality, versatility, and user convenience. Its advanced technologies and features make it a valuable asset for businesses looking to enhance their printing capabilities in a competitive landscape. Whether for high-volume label production or professional document printing, the Monarch 9460 is engineered to deliver remarkable performance consistently.