printing to a file

General problems and how-to's of running/using the CCS64 emulator.

Moderator: Håkan Sundell

Post Reply
gawumpi
Posts: 1
Joined: Wed Jan 30, 2008 10:56 am

printing to a file

Post by gawumpi »

greetings, not sure if anyone has had this problem,

am trying to print a basic listing to a text file, I have the printer option set to file, commands I am using are as follows:

OPEN 4,4
CMD 4,”PROGRAM LISTING”
LIST
PRINT#4
CLOSE 4

however, when I type in PRINT#4, I get device not present error, and typing PRINT#4 again the error does not appear, but the listing does not get sent to the file

what am I doing wrong? if anything?
Stuart Toomer
Site Co-Admin
Posts: 786
Joined: Wed Aug 20, 2003 2:46 pm
Location: East Yorkshire, England

Post by Stuart Toomer »

This should work fine and does work OK for me in CCS64 V3.4. I don't know what you're doing wrong - check that Printer Device 4 is set to File and the File Name is Printer4.txt (or something similar).
Kind regards,

Stuart Toomer.
Post Reply