Monarch 9460 manual Minimum and Maximum, Examplef

Page 66

G E T

Purpose

Retrieves data from up to two input devices.

Syntax

GET src1 [, src2], minimum, maximum [ , type ] [ , [ invalid label ] [ , valid label ] ]

Process

The GET command retrieves data from src1, and optionally, src2, and places it in

 

the input buffer.

 

 

 

Src1 and src2 can be one of the following:

 

 

 

 

 

 

 

Src1 and Src2

Description

 

 

 

 

 

 

 

COMM

Communications port

 

 

KEYBOARD

Keypad

 

 

 

 

Minimum and maximum represent the field length. If minimum is 4 and maximum is

 

6, a valid entry for that field is 4 to 6 characters. The valid range for minimum and

 

maximum is 0 - 512 characters. These fields can be one of the following:

 

 

 

 

 

 

 

Minimum and Maximum

Description

 

 

 

 

 

 

 

INPUT

Input Buffer

 

 

Logical Field Name

Temporary Buffer

 

 

(TEMP1)

Field

 

 

Logical Field Name (LU1)

Lookup Buffer Field

 

 

Logical Field Name (PR1)

Printer Buffer Field

 

 

Logical Field Name

Array Buffer Field

 

 

(Field1) [Index]

 

 

 

 

 

 

 

 

 

Number

Number prefixed by a

 

 

 

number sign (#)

 

 

 

NOTE:

Use the FETCH command if both minimum and maximum equal zero.

Optional Fields Type specifies the input's character type as:

Type

N

A

Description

Numeric only

Alphanumeric

 

Type overrides what you set up with the DATATYPE and CHARTYPE commands.

 

Alphanumeric is the default for type (only when you do not set up a type with

 

DATATYPE or CHARTYPE).

 

Invalid and valid labels are discussed in “Script Flow" at the beginning of this

 

chapter.

Examplef

This example retrieves data from the communications port.

 

GET COMM,#0,#255

See Also

FETCH

5-44Command Reference

Image 66
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 Install i n g t h e S o f t w a r e S t e m R e q u i r e m e n t sN 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 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 LPT2W n l o a d i n g a P r o j e c t I t i n g E x i s t i n g P r o j e c t sIf you select Tcpip 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 BoxN c t i o n s BeginEND A r t i n g a S c r i p t L e s a n d B u f f e r sFunction Start Begin ADD Control , TEMP1 , *ERROR2, *SUCCESS2 O p e o f F i e l d N a m e sR i p t F l o w C o n t r o l M m e n t s i n a S c r i p t T a S t o r a g eT a C o d i n g 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 E c i a l C h a r a c t e r s When a label is definedWhen a label is not defined R i p t F l o wR i p t C o n t r o l 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 sT h 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 sExample ADD CONTROL,TEMP1,*ERROR2Buffer-field 1 ADD WHOLESALE,TEMP2P V E R S I O N Appversion AP11, VERIndex G R E a DRaw-Data, Destination, Argread PARAMLIST, PARAM1, #1Int-field only ASC int-field,asc-fieldInt-field and Asc-field ASC TAINT, TaasciiT O S T a R T AutostartDevice A I L a B L E D a T aAvailabledata device , invalid label , valid label Availabledata COMM, , *CHARLNT C L E a R Asc-field and Int-fieldBitclear TEMP1, #2 Buffer-field1 and Buffer T M a S KOperation Field2Buffer-field T S E TBoth buffer-field1 and bit-position must be numeric Bit-positionBuffer-field1 and count T S H I F TDirection Bitshift LEFT, TEMP1, #1T T E S T Buffer-field1Bittest TEMP1, #2, *CLEARED Bsearch lookup-field,value , invalid label , valid label Bsearch CONTROLID, INPUT, *ERRORIDE a R C H ValueParam L LCall function-name param1, param2, …,paramX Call ComputetaxEND Function Addnum Begin Function StartCall ADDA R T Y P E Chartype type , buffer-field1Using type and buffer-field1 TypeE C K Check item , buffer-field , invalid label , valid labelValue Description Check BATTERY, *LOWBATTERY CHR asc-field,int-field CHR TAASCII, TaintE a R Clear PrinterClear TEMP1 O S E C O M M CommportClosecomm #1 No valid label M P a R EModifier Is no invalid labelN C a T Source and DestinationConcat SKU,BCFIELD Buffer2 T R I PField-buffer1 and Field Field-buffer2 onlyT a T Y P E Data-typeDatatype Alphanumeric DEC buffer-field , invalid label , valid label Buffer FieldDEC Tempsku F I N E Define TEMPORARY,CURRQTY,4,N Delay Timeout Delay #intervalDelay #20 L a YHotkey1, Hotkey2, Disable F1, F2, F3S a B L E Hotkey3V I D E Divide CONTROL,TEMP1,*ERROR2Divide PRICE,#100,*ERROR2 Buffer Field1Enable F1, F2, F3 A B L EI T ExitT C H Fetch src1 , src2 , invalid label , valid labelSrc1 and Src2 E L D L E N Fieldlen WHOLESALE,TEMP2X D a T a Fixdata buffer-field1N E R a T E Buffer-field and TypeGenerate INPUT, #2 Minimum and Maximum ExamplefKey T K E YHotkey key, function-name Hotkey F3, QuerylookupBuffer-field1 comparison buffer-field2 Elseif buffer-field2 comparison buffer-field4Buffer-fields Comparison Description INC buffer-field , invalid label , valid label INC COUNT01C L U D E Include TRUCKIN.ULTInclude C\PROGS\SAMPLE\SPECIAL.ULT S E R T Overwrite-flagPosition M P Jump *REQUESTSKUB E L C O U N T Labelcount buffer-field1 , invalid label , valid labelLabelcount Numoflabels F T Left SHIPNO,SKU,#5Left SHIPNO,SKU,NUMCHARS N K F I L E Linkfile CHCKDGIT.PKTRow-position and col-position can be one of the following C a T ELocate row-position, col-position SourceW E R Lower TempskuField-buffer1 and Field Buffer2 only Field-buffer1, FieldBuffer2, and Field Buffer3 Field-buffer3 onlyMacro-body C R OMacro macro-name Defining the MacroMacro Ptridle Begin Move Check CompareMove PIEND$ Buffer-field1, 2, Start Buffer-field1, start, Length onlyMID LOCATION,TEMP1,#5,#5 V E Move source, destination , invalid label , valid labelDestination Move INPUT,CONTROLIDMultiply buffer-field1 ,buffer-field2 , invalid label Multiply PRICE,TEMP1,*ERROR2L T I P L Y Valid labelOpencomm commport, timeout Commport and TimeoutE N C O M M Pad-field, Pad-character Max-lengthPAD L,PRICEFIELD,*,LPRICE R S E Parse invalid label , valid labelParse Quantity I N TFormat-number Format-number and quantity must be numericE R Y ComparisonBuffer-field2 Is numeric, buffer-field2must be numeric Command again to ensure a valid record pointerRule Control passes to the *PROCESSIDRecord A DRead record table-name , invalid label , valid label Read LookupClear Display Move RestorescreenS T O R E S C R E E N Savescreen Clear Display MoveT U R N Compare FSIZE,EQ,#12,,*GOODDATAReturn Buffer-field1, 2 G H TRight buffer-field1 ,buffer-field2 ,length , invalid label Right SHIPNO,SKU,#5Buffer-field1,Buffer-field2 LengthRstrip SHIPNO, SKU, #5 V E S C R E E N SavescreenFile-type E KTo modifier Seek NEXT,LOOKUPFILE,*EOFLABELSUB CONTROLID,TEMP1 Switch buffer-field1 Case buffer-field I T C HWhile S S E T Sysset function, parameter1, parameter2Function/Description Parameter1 Parameter2 192 * width in inches 192 * length in inches Sysset PROMPTS, #1K E N Token Delimeter character , invalid label , valid labelCharacter, buffer-field1 Buffer-field1 and buffer-field2 can be one of the following Buffer-field1 and Buffer-field2Buffer-field2 only P E R Upper TempskuSource and Type L I D a T EValidate source, type Invalid label , valid label Validate Input #2I L E While buffer-field1 comparison buffer-field2While PtridleEndwhile 88Command Reference M P L E S C R I P T Concat Concat 13,~034FISHING ROD~034, ScratchConcat R,1,~034MIAMISBURG OH 45342~034, Scratch ScratchScratch Concat 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.