Monarch 9460 L T I P L Y, Multiply buffer-field1 ,buffer-field2 , invalid label, Valid label

Page 85

M U L T I P L Y

Purpose

Multiplies the contents of one field by the contents of another.

Syntax

MULTIPLY buffer-field1 ,buffer-field2 [ , [ invalid label ]

 

[ , valid label ] ]

 

 

Process

The MULTIPLY command multiplies buffer-field1by buffer-field2, inserting the

 

product into buffer-field2.

 

 

 

The maximum value for the buffer-field1, buffer-field2, and the result is

 

429,496,795.

 

 

 

The buffer-fieldfields can be one the following:

 

 

 

 

 

 

 

Buffer-field1 and 2

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]

 

 

 

 

 

 

 

 

 

Buffer-field1 only:

 

 

 

 

Number

Number prefixed by a

 

 

 

number sign (#)

 

 

 

Rule:

The buffer-fieldfields must be numeric.

Optional Fields

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

 

chapter.

 

 

Example

This example multiplies PRICE by TEMP1, inserting the product into TEMP1. If

 

TEMP1 overflows, control passes to *ERROR2. If TEMP1 does not overflow,

 

control passes to the next line.

 

 

 

MULTIPLY PRICE,TEMP1,*ERROR2

See Also

DIVIDE

 

 

 

INC

 

 

 

SUB

 

 

 

ADD

 

 

 

DEC

 

 

Command Reference 5-63

Image 85
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 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 eN 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 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 COM4I 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 tIf 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 tChoose Tool Box A d i n g a p p l i c a t i o n sBegin N c t i o n sEND 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 tFunction Start Begin O p e o f F i e l d N a m e s ADD Control , TEMP1 , *ERROR2, *SUCCESS2R 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 tT 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 sY w o r d s Command Reference When a label is not defined When a label is definedE c i a l C h a r a c t e r s R i p t F l o wT 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 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 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 sBuffer-field 1 ADD CONTROL,TEMP1,*ERROR2Example ADD WHOLESALE,TEMP2Appversion AP11, VER P V E R S I O NRaw-Data, Destination, G R E a DIndex Argread PARAMLIST, PARAM1, #1Int-field and Asc-field ASC int-field,asc-fieldInt-field only ASC TAINT, TaasciiAutostart T O S T a R TAvailabledata device , invalid label , valid label A I L a B L E D a T aDevice Availabledata COMM, , *CHARLNAsc-field and Int-field T C L E a RBitclear TEMP1, #2 Operation T M a S KBuffer-field1 and Buffer Field2Both buffer-field1 and bit-position must be numeric T S E TBuffer-field Bit-positionDirection T S H I F TBuffer-field1 and count Bitshift LEFT, TEMP1, #1Buffer-field1 T T E S TBittest TEMP1, #2, *CLEARED E a R C H Bsearch CONTROLID, INPUT, *ERRORIDBsearch lookup-field,value , invalid label , valid label ValueCall function-name param1, param2, …,paramX L LParam Call ComputetaxCall Function StartEND Function Addnum Begin ADDUsing type and buffer-field1 Chartype type , buffer-field1A R T Y P E TypeCheck item , buffer-field , invalid label , valid label E C KValue Description Check BATTERY, *LOWBATTERY CHR TAASCII, Taint CHR asc-field,int-fieldClear Printer E a RClear TEMP1 Commport O S E C O M MClosecomm #1 Modifier M P a R ENo valid label Is no invalid labelSource and Destination N C a TConcat SKU,BCFIELD Field-buffer1 and Field T R I PBuffer2 Field-buffer2 onlyData-type T a T Y P EDatatype Alphanumeric Buffer Field DEC buffer-field , invalid label , valid labelDEC Tempsku F I N E Define TEMPORARY,CURRQTY,4,N Delay #20 Delay #intervalDelay Timeout L a YS a B L E Disable F1, F2, F3Hotkey1, Hotkey2, Hotkey3Divide PRICE,#100,*ERROR2 Divide CONTROL,TEMP1,*ERROR2V I D E Buffer Field1A B L E Enable F1, F2, F3Exit I TFetch src1 , src2 , invalid label , valid label T C HSrc1 and Src2 Fieldlen WHOLESALE,TEMP2 E L D L E NFixdata buffer-field1 X D a T aBuffer-field and Type N E R a T EGenerate INPUT, #2 Examplef Minimum and MaximumHotkey key, function-name T K E YKey Hotkey F3, QuerylookupElseif buffer-field2 comparison buffer-field4 Buffer-field1 comparison buffer-field2Buffer-fields Comparison Description INC COUNT01 INC buffer-field , invalid label , valid labelInclude TRUCKIN.ULT C L U D EInclude C\PROGS\SAMPLE\SPECIAL.ULT Overwrite-flag S E R TPosition Jump *REQUESTSKU M PLabelcount buffer-field1 , invalid label , valid label B E L C O U N TLabelcount Numoflabels Left SHIPNO,SKU,#5 F TLeft SHIPNO,SKU,NUMCHARS Linkfile CHCKDGIT.PKT N K F I L ELocate row-position, col-position C a T ERow-position and col-position can be one of the following SourceLower Tempsku W E RBuffer2, and Field Buffer3 Field-buffer1, FieldField-buffer1 and Field Buffer2 only Field-buffer3 onlyMacro macro-name C R OMacro-body Defining the MacroCompare Macro Ptridle Begin Move CheckMove PIEND$ Buffer-field1, start, Length only Buffer-field1, 2, StartMID LOCATION,TEMP1,#5,#5 Move source, destination , invalid label , valid label V EMove INPUT,CONTROLID DestinationL T I P L Y Multiply PRICE,TEMP1,*ERROR2Multiply buffer-field1 ,buffer-field2 , invalid label Valid labelCommport and Timeout Opencomm commport, timeoutE N C O M M Max-length Pad-field, Pad-characterPAD L,PRICEFIELD,*,LPRICE Parse invalid label , valid label R S EParse Format-number I N TQuantity Format-number and quantity must be numericComparison E R YBuffer-field2 Rule Command again to ensure a valid record pointerIs numeric, buffer-field2must be numeric Control passes to the *PROCESSIDRead record table-name , invalid label , valid label A DRecord Read LookupS T O R E S C R E E N RestorescreenClear Display Move Savescreen Clear Display MoveCompare FSIZE,EQ,#12,,*GOODDATA T U R NReturn Right buffer-field1 ,buffer-field2 ,length , invalid label G H TBuffer-field1, 2 Right SHIPNO,SKU,#5Length Buffer-field1,Buffer-field2Rstrip SHIPNO, SKU, #5 Savescreen V E S C R E E NTo modifier E KFile-type Seek NEXT,LOOKUPFILE,*EOFLABELSUB CONTROLID,TEMP1 I T C H Switch buffer-field1 Case buffer-fieldWhile Sysset function, parameter1, parameter2 S S E TFunction/Description Parameter1 Parameter2 Sysset PROMPTS, #1 192 * width in inches 192 * length in inchesToken Delimeter character , invalid label , valid label K E NCharacter, buffer-field1 Buffer-field1 and Buffer-field2 Buffer-field1 and buffer-field2 can be one of the followingBuffer-field2 only Upper Tempsku P E RValidate source, type Invalid label , valid label L I D a T ESource and Type Validate Input #2While buffer-field1 comparison buffer-field2 I L EPtridle WhileEndwhile 88Command Reference M P L E S C R I P T Concat 13,~034FISHING ROD~034, Scratch ConcatScratch Concat ScratchConcat 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.