|
Post by stratos on Mar 25, 2004 22:33:53 GMT -5
I have managed to forget over the years how to open a channel to a printer in basic so what is viewed on the screen outputs to the printer. Can anyone help cause i need to print up some bbs basic source codes.
|
|
|
Post by Pinacolada on Jun 16, 2004 14:04:38 GMT -5
Try this: 10 OPEN 4,4 20 PRINT#4,"This is a test." 30 PRINT#4 40 CLOSE4 Note that you cannot use the abbreviation "?" in place of PRINT. You must spell out the entire command, and there cannot be a space in between the PRINT and the #. If you're looking to print a listing to a printer, try this: OPEN4,7 CMD 4 LIST PRINT#4 CLOSE4 That should do it, hopefully I remembered everything right. Don't have a printer on my C=128 right now - Ryan
|
|