The FGL scripting language specification is copyright Boca Systems, Inc., 1065 South Rogers Circle , Boca Raton, Florida 33487
Scroll down for working examples.
See https://qz.io (Wiki, Raw Printing) for how to send these commands from a web page.
This cheat sheet is a mirror provided from ncsoftware.
Command | Description |
---|---|
<RCy,x> |
Row/Column command. x,y are numbers, such as 3,45 |
<NR> |
No Rotation Printing (0°) |
<RR> |
Rotate Right (+90°) |
<RU> |
Rotate Up (+180°) |
<RL> |
Rotate Left (-90°) |
<F1> |
Font 1 Characters (5x7) |
<F2> |
Font 2 Characters (7x10) |
<F3> |
OCRB Characters (17x31) |
<F4> |
OCRA Characters (5x9) |
<F6> |
Large OCRB Characters (30x52) |
<F7> |
OCRA Characters (15x29) |
<F8> |
Courier Characters (18x30) |
<F9> |
Small OCRB Characters (13x20) |
<F10> |
Prestige Characters (25x41) |
<F11> |
Script Characters (25x49) |
<F12> |
Orator Characters (46x91) |
<F13> |
Courier Characters (20x40) |
<HWx,y> |
Font Height / Width Command, x is Height Multiple, y is Width Multiple |
<BSx,y> |
BoxSize command. x,y are numbers, such as 3,45 |
<BXr,c> |
Draw Box command. r,c are numbers, such as 150,450 |
<VXr> |
Draw Vertical Line. r is a number, such as 45 |
<HXc> |
Draw Horizontal Line. c is a number, such as 45 |
<LT#> |
Line Thickness command. # is a number, such as 5 |
<SPy,x> |
Starting Point for Logos Only. x,y are numbers, such as 3,45 |
<LD#> |
Print Downloadable Logo. # is a number such as 2 |
<CB> |
Clear Buffer command. Clears any current ticket info. |
<RE#> |
Repeat command, where # can be from 1 to 9999. |
<p> |
Print command. |
<z> |
Print and Eject command. |
<h> |
Print and Hold Ticket Image |
<r> |
Print No Cut Hold Image command. |
<q> |
Print No Cut command. |
<PC> |
Print Ticket Count command. |
<TC1234567> |
Load Ticket Count. 1234567 is the number to load. More Info |
<EI> |
Enable Inverse Printing |
<DI> |
Disable Inverse Printing |
<t> |
Transparent Mode ON |
<n> |
Transparent Mode OFF |
<Xn> |
Barcode Expansion, where n is a number like 2 |
<BI> |
Barcode Interpretation |
<Uln> |
UPC Ladder Barcode, where n is barcode height |
<ELn> |
EAN-13Ladder Barcode, where n is barcode height |
<NLn> |
Code 39 Ladder Barcode, where n is barcode height |
<FLn> |
2 of 5Ladder Barcode, where n is barcode height |
<CLn> |
USS Codabar Ladder Barcode, where n is barcode height |
<OLn> |
Code 128 Ladder Barcode, where n is barcode height |
<UPn> |
UPC Picket Fence Barcode, where n is barcode height |
<EPn> |
EAN-13 Picket Fence Barcode, where n is barcode height |
<NPn> |
Code 39Picket Fence Barcode, where n is barcode height |
<FPn> |
2 of 5 Picket Fence Barcode, where n is barcode height |
<CPn> |
USS Codabar Picket Fence Barcode, where n is barcode height |
<OPn> |
Code 128 Picket Fence Barcode, where n is barcode height |
<AXB#> |
Bar Code Ratio Adjust |
<G#> |
Graphics Bits Command |
<g#> |
ASCII Graphics Command |
<LO#> |
Print Permanent Logo |
<RO#> |
Dot Row Offset |
<PL#> |
Printing Length Command |
<ME> |
CRT Message Enable |
<MD> |
CRT Message Disable |
<S1> |
Status Request |
<S2> |
Status Request |
<S3> |
Status Request |
<S5> |
No Status |