Programing rules for
Anzac's Magnum emulation

Rather than publish a manual that tediously explains the fundamentals of QMS Code V Magnum Version 1 and 2, I have listed a summary of commands and theory of operation for Anzac's Magnum emulation. Any programmer who is familiar with Magnum Code V should find this is a very convenient short cut. New programmers should find the underlying rules (of which there are few) somewhat helpful in conjunction with a detailed manual in creating transportable code.

 

Theory of Operation:
The Anzac Magnum emulation is designed to work identically in both impact and non-impact environments, while still maintaining integrity in older or alternative Magnum environments. As a result, Magnum code written for the Anzac Magnum emulation will work in every other Magnum environment, as long as the Magnum command used is supported by the alternative printer. (For example, Anzac Magnum will support rotated fonts smaller than 10 cpi: many Magnum emulations will not).

Making Magnum a page printing language:
Past Magnum emulations have only taken continuous form impact printers into account. As a result, many programmers simply turn on Magnum (^PY^-) and let 'er rip until the end of the print job, when they terminate their Magnum pass (^PN^-).

Problem:
If a print job fails in the middle, the entire run must be repeated. Solution: turn on Magnum at the top of each page, and turn it off at the end of each page, Then since each page has full programming instruction integrity, a print job may be restarted at any point.

This ties in very nicely with IPDS, which is absolutely a page printer language, whether in an impact or non-impact environment. Following a Magnum programming philosophy which keeps the maximum size of a Magnum page slightly smaller than the maximum size of an IBM System page works well as an architecture. (Note: Magnum may be turned on and off multiple times within a page, but may not overflow page boundaries or exceed IBM's System Page Size Definition as defined either by the programmer in RPG or by configuration default.)

Resolving Magnum start issues, and formatting problems within a file.
Many different Magnum emulations do strange things with System-generated carriage returns, line feeds, and form feeds. As a result, and to maintain consistency in other Magnum environments, Anzac Magnum is automatically in Free Format. In regular Magnum jobs, Free Format Mode is evoked with a "^F". The printer then ignores all System-generated CR's, LF's and FF's, and expects to see the "^-", "^,", and "^*" generated by the Magnum programmer to force these actions.

Some Magnum emulations have peculiarities regarding how Free Format Mode is entered. While the Anzac Magnum does not require a "^F" command (because we have set this as our default), to make Anzac Magnum print jobs totally transportable to other Magnum environments, I recommend the following standard entry to Magnum:

^PY^-^F^-
^F^-
This will correctly evoke Magnum Free Format in every known Magnum environment in Free Format Mode.

Anzac Supported Magnum Command list
The following list of Magnum commands is a subset of both the original Magnum emulation and subsequent releases. For example, both the ^B and ^IBARC commands are supported for bar code type selection.

Begin and End a magnum pass
^PY^- Start Magnum pass
^PN^- End Magnum Pass

Character orientation and size commands
^M Text Left to Right., In Normal Orientation.
^V Text Right to Left., Upside Down.
^U Text Top to Bottom., (90 degree rotation)
^E Text Bottom to Top., (270 degree rotation)

Paper motion commands
^* : Line Feed
^- : Carriage Return
^, : Form Feed.

^T : Tab
^W/^K : Vertical line slew
^D : Vertical Dot Slew

^X : Ignore Till ^A
^A : Accept Data

^R : Vertical Repetition Command.
^Z : End All Vertical Repetition Commands.

^S : Horizontal Repeat Command & Terminator.

^B : Begin Buffered Overlay
^[ : Variable Data marker for Buffered Overlay.
^C : Fixed Vertical Repeat Inside Buffered Mode.
^] : Buffered Overlay Terminator

Currently Unsupported Filter Commands
^Y : Auto Increment/Decrement.

Other standard commands supported:
^H : Change Height
^W : Change Width
^J : Change Vertical Justification

^Sx : Hi Res Fonts.

^KF : High Res Printing : Ignored.
^KV : Vertical High Res Printing : Ignored.
^KL : Half Tone Shading : Ignored.
^R : Reverse Printing : Partially Ignored.
^D : Descender

^LS : Draw Solid Line
^LS : Draw Dotted Line
^LB : Draw Open Box. (eg., border).
^LF : Decipher Form.

^B : Old Style Barcode. Physical Horizontal Orientation
^C : Old Style Barcode. Physical Vertical Orientation
^IBARC : New Style Barcode.

^[ : Buffered Mode: Retrieve Data.

^Z : Miscellaneous Terminator.
^A : Accept Data Command., Ignored for compatibility.
^G : Ends Certain Commands.

Ignored commands
^F : Free Format on (During a Magnum pass, Free Format is always on)
^O : Free Format Off (Automatically terminated on exit from Magnum).

Supported Bar Codes
Following is a list of the bar code symbologies supported by the Anzac Magnum emulation.
Letter
Barcode Symbology

'A' CODE 39

'B' CODE 39A

'C' CODE 39M43

'D' CODABAR

'F' MSI

'G' MSI10

'H' MSI1010

'I' MSI1110

'K' INT2_5

'L' INT2_5A

'P' UPCA

'Q' UPCA

'R' UPCE0

'S' UPCE1

'T' EAN13

'U' EAN8

'X' MSI11

'Z' CODE 128

'1' UCC128

'2' POSTNET

Under the New Standard.
Call Name
Barcode Symbology

"C39M43" Code 39M43

"C39A" Code 39A

"C39" Code 39

"CBAR" CODABAR

"IDN2/5" IDN2_5

"MSI1010" MSI1010

"MSI1110" MSI1110

"MSI10" MSI10

"MSI11" MSI11

"MSI" MSI

"STR2/5" STRAIGHT2_5

"INT2/5A" INT2_5A

"INT2/5" INT2_5

"PLSY" PLSY

"RAP" RAP

"MRC" MRC

"UPCA+5" UPCA_5

"UPCA+2" UPCA_2

"UPCA" UPCA

"UPCE0" UPCE0

"UPCE1" UPCE1

"UPCE+5" UPCE_5

"UPCE+2" UPCE_2

"UPCE" UPCE

"EAN13" EAN13

"EAN8" EAN8

"MAT2/5" MATRIX 2_5

"DELTA" DELTA

"AGES" AGES

"C128" Code 128

"C93" Code 93

"LOGMAR" LOGMAR

"HIBCC" HIBCC

"AIAG" AIAG

"EMBARC" EMBARC

"UPCSHIP" UPCSHIP

"UPCRW" UPCRW

"HIBCC2" HIBCC2

"UCC128" UCC128

"POSTNET" POSTNET


About Anzac | New @ Anzac | Product Line | Price List | Related Sites
Service & Technical Support | Employment Opportunities
| Contact Us


Trade names referenced are the registered trademarks of their respective manufacturers and are acknowledged.