--- title: "Turning the TOKENS Off" type: "article" slug: "turning-the-tokens-off" url: "http://localhost/article/turning-the-tokens-off/" markdown_url: "http://localhost/article/turning-the-tokens-off.md" published_at: "2026-11-27T01:32:01+00:00" modified_at: "2026-11-27T10:36:06+00:00" featured_image: url: "http://localhost/wp-content/uploads/2022/04/20230809-041332.jpg" excerpt: "Sending Single Bytes The above DRAW* routine uses machine code to send out control characters to the printer, but what if you want to send out your own codes? In order to do this you must first disable the tokenization. Characters that are tokenized are expanded when printed. For instance, an LPRINT CHR$ 217 would…" post_tag: - name: "Full Text" slug: "fulltext" taxonomy: "post_tag" url: "http://localhost/tag/fulltext/" - name: "Type-in program" slug: "type-in-program" taxonomy: "post_tag" url: "http://localhost/tag/type-in-program/" - name: "Wafadrive" slug: "wafadrive" taxonomy: "post_tag" url: "http://localhost/tag/wafadrive/" model: - name: "Timex/Sinclair 2068" slug: "ts-2068" taxonomy: "model" url: "http://localhost/model/ts-2068/" indiv: - name: "Michael Felerski" slug: "michael-felerski" taxonomy: "indiv" url: "http://localhost/indiv/michael-felerski/" publication_r: id: 39269 title: "ISTUG Newsletter" type: "periodical" url: "http://localhost/periodical/istug-newsletter/" authors: "Michael Felerski" issues_articles: - id: 39811 title: "ISTUG Newsletter Mar-Apr 1990" type: "issue" url: "http://localhost/issue/istug-newsletter-mar-apr-1990/" pages: "8" pubdate: "March - April 1990" archive_link: false --- # Turning the TOKENS Off ### Sending Single Bytes The above DRAW* routine uses machine code to send out control characters to the printer, but what if you want to send out your own codes? In order to do this you must first disable the tokenization. Characters that are tokenized are expanded when printed. For instance, an LPRINT CHR$ 217 would send INK to the printer. Here is one method to send a character to the Wafadrives’s Centronics I/F: ``` 10 DATA 30,0,207,31,201 20 LET A=USR "A":FOR C=A TO A+4:READ N:POKE C,N:NEXT C ``` Run this program. It will then locate in the UDG area. To send a byte to the printer, use: ``` POKE A+1,N:RANDOMIZE USR A ``` where N is the byte to be sent.