Jump to content

Photo

Proof of concept printer emulation support.


21 replies to this topic

#1 JoSch OFFLINE  

JoSch

    Moonsweeper

  • 423 posts
  • Location:Germany

Posted Sat Apr 1, 2017 4:58 AM

Hi.

 

I have finished my first milestone for printer emulation: Implementing an Atari 1027 emulation.

It has international character support, underline support and prints on any native printer.

On Windows, my Deskjet driver always prints an empty first page. I don't know, whether that's a driver issue, but on OSX this never happens.

I have attached an Windows binary for testing.

Also, you now can have up to four printers.

 

My source code can be found here: https://github.com/j...t/tree/printers.

 

Next milestone would be further refactoring, and finding a way to fill the empty last disk slot on the right column and saving the preferences.

Then I like to implement some further printer like 1020, 1029 (someone knows a source for the manual?) and the like. Help is welcome.

 

Bug report are welcome, too.

 

The old text printer window support is still in there, just select the text printer in the printer list and open the text window.

For the Atari 1027, select the printer in the list, press the printer icon and select your native printer.

Now print from your Atari. When you are finished, just press the eject button, and your native printer should begin printing.

If you want to print something, just press the printer icon, again.

Attached Files



#2 JoSch OFFLINE  

JoSch

    Moonsweeper

  • Topic Starter
  • 423 posts
  • Location:Germany

Posted Sun Apr 9, 2017 5:46 AM

I implemented an Atari 1020 emulation and got the attached prints from the sample programs on the 1020 master disk.

random.pdf still has some glitches. But at least, the emulation works mostly.

I have to test the text facilities and then I commit everything and build executables.

Attached Files


Edited by JoSch, Sun Apr 9, 2017 5:49 AM.


#3 Philsan OFFLINE  

Philsan

    River Patroller

  • 3,384 posts
  • New Orleans Saints Super Bowl XLIV Champions
  • Location:Switzerland

Posted Sun Apr 9, 2017 11:45 AM

 

Then I like to implement some further printer like 1020, 1029 (someone knows a source for the manual?) and the like. Help is welcome.

 

 

Attached File  Atari 1029 Manual.pdf   3.73MB   33 downloads



#4 JoSch OFFLINE  

JoSch

    Moonsweeper

  • Topic Starter
  • 423 posts
  • Location:Germany

Posted Sun Apr 9, 2017 11:54 AM

Thanks Philsan

#5 DrVenkman ONLINE  

DrVenkman

    River Patroller

  • 2,322 posts
  • Back off, man! I'm a scientist.
  • Location:KMBT

Posted Sun Apr 9, 2017 1:51 PM

I don't recall - was the 1029 capable of producing dot-matrix graphics for use in something like The Print Shop? Man, wouldn't it be fun to make some old signs like that again? Of course, most of us no longer have tractor-feed printers, so mult-page banners would need some physical cutting and pasting, I imagine. :)


Edited by DrVenkman, Sun Apr 9, 2017 1:52 PM.


#6 JoSch OFFLINE  

JoSch

    Moonsweeper

  • Topic Starter
  • 423 posts
  • Location:Germany

Posted Sun Apr 9, 2017 2:39 PM

Yes, it was a dot matrix printer much like the 1025.

#7 Stephen OFFLINE  

Stephen

    Quadrunner

  • 6,445 posts
  • A8 Gear Head
  • Location:No longer in Crakron, Ohio

Posted Sun Apr 9, 2017 4:55 PM

I don't recall - was the 1029 capable of producing dot-matrix graphics for use in something like The Print Shop? Man, wouldn't it be fun to make some old signs like that again? Of course, most of us no longer have tractor-feed printers, so mult-page banners would need some physical cutting and pasting, I imagine. :)

Print shop is the entire reason I keep my old dot-matrix hooked up to my 8-bit.  A few weeks ago I finally fixed my MPP 64kB print buffer.  Turns out the power supply went bad.  Had enough voltage to power the LEDs, but not let the self test run.



#8 DrVenkman ONLINE  

DrVenkman

    River Patroller

  • 2,322 posts
  • Back off, man! I'm a scientist.
  • Location:KMBT

Posted Sun Apr 9, 2017 5:37 PM

Print shop is the entire reason I keep my old dot-matrix hooked up to my 8-bit.  A few weeks ago I finally fixed my MPP 64kB print buffer.  Turns out the power supply went bad.  Had enough voltage to power the LEDs, but not let the self test run.

 

I had a Star SG-10 as a kid but that was a very long time ago. Somewhere buried in storage I have an Atari tractor-feed printer and power supply but it's horribly yellowed. I got it in a giant lot at least 15 years ago and I've never even tried it. I should dig it out and see if it works sometime. Of course, if RespeQt printer emulation gets there, I'll at least be able to fake it. :)



#9 JoSch OFFLINE  

JoSch

    Moonsweeper

  • Topic Starter
  • 423 posts
  • Location:Germany

Posted Mon Apr 10, 2017 1:51 AM

Well, at least when I (or somebody else for that matter) will implement an ESC/P emulation, we will have most of the bases covered, I think.



#10 zzip OFFLINE  

zzip

    Stargunner

  • 1,312 posts

Posted Mon Apr 10, 2017 8:04 AM

If you are open to requests-  Epson 9-pin (is that the same as ESC/P mentioned above?).  That was a popular standard then.     Maybe Okidata Okimate 10, as that was a popular (but crappy) color printer



#11 JoSch OFFLINE  

JoSch

    Moonsweeper

  • Topic Starter
  • 423 posts
  • Location:Germany

Posted Mon Apr 10, 2017 8:28 AM

Yes, according to Wikipedia (https://en.wikipedia.org/wiki/ESC/P) all or most Epson impact matrix printers conform to ESC/P (or ESC/P 2, which is backward compatible).



#12 _The Doctor__ OFFLINE  

_The Doctor__

    River Patroller

  • 2,354 posts
  • Location:10-0-11-00:02

Posted Mon Apr 24, 2017 3:25 AM

why not the okimate 20 color? or star color?



#13 JoSch OFFLINE  

JoSch

    Moonsweeper

  • Topic Starter
  • 423 posts
  • Location:Germany

Posted Mon Apr 24, 2017 4:11 AM

The system is fully open to integrate any printer, but ESC/P (e.g. FX-80) is supported by a lot software, so I will do them before any other printer type, because I only have so much time to work on that.

Apart from that Epson is open about publishing ESC/P documentation, because they still sell these impact dot printers.

So, if you want these printers, please give us a manual with the codes, so me or somebody can implement them.

And some software that would support them, would be nice.


Edited by JoSch, Mon Apr 24, 2017 4:11 AM.


#14 Kyle22 OFFLINE  

Kyle22

    River Patroller

  • 3,104 posts
  • Location:McKees Rocks (Pittsburgh), PA

Posted Sun Apr 30, 2017 7:21 PM

The Star NX1000c is compatible with the Epson JX80 color printer.

#15 JoSch OFFLINE  

JoSch

    Moonsweeper

  • Topic Starter
  • 423 posts
  • Location:Germany

Posted Tue May 2, 2017 3:14 PM

So, by many request, I implemented SVG output support (https://db.tt/ddJys27iDo)



#16 JoSch OFFLINE  

JoSch

    Moonsweeper

  • Topic Starter
  • 423 posts
  • Location:Germany

Posted Thu May 11, 2017 1:42 PM

I wanted to implement an output window, but everything works except, there is nothing to see :-/

For now, I will deactivate the window as out selection in my code, but perhaps somebody look over the WindowOutput class and tell me, what I am doing wrong.



#17 DrVenkman ONLINE  

DrVenkman

    River Patroller

  • 2,322 posts
  • Back off, man! I'm a scientist.
  • Location:KMBT

Posted Sun Aug 6, 2017 5:45 PM

I'm wondering ... has JoSch or anyone else done any more work with emulating printer output?

 

I pulled my Atari 1025 out of storage and tried it this weekend. I've had this for about 15 years but never even plugged it in. Unfortunately, it appears to be non-functional. I plugged it in and the power LED lights up immediately, regardless of the position of the power switch; that can be good, eh? :) Nothing but a strange hum, and that only when the switch is set to OFF (what?!?). So, yeah ... Until I get up the inclination/motivation to take it apart and investigate, then learn the inner workings of 33 year old printers, I'm not sure this one will ever print again. 

 

​Anyway, that got me wondering if anyone had done any further work with printer emulation. My teenaged-self had a cracked copy of The Print Shop and - surprise! - it still boots up today. :) It sure would be fun to "print" to an output file that could then be printed on a modern inkjet or laser printer. 



#18 JoSch OFFLINE  

JoSch

    Moonsweeper

  • Topic Starter
  • 423 posts
  • Location:Germany

Posted Fri Aug 11, 2017 3:43 AM

I'm wondering ... has JoSch or anyone else done any more work with emulating printer output?

 

I pulled my Atari 1025 out of storage and tried it this weekend. I've had this for about 15 years but never even plugged it in. Unfortunately, it appears to be non-functional. I plugged it in and the power LED lights up immediately, regardless of the position of the power switch; that can be good, eh? :) Nothing but a strange hum, and that only when the switch is set to OFF (what?!?). So, yeah ... Until I get up the inclination/motivation to take it apart and investigate, then learn the inner workings of 33 year old printers, I'm not sure this one will ever print again. 

 

​Anyway, that got me wondering if anyone had done any further work with printer emulation. My teenaged-self had a cracked copy of The Print Shop and - surprise! - it still boots up today. :) It sure would be fun to "print" to an output file that could then be printed on a modern inkjet or laser printer. 

I got sidetracked by other projects and I hope to finish the stuff, I have at the moment (i.e. text printer, Atari 1027 and 1020), soon. Stay tuned.



#19 ChoccyHobNob OFFLINE  

ChoccyHobNob

    Space Invader

  • 16 posts
  • AtariArtist
  • Location:St. Louis, MO. USA

Posted Thu Aug 31, 2017 12:40 PM

This might be useful. I found it a couple of days ago when looking for an ESC/P emulator. 

 

https://github.com/RWAP/PrinterToPDF



#20 RWAP OFFLINE  

RWAP

    Star Raider

  • 59 posts
  • Location:Stoke-on-Trent, UK

Posted Fri Sep 8, 2017 5:19 AM

This might be useful. I found it a couple of days ago when looking for an ESC/P emulator. 

 

https://github.com/RWAP/PrinterToPDF

 

Well spotted - this is one of my projects and a spin off from my Retro-Printer project - www.retroprinter.com

The PrinterToPDF is the public domain version of the conversion code - it is written in C and tested running on a Raspberry Pi.  It can of course be incorporated into another project such as Epson printer support to emulators.

It handles most of the ESC/P2 control codes so is more versatile than many of the older projects you can find out there.



#21 Brentarian OFFLINE  

Brentarian

    Moonsweeper

  • 308 posts
  • Location:Columbus, Georgia USA

Posted Fri Sep 8, 2017 9:16 PM

 
Well spotted - this is one of my projects and a spin off from my Retro-Printer project - www.retroprinter.com

The PrinterToPDF is the public domain version of the conversion code - it is written in C and tested running on a Raspberry Pi.  It can of course be incorporated into another project such as Epson printer support to emulators.

It handles most of the ESC/P2 control codes so is more versatile than many of the older projects you can find out there.


When will Retro-Printer be available? I've been watching the web page for a few years and I definitely want one!

#22 RWAP OFFLINE  

RWAP

    Star Raider

  • 59 posts
  • Location:Stoke-on-Trent, UK

Posted Sat Sep 9, 2017 2:06 AM

It is a shame that people have been waiting, although this is something I envisaged back in 1997, so there are probably not many who have waited as long as me!

 

Hardware development was a little slowed recently as we struggled to work out why some equipment was saying the printer was not connected even though we were supplying all of the necessary centronics signals!  Thankfully, we appear to have resolved that and as you have seen, we have worked hard on improving the software side of the project.

We have just sent out a small batch of the v2 Retro-Printer for final testing across a range of equipment and platforms.  Assuming the feedback is positive on this, then we aim to have some for sale in October.





Reply to this topic



  


0 user(s) are browsing this forum

0 members, 0 guests, 0 anonymous users