[Howto] Print text to a file in WinVICE
The information in this article applies to the following versions of VICE:
- all Windows versions
PROBLEMEXPOSITION
You want to print something in WinVICE.
SOLUTION
Let's take you are in need of printing a BASIC program listing. Follow these steps:
- Start the emulator (x64, for example) with default settings.
- Disable "True drive emulation".
This is critical! - This step depends upon the VICE version you are using:
- For WinVICE 1.15 and before, enable Printer in Settings/Device settings.
- For WinVICE 1.16 and later, go to "Settings/Peripheral settings", select "Printer 4", then set "Printer Emulation" to "Filesystem".
- Type open4,4<ENTER>
- Type cmd4:list<ENTER>
- Type print#4:close4<ENTER>
- Close the emulator or Disable printer. This is needed to flush the data to the file).
- Have a look at the file viceprnt.out in your VICE working directory with your favourite editor.
STATUS
This document is for information purpose only. The behaviour reported is intentional in the VICE versions listed at the beginning of this article.
REVISION
- March 31, 2005: Added new procedure for WinVICE 1.16 and later
- January 17, 2003: Original release of this document
