Printing NextBasic listings

This is where most of us started. Classic Spectrum basic.

Moderator: Programming Moderators

Flywheel
Posts: 13
Joined: Tue Apr 21, 2020 2:52 pm

Printing NextBasic listings

Postby Flywheel » Sun May 24, 2020 3:37 pm

Hi, does anyone have a solution to List basic programs on a regular printer (pc/laptop with printer on USB or network)?
I'm programming in NextBasic but would like to print my listings.
I guess it needs a NextBasic lprint tool for the pc as the .bas files are located on the SD card anyway?

regards,

Flywheel

User avatar
SevenFFF
Posts: 565
Joined: Mon Jun 05, 2017 5:30 pm
Location: USA

Re: Printing NextBasic listings

Postby SevenFFF » Sun May 24, 2020 4:06 pm

.bas2txt will generalteva plain text file you can copy off your SD card and print on your PC.

NextZXOS natively supports the ZX printer and Alphacom 32.

There is also a print driver for the Pi which supports the Pipsta a s another cheap generic EPOS printer.
Robin Verhagen-Guest
SevenFFF / Threetwosevensixseven / colonel32
NXtel NXTP ESP Update ESP Reset CSpect Plugins

Flywheel
Posts: 13
Joined: Tue Apr 21, 2020 2:52 pm

Re: Printing NextBasic listings

Postby Flywheel » Mon May 25, 2020 3:39 pm

Thanks Robin,

I tried .bas2txt but it doesn't look like plain text.
Actually it is a lot of garbage with some text, mostly REM's I put in the code. No basic, nothing.
It would be a nice option, but it doesn't make readable text?

User avatar
SevenFFF
Posts: 565
Joined: Mon Jun 05, 2017 5:30 pm
Location: USA

Re: Printing NextBasic listings

Postby SevenFFF » Mon May 25, 2020 3:57 pm

.bas2txt definitely produces plain text. Are you sure you’re not opening the tokenised source file instead of the output file?

Code: Select all

.bas2txt -h
to see the syntax.
Robin Verhagen-Guest
SevenFFF / Threetwosevensixseven / colonel32
NXtel NXTP ESP Update ESP Reset CSpect Plugins

Flywheel
Posts: 13
Joined: Tue Apr 21, 2020 2:52 pm

Re: Printing NextBasic listings

Postby Flywheel » Mon May 25, 2020 4:19 pm

Thanks Robin, yes ran it succesful now!


Who is online

Users browsing this forum: No registered users and 1 guest