Previous Thread
Next Thread
Print Thread
Page 5 of 10 1 2 3 4 5 6 7 9 10
Re: Ap2000 signs of life [Re: Golden Child] #117817 09/11/20 08:33 AM
Joined: Feb 2014
Posts: 473
G
Golden Child Online Content OP
Senior Member
OP Online Content
Senior Member
G
Joined: Feb 2014
Posts: 473
Managed to get DOS Instant Artist printing, seemed to get hung up on some of the lpt status bits, specifically the paper out bit, so ^ 0x20 seemed to fix it.


[Linked Image from i.imgur.com]

Re: Ap2000 signs of life [Re: Golden Child] #117818 09/11/20 12:18 PM
Joined: Mar 2001
Posts: 16,590
R
R. Belmont Online Content
Very Senior Member
Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 16,590
That's cool. The IW2 was serial only though, so I'm not quite understanding the LPT aspect smile Also, I had no idea the IW2 was supported by software on non-Apple systems.

Re: Ap2000 signs of life [Re: Golden Child] #117819 09/11/20 03:03 PM
Joined: Feb 2004
Posts: 2,176
Vas Crabb Online Content
Very Senior Member
Online Content
Very Senior Member
Joined: Feb 2004
Posts: 2,176
ImageWriter II is well-supported on Windows at least until Windows XP. You can get a Bitronics-RS422 bridge to use it on an LPT port if you really want to. "Standard" Windows printer drivers assume that the same high-level byte-oriented protocol can be used to communicate with a printer whether it's on a parallel port (Bitronics or ECP), serial, or a TCP socket connection. You can thank HP for pioneering the nybble-oriented Bitronics back-channel, and their dumb print server modules that just exposed that to a TCP socket.

Re: Ap2000 signs of life [Re: Vas Crabb] #117820 09/11/20 03:39 PM
Joined: Feb 2014
Posts: 473
G
Golden Child Online Content OP
Senior Member
OP Online Content
Senior Member
G
Joined: Feb 2014
Posts: 473
Since most printers are byte-oriented, perhaps we could have a parallel to serial converter and a serial to parallel converter.

Then you could use the ap2000 on a system that only supports serial, for example.

I made a serial luaprinter and added it to nano src/devices/bus/isa/com.cpp so you can do this:

(I did a MODE COM2:9600,N,8,1 before launching instant artist just for good measure)

[Linked Image from i.imgur.com]

[Linked Image from i.imgur.com]



I was going to see if I could get the coco3 to do the luaprinter (maybe getting a CGP-220 driver going) but it freezes up on a PRINT #-2. Also there's some strange double screen action going on.

[Linked Image from i.imgur.com]
[Linked Image from i.imgur.com]

Re: Ap2000 signs of life [Re: Golden Child] #117821 09/11/20 06:34 PM
Joined: Feb 2014
Posts: 473
G
Golden Child Online Content OP
Senior Member
OP Online Content
Senior Member
G
Joined: Feb 2014
Posts: 473
I changed the baud rate of the serial printer to 2400 in the source code and could get bytes from the c64 but only on the user port channel 2.

Printers are supposed to be on channel 4 or 5 on the c64 iec bus, however there aren't any iec drivers that work, there's vic1515 but it's just a skeleton.

I was really keen on trying to get an okimate 20 print going, since its graphics commands are pretty simple and I had always wanted an oki.

I can get the user port to connect and send bytes.

[Linked Image from i.imgur.com]

[Linked Image from i.imgur.com]

But the c64 wants printers on 4...

[Linked Image from i.imgur.com]

I did find an okimate 20 apple2 disc on archive but it was in a2r format.

Re: Ap2000 signs of life [Re: Golden Child] #117828 09/13/20 03:46 AM
Joined: Feb 2014
Posts: 473
G
Golden Child Online Content OP
Senior Member
OP Online Content
Senior Member
G
Joined: Feb 2014
Posts: 473
I found an article that mentioned printer drivers for Atari ST Degas and it has a bunch of different drivers for different dot matrix printers.

Hacking on a lua script made it output something recognizable for an Okimate 20.

Consulting the document "MCS-820_Printer_Handbook_(aka_Okimate_20).pdf" was indispensable.

[Linked Image from i.imgur.com]

Re: Ap2000 signs of life [Re: Golden Child] #117829 09/13/20 02:26 PM
Joined: Feb 2014
Posts: 473
G
Golden Child Online Content OP
Senior Member
OP Online Content
Senior Member
G
Joined: Feb 2014
Posts: 473
So let's see if we can get windows 3.1 to print something.

After some fits and starts, win 3.1 installed with "SETUP /I" which disables the hardware detection.

And the ap2000 works with the Epson FX-80 driver. Cool!

[Linked Image from i.imgur.com]

and I tried the luaprinter with the c-itoh 8510 driver as I couldn't find an imagewriter II driver anywhere for windows 3.1. Unfortunately the 8510 driver doesn't do color.

[Linked Image from i.imgur.com]

Interestingly, it complained about paper being out for the luaprinter but not the ap2000, so I did the ^0x20 to the status just to get it to work.

Re: Ap2000 signs of life [Re: Golden Child] #117830 09/13/20 04:06 PM
Joined: Feb 2014
Posts: 473
G
Golden Child Online Content OP
Senior Member
OP Online Content
Senior Member
G
Joined: Feb 2014
Posts: 473
Just for fun, I added a buffer indicator to the ap2000. The buffer size is shown by the little green bars in the upper left of the printout. Each bar represents a hex digit of the size. It's kinda fun to watch the bars grow and shrink as the buffer fills and clears.

It's also a good indicator of whether the system is properly respecting the busy/ack signals as it will never use the buffer if so.

[Linked Image from i.imgur.com]

Re: Ap2000 signs of life [Re: Golden Child] #117832 09/14/20 01:07 PM
Joined: Feb 2014
Posts: 473
G
Golden Child Online Content OP
Senior Member
OP Online Content
Senior Member
G
Joined: Feb 2014
Posts: 473
Adding output_perror(0) seems to fix the paper out problems:

Code
void centronics_luaprinter_device::device_reset()
{
        printf("DEVICE RESET CALLED\n");
        m_busy = false;
        output_busy(m_busy);
        output_fault(1);
        output_ack(1);
        output_ack(0);
        output_select(1);
        output_perror(0); // added paper out
}


So let's see if Geos 2.0 will print something:

[Linked Image from i.imgur.com]

Re: Ap2000 signs of life [Re: Golden Child] #117836 09/14/20 04:10 PM
Joined: Feb 2014
Posts: 473
G
Golden Child Online Content OP
Senior Member
OP Online Content
Senior Member
G
Joined: Feb 2014
Posts: 473

And if win3.1 works, why not try win 95?

(installing from floppies and using the file manager is so tedious! but it works!)

Luaprinter:

[Linked Image from i.imgur.com]

Ap2000:

[Linked Image from i.imgur.com]

Page 5 of 10 1 2 3 4 5 6 7 9 10

Who's Online Now
1 registered members (Vas Crabb), 47 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
ShoutChat Box
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics8,818
Posts116,083
Members4,915
Most Online890
Jan 17th, 2020
Powered by UBB.threads™ PHP Forum Software 7.7.3