Rich-Text Format issue (WordPad) - TechRepublic
General discussion
May 28, 2002 at 11:58 PM
javierrosado

Rich-Text Format issue (WordPad)

by javierrosado . Updated 24 years, 1 month ago

I have an Star SP347FC with Auto-cutter that is used for ticket printing at a Dry Cleaners. The ticket report is written in RTF (Rich-Text format) and I need to use the Generic Printer Driver to be able to use the high-speed of the printer, however, this one does not send the code for the auto-cutter. I need to insert the Auto-Cutter code at the end of the ticket report so as soon as it ends printing, the auto-cutter engages.

Now, this is the code in different formats:
Hexadecimal is ‘1B 64 30′
Decimal is ’27 100 01’
From inside Dos Editor (EDIT) ‘<-d0' (the arrow is the same as holding CTRL+P and then hitting ESC inside the DOS Editor) As written in the Printer manual: “d””0” or “d””<0>”

Does anybody know how to insert these codes in to the RTF so when the RTF interpreter reads them, they don’t get ignored?
I can use the DOS Editor or WordPad to edit the ticket.

This discussion is locked

All Comments