Brady 1024 manual Programming Commands, Immediate Commands

Page 23

2.1Programming Commands

In order to be ready for a command sequence, the Printer must first receive a special character called an “attention getter” which 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

Decimal

HEX

DOS

Attention Getter For

Char.

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-1 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-2 Immediate Commands

Printing Labels

17

Image 23
Contents Logo W.H. Brady Co Automatic Indentification Products Part Number Revision C Agency Compliance and Approvals Important Safety Instuctions Contents Appendix D Appendix aAppendix B Appendix CUnpacking and Inspection IntroductionMedia/Ribbon Printer SpecificationsPrinter Specifications MechanicalAvailable Bar Codes Options CommunicationsElectrical FontsExternal Power Supply Connecting PowerSwitches and Indicator Locations Switches and IndicatorsInterfacing Interfacing to the PrinterMedia Loading Loading MediaPeel Off Media Loading Loading Media for Peel ConfigurationRibbon Hub Removal Loading RibbonSelecting Print Type Adjustments for media Direction of Rotation Effect Adjusting for Wide or Narrow RibbonsTo reset the Printer to Factory Defaults Power-up Configuration and Self-Test11 Configuration Test Label 12 Printhead Test Label Available OptionsMemory Cartridges Modules Printing Labels Immediate Commands Programming CommandsChar Description Format System Level Commands System Level Commands Description Format Label-Formatting CommandsSpecial Label Formatting Commands Label Formatting CommandsProgramming Examples Font Loading CommandsExample Configuration Command StringSTXKDwxy CR where w @ Sets the Printer to gap edge media no linerless Example line Printing Bar CodesInserting Memory Cartridge Memory Cartridges ModulesCleaning Printhead Cleaning the PrintheadAdjusting Media Width Media Width AdjustmentFine Printhead Adjustment Fine Printhead AdjustmentPrinthead Replacement Printhead ReplacementPage For the software handshake XON/XOFF commands Ascii Control Code ChartChar Dec Hex Table B-1 Valid Human Readable Font Ascii Characters Available Fonts and Bar CodesFonts Table B-2 Font Sizes Appendix B Appendix B Bar Codes Table B-3 Bar Code CharacteristicsHbic Bar Code I Codabar Bar Code T Telepen Uppercase T Error CodesLowercase Uppercase RAppendix C Thermal Printhead Appendix D Warranty InformationGeneral Warranty Provisions Warranty Service ProceduresLimitation of Liability Page Insert Free Roll of Labels Reply card for Printer