Intermate LX T-04 manual User Defined Strings, Programming the Strings Example

Page 34

A d v a n c e d F u n c t i o n s

User Defined Strings

There are ten parameters in the Parameter List that can be programmed as User Definable String (Parameters #120-#129). A common application is to program and store various printer control commands, and send them to the printer using string references rather than the commands themselves. Please refer to the manual for your PC type printer for information on ASCII printer commands.

Programming the Strings

Example:

You want to store commands for underlining text. Assuming that you have selected Epson emulation, 'start italic' and 'stop italic' are defined by the ASCII codes $1B,$34 and $1B,$35 respectively:

%P

(Configuration lead-in sequence)

=120,$1B,$34

(Program parameter #

120

to "start underline")

=121,$1B,$35

(Program parameter #

121

to "stop underline")

%

 

 

 

The maximum String length is determined by the Free String Area.

'120' and '121' are the Parameter numbers. These are referred to as User Definable Strings '0' and '1' respectively.

Note: Strings are programmed in Extended Emulation Mode.

34

U s e r ‘ s G u i d e

Image 34
Contents LX T-04 Emission Notices Trademark Credits T i c e s E r ‘ s G u i d e Contents Solving Problems Index N t e n t s E r ‘ s G u i d e Solving Problems InstallationConfiguration IntroductionO u t t h i s m a n u a l E r ‘ s G u i d e Theory of Operation Ascii Printer DriverIBM Printer Emulation Printer Attachment UnpackingOptional Printout ExampleSystem Attachment Make a test printout Configuration from a Terminal Configuration from a TerminalConfiguration from the System Key Definitions Basic Configuration Select Basic ConfigurationYou can switch to another Printer Driver if you prefer Select Printer DriverSelect IBM Printer Emulation IBM Printer EmulationSelect System Language System LanguageSelect Yes to save the current configuration permanently Save the ConfigurationSelect Save in the Main Menu Select Yes to exit the configuration Exit the ConfigurationSelect Exit in the Main Menu Extended Emulation Mode Advanced FunctionsMain Menu See SectionConfiguration from the System Document exampleTransparency Configuration and Transparency Sequences Define the Sequences Redefine the SequencesEdit Translation Tables Character Translation Appendix a User Defined Strings Programming the Strings ExampleUsing the Strings String SubstitutionsProgramming String Substitutions from a Terminal Programming String Substitutions from the System Edit ParametersBar Codes Define Bar CodesEAN13 Print Bar CodeDefine Bar Code Solving Problems Missing PrintoutsSystem printouts Is the System indicator on? Incorrect Host PrintoutsCorrupted Printouts Host Communication ProblemIncorrect Page Breaks Reporting Problems Printing the Parameter ListProducing Hexdumps Error messages Hardware error. Contact you dealer/distributor L v i n g P r o b l e m s E r ‘ s G u i d e Appendices Parameter ListPrinter Drivers #10 System Language#26 IBM Printer Emulation #15 Ascii Character Set#40 Escape Character #41 Transparency Lead-In Sequence #42 Configuration Lead-In Sequence#43 Transp./Config. Trailer Sequence #45 Job Time-out#54 Bar Code Attributes #46 Start of Job Sequence#53 Bar Code Driver #120-#129 User Definable Strings#150-#189 Ebcdic Character Table P e n d i c e s E r ‘ s G u i d e Operating the LX T-04 Start ConditionsTest Mode Device addressSelect IBM Printer Emulation P e n d i c e s Updating the Software Softwarethat can be UpdatedChecking if an update is available Updating the Intermate LX T-04 Flash ROMCopy K12-xxxx.bin lpt1 /b P e n d i c e s P e n d i c e s E r ‘ s G u i d e Euro Support Printer Firmware RequirementsEuro Support via Terminal Configuration How to disable Euro supportP e n d i c e s Edit Parameters Ascii Char. Set Euro Support via Command Sequences Supported Printers Technical SpecificationsAttachments AdditionalIBM 4214 feature IBM System FeaturesIBM Printer Emulation Approvals EMC Intermate LX T-04 Additional FeaturesHardware Specifications Operating EnvironmentP e n d i c e s E r ‘ s G u i d e Related Publications Title Part NumberP e n d i c e s E r ‘ s G u i d e Customer Support P e n d i c e s E r ‘ s G u i d e Index D e D e