Star Micronics RS232 manual 3 PC860 Portuguese

Page 72

ESC/POS Mode

Page 3 (PC860: Portuguese)

Hexa-

8

 

9

 

 

A

 

 

 

B

 

 

 

C

 

D

E

 

 

F

decimal

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0

Ç

 

É

 

á

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

α

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

128

 

 

 

 

 

144

 

 

160

 

 

 

 

176

 

 

 

 

192

 

 

208

 

224

 

 

 

240

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1

 

ü

À

 

 

í

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

β

±

 

 

 

 

 

129

 

 

 

 

 

145

 

 

161

 

 

 

 

177

 

 

 

 

193

 

 

209

 

225

 

 

 

241

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

2

é

 

 

È

 

ó

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Γ

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

130

 

 

 

 

 

146

 

 

162

 

 

 

 

178

 

 

 

 

194

 

 

210

 

226

 

 

 

242

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

3

â

 

 

ô

 

 

ú

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

π

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

131

 

 

 

 

 

147

 

 

163

 

 

 

 

179

 

 

 

 

195

 

 

211

 

227

 

 

 

243

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

4

ã

 

 

õ

 

 

ñ

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

132

 

 

 

 

 

148

 

 

164

 

 

 

 

180

 

 

 

 

196

 

 

212

 

228

 

 

 

244

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

5

à

 

ò

 

 

Ñ

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

σ

 

 

 

 

 

 

 

 

133

 

 

 

 

 

149

 

 

165

 

 

 

 

181

 

 

 

 

197

 

 

213

 

229

 

 

 

245

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

6

Á

 

 

Ú

 

ª

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

μ

÷

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

134

 

 

 

 

 

150

 

166

 

 

 

 

182

 

 

 

 

198

 

 

214

 

230

 

 

 

246

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

7

ç

 

 

ù

 

 

º

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

τ

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

135

 

 

 

 

 

151

 

167

 

 

 

 

183

 

 

 

 

199

 

 

215

 

231

 

 

 

247

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

8

ê

 

 

 

 

 

 

 

 

¿

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Φ

°

 

 

 

 

 

136

 

 

 

 

 

152

 

 

168

 

 

 

 

184

 

 

 

 

200

 

 

216

 

232

 

 

 

248

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

9

Ê

 

Õ

 

Ò

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Θ

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

137

 

 

 

 

 

153

 

 

169

 

 

 

 

185

 

 

 

 

201

 

 

217

 

233

 

 

 

249

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

A

è

 

 

Ü

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Ω

.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

138

 

 

 

 

 

154

 

 

170

 

 

 

 

186

 

 

 

 

202

 

 

218

 

234

 

 

 

250

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

B

 

 

 

 

 

 

 

 

 

 

 

1/2

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

δ

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

139

 

 

 

 

 

155

 

 

171

 

 

 

 

187

 

 

 

 

203

 

 

219

 

235

 

 

 

251

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

C

Ô

 

£

 

 

1/4

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

n

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

140

 

 

 

 

 

156

 

172

 

 

 

 

188

 

 

 

 

204

 

 

220

 

236

 

 

 

252

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

D

Ì

 

 

Ù

 

i

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

2

 

 

 

 

 

141

 

 

 

 

 

157

 

 

173

 

 

 

 

189

 

 

 

 

205

 

 

221

 

237

 

 

 

253

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

E

Ã

 

 

Pt

«

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

142

 

 

 

 

 

158

 

 

174

 

 

 

 

190

 

 

 

 

206

 

 

222

 

238

 

 

 

254

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

F

Â

 

Ó

 

»

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

SP

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

143

 

 

 

 

 

159

 

 

175

 

 

 

 

191

 

 

 

 

207

 

 

223

 

239

 

 

 

255

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

– 68 –

Image 72
Contents Thermal Printer TSP200 Series Programmer’s Manual Page Table of Contents Page Outline Memory Switch DIP SwitchDIP switch array DIP switch #1 Factory settings of DIP switch 1 are all on OFFSwitches Switch Operation Combined Switch OperationLED Interface Specifications DTR or XON/XOFF mode Selected by DIPSwitch Asynchronous serial interfaceOutput DTR, FAULT, TXD, RTS Interface CircuitRS-232C Interface Input RXD, DSRConnectors and Signal Names RTS OUT Interface Connections DTR mode Bytes when the buffer size is set to 45 bytesData Protocol RXD OFF Line ON/X-OFF mode This mode is accessed when DIP switch 1-6 is set to OFFParallel Interface Interface TimingParallel Interface Connector Goes LOW to trigger data read Is 1 LOW isPrinter outputs this pulse for approxi Mately 9μs to indicate that data read isPeripheral Unit Drive Circuit Page Drive circuit Recommended drive circuit is shown Drive output 24V, max .0 aAutomatic Recovery Power Lamp Flashing On-Line Lamp On Recoverable Errors Power Lamp Flashing On-LineFatal Error Power Lamp Flashing On-Line Lamp Flashing Type of buzzer sound only Star mode P 50ms Pi 100msStar Mode Command Summary Details of each command are shown in the following sectionsCommands to Select Characters Commands to Set the Page Format Commands to Move the Print PositionCommands to Print Dot Graphics Commands to Print Download CharactersCommands to Control Peripheral Devices Commands to Control Auto CutterOther Commands CanCommand Specification Select zero styleSelect bar code printing Dk RSJAN/EAN-13 Code Code 39, NW-7, ITF Narrow wide DotsDigits maximum in mode Value of k is optional, and the maximumValue also differs according to the modes If the data is number of an odd digits, 0 isCharacter codes Control codesHEX HEX N1 n2 Cancel highlight printing Cancels highlight printingCancel inverted printing Cancels inverted printingSelect emphasized printing Cancel bottom margin Cancels the bottom marginSet page length in lines Set bottom marginHEX This command is ignored when CR code is invalid Line feedCarriage return Feed paper n linesSpace setting for lines is not changed Vertical tabStop and moves the print position to the left margin Is at or below the last vertical tab stopOne time n/4 mm backfeed One time n/8 mm feedSet vertical tab stops HEX Print normal density graphics We will create the design below using a bit image Print high density graphics ESC Dot position ∙ ∙ ∙Data Binary Hexa Decimal Print fine density graphics D1...d n1+n2*256*3Define download character Delete a download character ESC HEX Other than standard 200 ms pulse time and delay time Using 10ms units Control peripheral device #1Define drive pulse width for peripheral device #1 Escbel n1Full-cut command to the auto cutter Partial-cut command to the auto cutterOr ESC d Or 1BCancel last line & Initialize printer ErrorSet select mode When the printer receives a DC1 code, the deselect mode isSet memory switch N1n2n3n4 LF NULAlways Always 0 Default Initialize printerESC @ EnquiryReset the printer hardware Status byteControl CODES/ESC/POS Mode GS B Star Mode Character Code TablesCharacter table Normal Character table katakana Star Mode Character table IBM International Character Set ESC/POS Mode 0 PC437 USA, Standard Europe 1Katakana 2 PC850 Multilingual 3 PC860 Portuguese 4 PC863 Canadian-French 5 PC865 Nordic 255 Space International Character Set Automatic Cutter Memo Page Overseas Subsidiary Companies

RS232 specifications

Star Micronics RS232 is a versatile and widely used connectivity standard that enables seamless communication between peripheral devices and computers, particularly in point-of-sale (POS) environments. This technology is renowned for its robustness and reliability, making it a preferred choice for businesses in various sectors, including retail, hospitality, and healthcare.

One of the main features of Star Micronics RS232 is its ability to facilitate serial communication, allowing devices to exchange data one bit at a time over a single communication line. This enables simple and effective connections between devices like printers, cash registers, and barcode scanners. The standard typically operates at data rates ranging from 300 to 115200 bits per second, accommodating various application needs.

The RS232 interface is characterized by its 9-pin (DB9) or 25-pin (DB25) connectors, with the DB9 being the more commonly used in modern applications. It provides a straightforward plug-and-play experience, allowing devices to be easily connected and configured without extensive technical knowledge. This simplicity is particularly beneficial for retail staff who may not possess in-depth IT expertise.

Another significant aspect of RS232 technology is its point-to-point architecture. This means each connected device operates independently, enhancing overall system performance. Moreover, RS232 supports long-distance communication, with the ability to transmit data over cable lengths of up to 50 feet (15 meters), which is advantageous in larger retail settings.

In terms of compatibility, Star Micronics RS232 devices are designed to work seamlessly with various operating systems, including Windows, macOS, and Linux. This widespread compatibility ensures that businesses can continue to leverage their existing infrastructure without the need for costly upgrades.

Additionally, Star Micronics has incorporated advanced technologies into their RS232 products, such as built-in error checking and data control features. These enhancements help minimize data transmission errors and ensure that the information exchanged between devices remains accurate and reliable.

In summary, Star Micronics RS232 offers a robust set of features, including simple connectivity, point-to-point architecture, and compatibility with various systems. Its proven performance and reliability make it a trusted choice for businesses looking to enhance their operational efficiency and streamline their processes. As POS technology continues to evolve, the Star Micronics RS232 standard remains a foundational component for effective device communication.