Monarch 9460 G H T, Right buffer-field1 ,buffer-field2 ,length , invalid label, Buffer-field1, 2

Page 95

R I G H T

Purpose

Extracts the right-most characters from a string.

Syntax

RIGHT buffer-field1 ,buffer-field2 ,length [ , [ invalid label ]

 

[ , valid label ] ]

 

 

Process

The RIGHT command extracts the right-most characters from buffer-field1,

 

specified by length, and copies them into buffer-field2.

 

The buffer-fieldfields can be one of the following:

 

 

 

 

 

 

 

Buffer-field1, 2 and

Description

 

 

length

 

 

 

 

 

 

 

 

 

INPUT

Input Buffer

 

 

Logical Field Name

Temporary Buffer

 

 

(TEMP1)

Field

 

 

Logical Field Name (LU1)

Lookup Buffer Field

 

 

Logical Field Name (PR1)

Printer Buffer Field

 

 

 

 

 

 

 

Buffer-field1 only:

 

 

 

 

String

ASCII string delimited

 

 

 

by double quotes.

 

 

 

Must be one

 

 

 

character long

 

 

 

 

 

 

 

Buffer-field1 and length

 

 

 

 

only:

 

 

 

 

Number

Number prefixed by a

 

 

 

number sign (#)

Rule:

Length must be numeric.

 

 

 

 

Optional Fields

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

 

chapter.

 

 

Example 1

This example extracts the five right-most characters from SHIP_NO and copies

 

them to SKU.

 

 

 

RIGHT SHIP_NO,SKU,#5

 

 

Example 2

This example extracts the NUMCHARS right-most characters from SHIP_NO and

 

copies them to SKU.

 

 

 

RIGHT SHIP_NO,SKU,NUMCHARS

See Also

LEFT

 

 

 

LSTRIP

 

 

 

MID

 

 

 

RSTRIP

 

 

Command Reference 5-73

Image 95
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 l2Overview 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 O u t P r o j e c t s V i n g a F i l eA 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 sIf you select LPT1 LPT2 If you select COM1 COM4If 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 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 tChoose Tool Box A d i n g a p p l i c a t i o n sEND 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 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 sY w o r d s Command Reference R i p t F l o w When a label is definedWhen a label is not defined E c i a l C h a r a c t e r sM p i l e r D i r e c t i v e 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 R i p t C o n t r o l C o m m a n d sT 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 sADD WHOLESALE,TEMP2 ADD CONTROL,TEMP1,*ERROR2Buffer-field 1 ExampleAppversion AP11, VER P V E R S I O NArgread PARAMLIST, PARAM1, #1 G R E a DRaw-Data, Destination, IndexASC TAINT, Taascii ASC int-field,asc-fieldInt-field and Asc-field Int-field onlyAutostart T O S T a R TAvailabledata COMM, , *CHARLN A I L a B L E D a T aAvailabledata device , invalid label , valid label DeviceBitclear TEMP1, #2 T C L E a RAsc-field and Int-field Field2 T M a S KOperation Buffer-field1 and BufferBit-position T S E TBoth buffer-field1 and bit-position must be numeric Buffer-fieldBitshift LEFT, TEMP1, #1 T S H I F TDirection Buffer-field1 and countBittest TEMP1, #2, *CLEARED T T E S TBuffer-field1 Value Bsearch CONTROLID, INPUT, *ERRORIDE a R C H Bsearch lookup-field,value , invalid label , valid labelCall Computetax L LCall function-name param1, param2, …,paramX ParamADD Function StartCall END Function Addnum BeginType Chartype type , buffer-field1Using type and buffer-field1 A R T Y P EValue Description E C KCheck item , buffer-field , invalid label , valid label Check BATTERY, *LOWBATTERY CHR TAASCII, Taint CHR asc-field,int-fieldClear TEMP1 E a RClear Printer Closecomm #1 O S E C O M MCommport Is no invalid label M P a R EModifier No valid labelConcat SKU,BCFIELD N C a TSource and Destination Field-buffer2 only T R I PField-buffer1 and Field Buffer2Datatype 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 L a Y Delay #intervalDelay #20 Delay TimeoutHotkey3 Disable F1, F2, F3S a B L E Hotkey1, Hotkey2,Buffer Field1 Divide CONTROL,TEMP1,*ERROR2Divide PRICE,#100,*ERROR2 V I D EA B L E Enable F1, F2, F3Exit I TSrc1 and Src2 T C HFetch src1 , src2 , invalid label , valid label Fieldlen WHOLESALE,TEMP2 E L D L E NFixdata buffer-field1 X D a T aGenerate INPUT, #2 N E R a T EBuffer-field and Type Examplef Minimum and MaximumHotkey F3, Querylookup T K E YHotkey key, function-name KeyBuffer-fields Buffer-field1 comparison buffer-field2Elseif buffer-field2 comparison buffer-field4 Comparison Description INC COUNT01 INC buffer-field , invalid label , valid labelInclude C\PROGS\SAMPLE\SPECIAL.ULT C L U D EInclude TRUCKIN.ULT Position S E R TOverwrite-flag Jump *REQUESTSKU M PLabelcount Numoflabels B E L C O U N TLabelcount buffer-field1 , invalid label , valid label Left SHIPNO,SKU,NUMCHARS F TLeft SHIPNO,SKU,#5 Linkfile CHCKDGIT.PKT N K F I L ESource C a T ELocate row-position, col-position Row-position and col-position can be one of the followingLower Tempsku W E RField-buffer3 only Field-buffer1, FieldBuffer2, and Field Buffer3 Field-buffer1 and Field Buffer2 onlyDefining the Macro C R OMacro macro-name Macro-bodyMove PIEND$ Macro Ptridle Begin Move CheckCompare MID LOCATION,TEMP1,#5,#5 Buffer-field1, 2, StartBuffer-field1, start, Length only Move source, destination , invalid label , valid label V EMove INPUT,CONTROLID DestinationValid label Multiply PRICE,TEMP1,*ERROR2L T I P L Y Multiply buffer-field1 ,buffer-field2 , invalid 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 Format-number and quantity must be numeric I N TFormat-number QuantityBuffer-field2 E R YComparison Control passes to the *PROCESSID Command again to ensure a valid record pointerRule Is numeric, buffer-field2must be numericRead Lookup A DRead record table-name , invalid label , valid label RecordSavescreen Clear Display Move RestorescreenS T O R E S C R E E N Clear Display MoveReturn T U R NCompare FSIZE,EQ,#12,,*GOODDATA Right SHIPNO,SKU,#5 G H TRight buffer-field1 ,buffer-field2 ,length , invalid label Buffer-field1, 2Rstrip SHIPNO, SKU, #5 Buffer-field1,Buffer-field2Length Savescreen V E S C R E E NSeek NEXT,LOOKUPFILE,*EOFLABEL E KTo modifier File-typeSUB CONTROLID,TEMP1 I T C H Switch buffer-field1 Case buffer-fieldWhile Function/Description Parameter1 Parameter2 S S E TSysset function, parameter1, parameter2 Sysset PROMPTS, #1 192 * width in inches 192 * length in inchesCharacter, 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 Upper Tempsku P E RValidate Input #2 L I D a T EValidate source, type Invalid label , valid label Source and TypeWhile buffer-field1 comparison buffer-field2 I L EEndwhile WhilePtridle 88Command Reference M P L E S C R I P T Concat 13,~034FISHING ROD~034, Scratch ConcatConcat R,1,~034170 Monarch LANE~034, Scratch ScratchScratch Concat Concat R,1,~034MIAMISBURG OH 45342~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.