--- title: "Byte-Back P-2 Printer Software Mods" type: "article" slug: "byte-back-p-2-printer-software-mods" url: "http://localhost/article/byte-back-p-2-printer-software-mods/" markdown_url: "http://localhost/article/byte-back-p-2-printer-software-mods.md" published_at: "2024-01-28T18:09:35+00:00" modified_at: "2026-06-21T23:37:06+00:00" featured_image: url: "http://localhost/wp-content/uploads/2022/04/20230809-041332.jpg" excerpt: "Add or alter these lines of ZX PRO/FILE to make it work with Byte-Back's P-2 serial print< er driver. P-2 can be located in any convenient memory location. Once you decide where you want it to be, determine the address of both the LPRINT and the LCOPY routines. The address for LCOPY will be stored…" category: - name: "Pro/File Updates" slug: "pro-file-updates" taxonomy: "category" url: "http://localhost/category/periodicals/pro-file-updates/" post_tag: - name: "1984" slug: "year-1984" taxonomy: "post_tag" url: "http://localhost/tag/year-1984/" - name: "Full Text" slug: "fulltext" taxonomy: "post_tag" url: "http://localhost/tag/fulltext/" - name: "TS 1000" slug: "ts1000" taxonomy: "post_tag" url: "http://localhost/tag/ts1000/" - name: "Type-in program" slug: "type-in-program" taxonomy: "post_tag" url: "http://localhost/tag/type-in-program/" model: - name: "Timex/Sinclair 1000" slug: "ts-1000" taxonomy: "model" url: "http://localhost/model/ts-1000/" indiv: - name: "Thomas B. Woods" slug: "thomas-b-woods" taxonomy: "indiv" url: "http://localhost/indiv/thomas-b-woods/" publication_r: id: 39136 title: "Pro/File Updates" type: "periodical" url: "http://localhost/periodical/pro-file-updates/" authors: "Thomas B. Woods" volume: "1" issue: "2" issues_articles: - id: 52730 title: "Pro/file Updates v1 n2" type: "issue" url: "http://localhost/issue/pro-file-updates-v1-n2/" pages: "6" pubdate: "April 1984" product_reviews: - id: 14729 title: "ZX Pro/File" type: "product" url: "http://localhost/product/zx-pro-file-2/" archive_link: false --- # Byte-Back P-2 Printer Software Mods Add or alter these lines of ZX PRO/FILE to make it work with Byte-Back’s P-2 serial print< er driver. P-2 can be located in any convenient memory location. Once you decide where you want it to be, determine the address of both the LPRINT and the LCOPY routines. The address for LCOPY will be stored by the program as a variable-called MC. ``` 24 LET MC=(your configured LCOPY address) 2055 POKE MC+442,14 2056 POKE MC+1,C2 3010 delete this line 3020 RAND USR MC 3032 PRINT AT 0,03;q$;Q$;Q$; AT 4,6; 3036 RAND USR (your configured LPRINT) 3038 IF C THEN GOTO 110 3040 GOTO 125 ``` After the modification is complete, GOTO 17 to get the program running. Run through a DEFP procedure to initialize everything. Once done, you can use P-2 exactly as the PRO/FILE manual describes. As with any machine language modification or utility, do not try to LPRINT if the P-2 driver is not present in memory. The results of doing so are at best unpredictable, and usually fatal. Thanks goes to Tom Lawfin, Hillsboro, NH for his help in debugging and testing this routine.