WinVICE print output line length

You need an actual VIC.

Moderator: Moderators

Post Reply
User avatar
Stormcrow
Vic 20 Amateur
Posts: 44
Joined: Mon Dec 24, 2012 9:46 pm
Website: http://trimboli.name
Location: Ronkonkoma, NY

WinVICE print output line length

Post by Stormcrow »

When emulating a printer on device 4 and printing to an ASCII file, the line length appears to be 72 characters. Is there any way to change this to 88 characters (handy for program listings)? I don't see any menu options to do so; perhaps there is a config file setting somewhere?
User avatar
Mike
Herr VC
Posts: 5134
Joined: Wed Dec 01, 2004 1:57 pm
Location: Munich, Germany
Occupation: electrical engineer

Post by Mike »

TBH, I never found any use for the printer emulation in VICE.

If you turn off true drive emulation, you can set drive #8 to a directory on the host PC (see Settings > peripheral settings ...) and print the program to a file like thus:

Code: Select all

OPEN2,8,2,"LISTING.TXT,S,W":CMD2:LIST

PRINT#2:CLOSE2
That's what I use all the time. Just make sure to tick off all the Read/Write P00 files options (these only serve trouble). This method does not enforce a line length of 72 characters.
User avatar
Stormcrow
Vic 20 Amateur
Posts: 44
Joined: Mon Dec 24, 2012 9:46 pm
Website: http://trimboli.name
Location: Ronkonkoma, NY

Post by Stormcrow »

Aha! Thanks.
Post Reply