beautypg.com

Appendix c. rs-232 programming information, Appendix c, “rs-232 programming information – IBM TM7 User Manual

Page 121

background image

Appendix C. RS-232 Programming Information

RS-232 Commands Summary by Function . . . . . . . . . . . . . . 100
Alphabetized RS-232 Commands Summary . . . . . . . . . . . . . . 104
System Commands . . . . . . . . . . . . . . . . . . . . . . . 107

Exercise Program . . . . . . . . . . . . . . . . . . . . . . 107
Verify Previous Commands Completed

. . . . . . . . . . . . . . 107

Status Request . . . . . . . . . . . . . . . . . . . . . . . 107
Extended Address Command – Request Printer ID . . . . . . . . . . 107

Preset or Onetime-Set Commands . . . . . . . . . . . . . . . . . 109

Download Graphics (Logo) Commands

. . . . . . . . . . . . . . 109

Example: n1 = 2 & n2 = 2 . . . . . . . . . . . . . . . . . . 110

Predefine Messages

. . . . . . . . . . . . . . . . . . . . . 111

Download User-Defined Characters . . . . . . . . . . . . . . . . 112

Thermal Code Page

. . . . . . . . . . . . . . . . . . . . 113

Proportional Font. . . . . . . . . . . . . . . . . . . . . . 114
Impact Code Page . . . . . . . . . . . . . . . . . . . . . 116

Download Double-Byte Characters . . . . . . . . . . . . . . . . 117

Thermal Printhead (s=0) . . . . . . . . . . . . . . . . . . . 118
Impact Printhead (s=1)

. . . . . . . . . . . . . . . . . . . 119

Flash Storage Write

. . . . . . . . . . . . . . . . . . . . . 121

Erase Flash EPROM Sector

. . . . . . . . . . . . . . . . . . 121

Send Checksum of Flash EPROM Sector

. . . . . . . . . . . . . 122

Microcode Tolerance (MCT) Information - Loading

. . . . . . . . . . 122

Microcode Tolerance (MCT) Information - Request . . . . . . . . . . 123
DBCS Address Vectors . . . . . . . . . . . . . . . . . . . . 125

Setup Commands . . . . . . . . . . . . . . . . . . . . . . . 125

Set Print Mode

. . . . . . . . . . . . . . . . . . . . . . . 125

Set or Cancel Double-Wide Mode

. . . . . . . . . . . . . . . . 126

Set or Cancel Double-High Mode. . . . . . . . . . . . . . . . . 127
Set or Cancel Underline Mode. . . . . . . . . . . . . . . . . . 127
Set or Cancel Overline Mode . . . . . . . . . . . . . . . . . . 127
Set or Cancel Invert Mode . . . . . . . . . . . . . . . . . . . 127
Set or Cancel Emphasized Printing . . . . . . . . . . . . . . . . 128
Set or Cancel High Quality Print Mode. . . . . . . . . . . . . . . 128
Set Print Station . . . . . . . . . . . . . . . . . . . . . . . 128
Select User-Defined or Resident Character Sets . . . . . . . . . . . 129
Set Code Page . . . . . . . . . . . . . . . . . . . . . . . 129
Set Inter-Character Spacing. . . . . . . . . . . . . . . . . . . 129
Set Inter-Character Spacing – DBCS . . . . . . . . . . . . . . . 130
Set or Cancel Rotated Characters . . . . . . . . . . . . . . . . 130
Set Print Station Parameters . . . . . . . . . . . . . . . . . . 130
Select 1/8-Inch Line Spacing . . . . . . . . . . . . . . . . . . 131
Select 1/6-Inch Line Spacing . . . . . . . . . . . . . . . . . . 131
Select Color Printing . . . . . . . . . . . . . . . . . . . . . 132
Set Line Spacing Using Minimum Units

. . . . . . . . . . . . . . 132

Set Sheet Eject Length . . . . . . . . . . . . . . . . . . . . 133
Set Horizontal Tab Positions

. . . . . . . . . . . . . . . . . . 133

Set Left Margin Position . . . . . . . . . . . . . . . . . . . . 133
Set Relative Position . . . . . . . . . . . . . . . . . . . . . 134
Align Positions

. . . . . . . . . . . . . . . . . . . . . . . 134

Set or Cancel Unidirectional Printing

. . . . . . . . . . . . . . . 135

Set Error Recovery Function . . . . . . . . . . . . . . . . . . 136
Define Document Wait Time

. . . . . . . . . . . . . . . . . . 136

Status Sent to System. . . . . . . . . . . . . . . . . . . . . 137

updated March 18, 2002

© Copyright IBM Corp. 1999,2001

97

This manual is related to the following products: