Datamax Allegro 2 manual Programming Commands, Immediate Commands

Page 31

Setting Up Your Printer

2.5Programming Commands

In order to be ready for a command sequence, the Printer must first receive a special character called an “attention getter” that informs the Printer that it is about to receive a command and the type of command it will be. Immediate Commands, System-Level Commands, and Font-Loading Commands each have their own attention getter. The attention getter character is followed by a command character that tells the Printer what action to take.

ASCII Char.

Decimal

HEX

DOS

Attention Getter For

 

Value

Value

Prompt

 

SOH

1

01

Ctrl A

Immediate Commands

STX

2

02

Ctrl B

System-Level Commands

ESC

27

1B

Ctrl [

Font-Loading Commands

Table 2-5 Attention Getters

When the Printer receives an Immediate Command it will cease whatever it is doing and perform that command. Commands of all types must be in this sequence:

1.Attention Getter

2.Command Character

3.Parameters that must be entered by the user (if any).

Command

Must Enter

Printer

Command

Character

Parameters

Responds

 

#

N

Y

Reset

A

N

Y

Send ASCII status string

B

N

N

Toggle pause

C

N

N

Cancel

D

N

N

SOH shutdown

E

N

Y

Send batch quantity

F

N

Y

Send status byte

Table 2-6 Immediate Commands

Allegro2

23

Image 31
Contents Allegro2 Operator’s Manual Part Number Revision A3 Agency Compliance and Approvals Page Important Safety Instructions Page Contents Maintenance Introduction Getting StartedUnpacking and Inspection Mechanism Detail Location of Parts on Your PrinterRear View Tear Bar Assembly Installation Tear- off Assembly InstallationButtons, Lights and Switches Using the Printer Control PanelGetting Started Ribbon SwitchPaper/Ribbon LightInstallation Media InstallationLabels Label Loading Instructions Ribbon Loading Ribbon Loading InstructionsTo install a Memory Module Using the Printer OptionsAvailable Modules 256K and 512K RAM Modules OptionsCutter Font ROM ModulesPresent Sensor Peel and PresentMedia Rewinder Getting Started Allegro2 Power Up Self-Test Setting Up Your PrinterChecking Voltage Selection Test Label Part Number Description Interfacing to the PrinterInterface Cables Connecting to a CRT Sample InstallationsConnecting to a PC Connecting to Your Non-ASCII Device Connecting to Your Minicomputer Switch Settings Switch SettingsWord Length Setting the Baud RateBaud 9600 4800 2400 1200 300 Test Baud RateSwitch Settings and Functions Other SwitchesImmediate Commands Programming CommandsChar Description Format System-Level CommandsBatch, 1-Cutter Enable Description Format Label-Formatting CommandsSpecial Label-Formatting Commands Programming Examples 10 Font-Loading CommandsExample line Setting Up Your Printer Allegro2 Creating Labels Using Internal Batch Software Printer Used With a Link CRT Check Link CRT SettingsConnect Cables Batch System Initialization Function Default SettingsVerify Setup, Power Up, and Load Media Function Keys Formatting and Printing LabelsAvailable Fonts and Barcodes Menu ScreensLabel Name NEW Label Name ALT-P Screen Print Parameters Description Default RangeOther Important Keys Print Label Screen Header Create/Modify Label ScreenCreating Labels Using Internal Batch Software Sample Label Format Creating Labels Using Internal Batch Software Invalid Font Type Smooth Font Information Smooth Font Valid BH RangesNumber OUT of Range Creating Labels Using Internal Batch Software Not Enough Room for Field Data Lines Lhhhvvv Creating Labels Using Internal Batch Software = Day number 1 = Monday Time and Date Information FormatPrints SamplePrint Label Screen Print Label ScreenCreating Labels Using Internal Batch Software System Maintenance Menu System Maintenance ScreenPrint Test Label Reset PrinterCopy Module MetricCommand Valid Inputs Create/Modify Label CommandsQuick Reference Listing Special Keys Print Parameters ALT-PKey Function Troubleshooting Controlling Print Quality Tag Stock or Stiff Media Mechanical AdjustmentsAligning the Printhead Direct-Thermal StockPrinthead Alignment Label Stock Tracking Adjustment Printhead Alignment ProcedureRibbon Feed and Tracking Adjustments Fine Printhead Alignment Troubleshooting Allegro2 Printhead Mount Assembly Adjusting Printhead Pressure and SupportUnacceptable Print Quality TroubleshootingPrinter Does Not Print, or Prints Several Labels at once Unable to print in rotation Erratic PrintingRibbon Does Not Advance Skips Every Other LabelPrinter fails to turn on Prints Light on the Right Side of the LabelInterior and Exterior MaintenanceDrive Roller Area Method Interval Cleaning ScheduleCleaning the Printhead Cleaning the PrintheadMaintenance Allegro2 Page Appendix a Ascii Control Code ChartMaintenance Allegro2 Char Hex Dec Page Table B-3 Options Appendix B Switch Settings and Cable InterfacingTable B-1 Baud Rate Table B-2 Word LengthTable B-2 Printer Default Communication Parameters Signal PinTable B-1 I/O Port Wiring Paramete Default ValueTable C-1 Valid Human-Readable Font Ascii Characters Appendix CAvailable Fonts and Barcodes FontsTable C-2 Font Sizes Font 6 62-character alphanumeric, uppercase Available Fonts and Barcodes Barcodes Table C-3 Barcode CharacteristicsHbic Barcode I Codabar Kmart NON EDI Uppercase T Error CodesLowercase Uppercase RAllegro2 Table E-2 Printer Pin Connections Appendix ETable E-1 Printer Interface Cables Pin DescriptionStraight Cable MXM PC DB25P to Printer Figure E-5 Centronics Parallel Interface Converter ∙ Parallel to Serial Adapter Part NumberPrinting Appendix FBarcodes FontsLabel Material MediaTable F-1 Media Dimensions Label/Tag Media SpecificationsElectrical Lights, Buttons, Switch and POTLists of Approved Media Communications InterfacingPhysical EnvironmentalOptions 256K Flash Eeprom Specifications Allegro2 Printer Appendix GThermal Printhead Warranty Service ProceduresLimitation of Liability General Warranty Provisions