Yeup. Gotta send the code before you print. If I recall correctly, the Write ROM can handle embedded codes.
God Bless, GregS <>< Aug 18, 2021 2:12:11 PM Lloyd Johnson <[email protected]>: > Cool! > > I did not go back and play with the CHR$(10), but I ran the following program. > > 10 for i=1 to 2 > 20 lprint tab(i*10); i > 30 next i > 40 lprint CHR$(27)+CHR$(53)+CHR$(49) > > It printed a 1 and a 2 both on the same line. > > I ran it again and this time the 1 and the 2 were on different lines. > > Looks like that problem was solved. > > Thanks > Lloyd > > -----Original Message----- > From: M100 <[email protected]> On Behalf Of Greg Swallow > Sent: Wednesday, August 18, 2021 3:52 PM > To: Lloyd Johnson <[email protected]> > Subject: Re: [M100] Model 100 Printer Woes... > > Lloyd, > > A CHR$(10) should send a LF. > > ESC Code Sequences > Auto LF on: > CHR$(27)+CHR$(53)+CHR$(49) > > Auto LF off: > CHR$(27)+CHR$(53)+CHR$(48) > > Good luck, > > GregS <>< > > > Aug 18, 2021 1:33:49 PM Lloyd Johnson <[email protected]>: > >> I currently have two TRS-80 Model 100s. One of them with an annoying screen >> defect and the other with a dead RS-232 port. These were both eBay >> acquisitions. >> >> I also have a NEC that I've had since the early 80s. It seems to be >> working fine. >> >> One thing I found useful back in the 80s was to use my NEC to print labels >> on a dot matrix printer with a tractor feed. I've never come up with a >> useful way to print labels with an inkjet since you are usually committed to >> printing an entire page of labels. After making a couple more eBay >> acquisitions I obtained an Okidata Microline 320 and a cable to mate it to >> the NEC/TRS-80 Model 100. >> >> The NEC works just fine for this printer. I even got some tractor feed >> paper from Amazon and printed out some ASCII art images. Everything was >> cool. I wrote a calendar program (calling it YACalP.ba - for Yet Another >> Calendar Program). I will be putting this program on github after I >> document it a bit more. >> >> When I connect either TRS-80 Model 100, to the printer, it prints but does >> not do linefeeds. The carriage return function works but no line feed. >> >> I even tried doing a LPRINT CHR$(10) and no line feed. >> >> Anyone have any idea why the TRS-80 won't do the line feeds? Seems >> strange that they both are behaving the same way yet the NEC works fine. >> There is a lot of further investigation I can do, but I'm hoping someone >> might have an easy answer. >> >> Thanks >> Lloyd
