Need commands to list BASIC program and directory to printer

For help with C64 hardware, software etc.

Moderator: Lemoners

Post Reply
User avatar
Paul Panks
Lemon64 Donator!
Lemon64 Donator!
Posts: 1662
Joined: Fri Jul 25, 2003 8:07 am
Location: Phoenix, AZ (USA)
Contact:

Need commands to list BASIC program and directory to printer

Post by Paul Panks »

I just found a really good printer and need the commands for listing a BASIC program to the printer as well as the directory (from C64 and C128 modes). I assume it works the same in both modes.

Paul
It's always 2:06.
User avatar
judland
William Wobbler
William Wobbler
Posts: 119
Joined: Wed Jun 01, 2005 1:47 pm
Location: Sask., Canada
Contact:

Post by judland »

Load up your program (or "$" for directory) and then execute this command:

Code: Select all

OPEN 4,4,7:CMD 4:LIST
When it's done, do this:

Code: Select all

PRINT#4:CLOSE 4
Leave off the 7 if you'd rather have "graphic" mode than "upper / lower case" mode.
Last edited by judland on Tue Aug 07, 2007 1:51 am, edited 1 time in total.
Generation X nothin' .... I'm an 8-Bit Baby!
C64 Site: http://www.loaddollarsign.com
User avatar
Paul Panks
Lemon64 Donator!
Lemon64 Donator!
Posts: 1662
Joined: Fri Jul 25, 2003 8:07 am
Location: Phoenix, AZ (USA)
Contact:

Post by Paul Panks »

Thanks. :)

Paul
It's always 2:06.
Post Reply

Who is online

Users browsing this forum: Harry Potter, jasonsbeer1 and 2 guests