--- title: "Larken RS232 Printer Driver" type: "article" slug: "larken-rs232-printer-driver" url: "http://localhost/article/larken-rs232-printer-driver/" markdown_url: "http://localhost/article/larken-rs232-printer-driver.md" published_at: "2026-11-15T18:39:48+00:00" modified_at: "2026-11-15T18:39:48+00:00" featured_image: url: "http://localhost/wp-content/uploads/2022/04/20230809-041332.jpg" excerpt: "The following is a listing that Larry Kenny sent me, to be used with the Ed Grey RS-232C Interface (Z-SI/O). This interface consists of two boards and is designed to work with the TS2068. It is now available only as bare boards, for US$24.50 , plus $2.50 S&H. For more information on this, and many…" post_tag: - name: "Ed Grey Enterprises" slug: "ed-grey-enterprises" taxonomy: "post_tag" url: "http://localhost/tag/ed-grey-enterprises/" - name: "Full Text" slug: "fulltext" taxonomy: "post_tag" url: "http://localhost/tag/fulltext/" - name: "LARKEN Electronics" slug: "larken-electronics" taxonomy: "post_tag" url: "http://localhost/tag/larken-electronics/" - name: "TS 2068" slug: "ts2068" taxonomy: "post_tag" url: "http://localhost/tag/ts2068/" - name: "Type-in program" slug: "type-in-program" taxonomy: "post_tag" url: "http://localhost/tag/type-in-program/" model: - name: "Timex/Sinclair 2068" slug: "ts-2068" taxonomy: "model" url: "http://localhost/model/ts-2068/" indiv: - name: "George Chambers" slug: "george-chambers" taxonomy: "indiv" url: "http://localhost/indiv/george-chambers/" publication: "Sinc-Link" publication_r: id: 10240 title: "Sinc-Link" type: "periodical" url: "http://localhost/periodical/sinc-link/" authors: "G. Chambers" volume: "6" issue: "6" issues_articles: - id: 26576 title: "Sinc-Link v6 n6" type: "issue" url: "http://localhost/issue/sinc-link-v6-n6/" pages: "11" pubdate: "November/December 1988" archive_link: false volumeissue: "v6n6" article_media: - id: 77502 title: "RS232 Driver for LKDOS V3" type: "computer_media" url: "http://localhost/computer_media/rs232-driver-for-lkdos-v3/" --- # Larken RS232 Printer Driver The following is a listing that [Larry Kenny](http://localhost/indiv/larry-kenny/) sent me, to be used with the [Ed Grey RS-232C Interface](http://localhost/product/z-si-o-bare-boards/) (Z-SI/O). This interface consists of two boards and is designed to work with the TS2068. It is now available only as bare boards, for US$24.50 , plus $2.50 S&H. For more information on this, and many other TS2068 accessories, send a stamped self-addressed envelope, plus $1 to: [Ed Grey Enterprises](http://localhost/company/ed-grey-enterprises/), P.O. Box 2186, Inglewood, CA 90305. I suggest that Canadian T/S users send a Postal Money Order in US Funds in lieu of stamps or cheques. G. Chambers ``` 10 REM RS232 DRIVER FOR LKDOS Version 3 EPROM 15 RANDOMIZE USR 100: OPEN #4,"dd" 20 LET ST=191: REM 8251 Status 22 LET DT=159: REM 8251 Data 25 PRINT "Select Parameters"'' 30 PRINT "1 8/1/N at 300 baud"'"2 7/1/E at 300 Baud"'"3 8/1/N at 1200 Baud"'"4 7/1/E at 1200 Baud" 40 INPUT "Select 1 - 4 ";a 50 IF a=1 THEN LET baud=111 60 IF a=2 THEN LET baud=123 70 IF a=3 THEN LET baud=110 80 IF a=4 THEN LET baud=122 90 IF a>4 THEN GO TO 40 100 REM Initialize RS232 Port 110 OUT ST,0: OUT ST,0: OUT ST,0: OUT ST,64: OUT ST,baud: OUT ST,183 120 REM Install Driver in LKDOS Cartridge using PRINT #4:POKE 130 FOR a=16100 TO 16109 140 READ v: PRINT #4: POKE a,v 150 NEXT a 160 PRINT #4: POKE 8216,16100 170 PRINT #4: POKE 16096,4 180 PRINT #4: OPEN #3,"lp" 200 DATA 219,ST,203,87,40,250,241,211,DT,201 8999 STOP 9000 CLEAR : PRINT USR 100: SAVE "driver.B1" ``` ## Source Code: RS232 Driver for LKDOS V3 ``` 10 REM RS232 DRIVER FOR LKDOS V3 15 RANDOMIZE USR 100: OPEN #4, "dd" 20 LET st=191: REM 8251 STATUS 22 LET dt=159: REM 8251 DATA 25 PRINT "SELECT PARAMETERS"'' 30 PRINT "1. 8/1/N AT 300 BAUD "'"2. 7/1/E AT 300 BAUD"'"3. 8/1 /N AT 1200 BAUD"'"4. 7/1/E AT 12 00 BAUD" 40 INPUT "Select 1 - 4";a 50 IF a=1 THEN LET baud=111 60 IF a=2 THEN LET baud=123 70 IF a=3 THEN LET baud=110 80 IF a=4 THEN LET baud=122 90 IF a>4 THEN GO TO 40 100 REM Initialize RS232 Port 110 OUT ST,0: OUT ST,0: OUT ST, 0: OUT ST,64: OUT ST,BAUD: OUT S T,183 120 REM Install Driver in LKDOS cartridge using PRINT #4:POKE 130 FOR a=16100 TO 16109 140 READ v: PRINT #4: POKE a,v 150 NEXT a 160 PRINT #4: POKE 8216,16100 170 PRINT #4: POKE 16096,4 180 PRINT #4: OPEN #3,"lp" 200 DATA 219,ST,203,87,40,250,2 41,211,DT,201 210 PRINT #4: POKE 16090,80 1000 PRINT USR 100: SAVE "driver .B1" ```