USB printer driver project
Moderators: Mug UK, Zorro 2, spiny, Greenious, Moderator Team
Re: USB printer driver project
My (broken) Canon was capable of 720dpi but the only driver I got working was 360dpi at 16M colours. It would be nice to get to 600dpi 16M on a laser.
-
- Obsessive compulsive Atari behavior
- Posts: 138
- Joined: Mon Feb 26, 2018 1:47 pm
- Location: Québec, Canada
- Contact:
Re: USB printer driver project
The Xerox 6022 will print 600dpi in black and white using the NVDI HP 6L driver. ImageCopy will print true color images (16M colors) at 300 dpi using its Deskjet driver. It's not photo quality however.
Later, I'll try to print directly JPEG, TIFF and PDF.
Later, I'll try to print directly JPEG, TIFF and PDF.
Re: USB printer driver project
Yes, Philippe (Faucon2001 here on AF) had done a lot of testing on various NVDI drivers on printers couple of year back.Perdrix24 wrote:The Xerox 6022 will print 600dpi in black and white using the NVDI HP 6L driver. ImageCopy will print true color images (16M colors) at 300 dpi using its Deskjet driver. It's not photo quality however.
IIRC, he did mention that the deskjet drivers can never get the good colour reproduction on colour laser because the of the driver optimise the way the ink is sprayed on the paper... my guess is it takes in to account the way ink spread over paper and model of device as well. Whereas toner does not need this and just coat the entire paper and let the laser/led fuse it into the paper.
But in general, you can use the NVDI PCL driver for any PCL aware printer as they are still backward compatible (read as almost all modern printers).
I have still to see PCL6 only devices in home consumer models market..... but I am no printer expert may be they are slowly coming.
Guess you can search for Philippe's findings here (at least I think it is documented somewhere on this site.).
My Stuff: FB/Falcon CT63 CTPCI ATI RTL8139 USB 512MB 30GB HDD CF HxC_SD/ TT030 68882 4+32MB 520MB Nova/ 520STFM 4MB Tos206 SCSI
Shared SCSI Bus:ScsiLink ethernet, 9GB HDD,SD-reader @ http://phsw.atari.org
My Atari stuff for sale - click here for list
Shared SCSI Bus:ScsiLink ethernet, 9GB HDD,SD-reader @ http://phsw.atari.org
My Atari stuff for sale - click here for list
-
- Obsessive compulsive Atari behavior
- Posts: 138
- Joined: Mon Feb 26, 2018 1:47 pm
- Location: Québec, Canada
- Contact:
Re: USB printer driver project
My own experience using four fairly recent laser printers showed that while black-and-white printing using a NVDI LaserJet (PCL5) driver works perfectly, color printing using a NVDI DeskJet (PCL3) driver is a shot in the dark. The Xerox was the first I had success with, and that was after trying different drivers and the 8-color option. The others (2 HP and a Brother) were printing black and white, with color streaks, or missing the top few lines. I guess it depends on the printer's PCL interpreter.wongck wrote:
But in general, you can use the NVDI PCL driver for any PCL aware printer as they are still backward compatible (read as almost all modern printers).
Re: USB printer driver project
Yes, for colour printing most printers have moved to PCL5 but NVDI is still stuck at PCL3 ( or thereabouts).
While the black & white PCL stuff have remained pretty much constant, colour PCL commands have advanced in leaps and bounds and are so missing from NVDI drivers. That's why the low colour compatibility.
I too had problems wth it, look here http://www.atari-forum.com/viewtopic.ph ... 90#p326086
While the black & white PCL stuff have remained pretty much constant, colour PCL commands have advanced in leaps and bounds and are so missing from NVDI drivers. That's why the low colour compatibility.
I too had problems wth it, look here http://www.atari-forum.com/viewtopic.ph ... 90#p326086
My Stuff: FB/Falcon CT63 CTPCI ATI RTL8139 USB 512MB 30GB HDD CF HxC_SD/ TT030 68882 4+32MB 520MB Nova/ 520STFM 4MB Tos206 SCSI
Shared SCSI Bus:ScsiLink ethernet, 9GB HDD,SD-reader @ http://phsw.atari.org
My Atari stuff for sale - click here for list
Shared SCSI Bus:ScsiLink ethernet, 9GB HDD,SD-reader @ http://phsw.atari.org
My Atari stuff for sale - click here for list
-
- Obsessive compulsive Atari behavior
- Posts: 138
- Joined: Mon Feb 26, 2018 1:47 pm
- Location: Québec, Canada
- Contact:
Re: USB printer driver project
I looked at your post, and yes, it's the same issue I had, with 16M colors NVDI 5 HP1200C driver, the black doesn't print. However I was satisfied with the 8-color option. I'll have to do more tests, as my test included clip-art and logos, not photos. Also I'll try every single HP driver available.wongck wrote:Yes, for colour printing most printers have moved to PCL5 but NVDI is still stuck at PCL3 ( or thereabouts).
While the black & white PCL stuff have remained pretty much constant, colour PCL commands have advanced in leaps and bounds and are so missing from NVDI drivers. That's why the low colour compatibility.
I too had problems wth it, look here http://www.atari-forum.com/viewtopic.ph ... 90#p326086
Did you try NVDI 4?
What if we use PH PDF maker, and we send the resulting PDF to the printer directly?
What is your printer brand/model?
Re: USB printer driver project
On colour, I tested on a home multi function 4185 deskjet and an commercial multi function Ricoh MPC4004.
For NVDI, I must have but I can't remember the results.
Nowadays, most new printers understand PDF and can print them out correctly.
But mainly still depends on the printer capability.
PHPDF does not embed the fonts, so if the printer does not include such fonts, it will be horrible looking.
For NVDI, I must have but I can't remember the results.
Nowadays, most new printers understand PDF and can print them out correctly.
But mainly still depends on the printer capability.
PHPDF does not embed the fonts, so if the printer does not include such fonts, it will be horrible looking.
My Stuff: FB/Falcon CT63 CTPCI ATI RTL8139 USB 512MB 30GB HDD CF HxC_SD/ TT030 68882 4+32MB 520MB Nova/ 520STFM 4MB Tos206 SCSI
Shared SCSI Bus:ScsiLink ethernet, 9GB HDD,SD-reader @ http://phsw.atari.org
My Atari stuff for sale - click here for list
Shared SCSI Bus:ScsiLink ethernet, 9GB HDD,SD-reader @ http://phsw.atari.org
My Atari stuff for sale - click here for list
Re: USB printer driver project
https://support.hp.com/us-en/document/c00068221
It seems that PCL6 is more like a vector based format (sounds like AES
but it must still be able to print photos in some way.
How does linux/bsd handle the plethora of printers ? I am aware of cups and foomatic but not sure what their exact functions are. https://en.wikipedia.org/wiki/Foomatic is postscript dependent and I don't think NVDI has a PS option, maybe one could be created ?
I did find some ink based PCL printers: https://store.hp.com/us/en/pdp/hp-offic ... 64a-b1h--1
It seems that PCL6 is more like a vector based format (sounds like AES

How does linux/bsd handle the plethora of printers ? I am aware of cups and foomatic but not sure what their exact functions are. https://en.wikipedia.org/wiki/Foomatic is postscript dependent and I don't think NVDI has a PS option, maybe one could be created ?
I did find some ink based PCL printers: https://store.hp.com/us/en/pdp/hp-offic ... 64a-b1h--1
Re: USB printer driver project
This might be useful for anyone looking for suitable usb printers, some in the list are discontinued:
https://support.hp.com/gb-en/document/c04324001
https://support.hp.com/gb-en/document/c04324001
Re: USB printer driver project
A thought crossed my mind.
I wonder how NVDI currently sends the output to parallel or serial printers ? It's configured from the cpx but presumably that just sets the destination port for the output. I wondered if the cpx could be modified to replace serial with usb ?
I wonder how NVDI currently sends the output to parallel or serial printers ? It's configured from the cpx but presumably that just sets the destination port for the output. I wondered if the cpx could be modified to replace serial with usb ?
-
- Obsessive compulsive Atari behavior
- Posts: 138
- Joined: Mon Feb 26, 2018 1:47 pm
- Location: Québec, Canada
- Contact:
Re: USB printer driver project
Download now the USB printer driver (attached)!
The source code is at
https://github.com/freemint/freemint/tr ... dd/printer .
Make sure to read the README on that page. It contains important usage notes.
The driver must be sandwiched between USB.PRG and NETUSBEE.PRG, available at http://atari-forum.com/viewtopic.php?f=15&t=34355 (in the attachment of the first post), for NetUSBee users. It should also work for Lightning VME users.
The source code is at
https://github.com/freemint/freemint/tr ... dd/printer .
Make sure to read the README on that page. It contains important usage notes.
The driver must be sandwiched between USB.PRG and NETUSBEE.PRG, available at http://atari-forum.com/viewtopic.php?f=15&t=34355 (in the attachment of the first post), for NetUSBee users. It should also work for Lightning VME users.
You do not have the required permissions to view the files attached to this post.
Re: USB printer driver project
On the Milan, I tried running the printer.prg after booting but it says "PRINTER failed to get _USB cookie".
I double-checked that the usb loader.prg had run at boot time. I had a look for the cookie but I can only see EUSB.
Am I doing something wrong ?
I double-checked that the usb loader.prg had run at boot time. I had a look for the cookie but I can only see EUSB.
Am I doing something wrong ?
Re: USB printer driver project
You're mixing the USB stacks for TOS and MiNT.
Using MiNT? Then use loader.prg and printer.udd. (loader.prg will load all .ucd and .udd files.)
Using TOS? Then don't use loader.prg but usb.prg, printer.prg and of course the actual driver for the USB hardware. (Is there even a TOS driver for the Milan USB?)
Using MiNT? Then use loader.prg and printer.udd. (loader.prg will load all .ucd and .udd files.)
Using TOS? Then don't use loader.prg but usb.prg, printer.prg and of course the actual driver for the USB hardware. (Is there even a TOS driver for the Milan USB?)
Re: USB printer driver project
Thanks. I only use TOS as a back-up for those occasions when I break the Mint set-up.
I am not expecting the printer to work because there are other issues with the Milan usb. It can open memsticks and view folders but when the files are opened it does not show the data correctly.
I am not expecting the printer to work because there are other issues with the Milan usb. It can open memsticks and view folders but when the files are opened it does not show the data correctly.
-
- Obsessive compulsive Atari behavior
- Posts: 138
- Joined: Mon Feb 26, 2018 1:47 pm
- Location: Québec, Canada
- Contact:
Re: USB printer driver project
Today I did a test of the zView PCL export module, with a 16M color photo. I dropped the resulting PCL file on the printer icon in TOS 4. I was surprised to see a near-photo quality printout. With ImageCopy, the same photo is dithered, although still fairly nice.
- lp
- Fuji Shaped Bastard
- Posts: 2535
- Joined: Wed Nov 12, 2003 11:09 pm
- Location: GFA Headquarters
- Contact:
Re: USB printer driver project
Curious what video mode you used when creating the PCL file? It shouldn't be dithered if you are in a 24-bit video mode when you create the PCL file. There's no way to tell zView to skip the dithering stage if the video mode is of lesser quality than the image.Perdrix24 wrote:Today I did a test of the zView PCL export module, with a 16M color photo. I dropped the resulting PCL file on the printer icon in TOS 4. I was surprised to see a near-photo quality printout. With ImageCopy, the same photo is dithered, although still fairly nice.
For maximum quality regardless of the video mode I could experiment with an img2pcl app which doesn't require zView if there's interest?
-
- Obsessive compulsive Atari behavior
- Posts: 138
- Joined: Mon Feb 26, 2018 1:47 pm
- Location: Québec, Canada
- Contact:
Re: USB printer driver project
I was in 24-bit video mode, and as you say, the image printed from the PCL file wasn't dithered.lp wrote:Curious what video mode you used when creating the PCL file? It shouldn't be dithered if you are in a 24-bit video mode when you create the PCL file. There's no way to tell zView to skip the dithering stage if the video mode is of lesser quality than the image.Perdrix24 wrote:Today I did a test of the zView PCL export module, with a 16M color photo. I dropped the resulting PCL file on the printer icon in TOS 4. I was surprised to see a near-photo quality printout. With ImageCopy, the same photo is dithered, although still fairly nice.
For maximum quality regardless of the video mode I could experiment with an img2pcl app which doesn't require zView if there's interest?
An img2pcl converter that preserves the original quality and runs on lesser hardware(ST) would be really nice.
My USB printer supports JPG, so if I drop a JPG on the printer icon, it will be processed and printed. But not all printers support this and it's only for JPG (support added in my next version of driver).
-
- Obsessive compulsive Atari behavior
- Posts: 138
- Joined: Mon Feb 26, 2018 1:47 pm
- Location: Québec, Canada
- Contact:
Re: USB printer driver project
The latest version of the printer driver can be found in the NETUSB04.ZIP archive at http://atari-forum.com/viewtopic.php?f=15&t=34355 .
- Eero Tamminen
- Fuji Shaped Bastard
- Posts: 2281
- Joined: Sun Jul 31, 2011 1:11 pm
Re: USB printer driver project
Printer manufacturers provide device driver programs for CUPS. Some are just binary blobs, some are semi-open source. Not very satisfactory at least for cheaper inkjets.PeterS wrote: How does linux/bsd handle the plethora of printers ? I am aware of cups and foomatic but not sure what their exact functions are.
-
- Moderator
- Posts: 5254
- Joined: Wed Oct 23, 2002 4:36 pm
- Location: Friedrichshafen, Germany
- Contact:
Re: USB printer driver project
The rule is simple, buy something with PCL5 or PCL6 support and it should work even without a blob driver.
These should even work with older Atari applications with a Laserjet driver or something very similar.
These should even work with older Atari applications with a Laserjet driver or something very similar.
Simon Sunnyboy/Paradize - http://paradize.atari.org/
Stay cool, stay Atari!
1x2600jr, 1x1040STFm, 1x1040STE 4MB+TOS2.06+SatanDisk, 1xF030 14MB+FPU+NetUS-Bee
Stay cool, stay Atari!
1x2600jr, 1x1040STFm, 1x1040STE 4MB+TOS2.06+SatanDisk, 1xF030 14MB+FPU+NetUS-Bee
-
- Obsessive compulsive Atari behavior
- Posts: 138
- Joined: Mon Feb 26, 2018 1:47 pm
- Location: Québec, Canada
- Contact:
Re: USB printer driver project
I wanted to print high quality color on my Xerox printer.
The NVDI 5 drivers are limited to 300 dpi and "simple color mode" which is a 8-color palette. The result is dithered images.
I made a Papryrus driver (attached and included in the archive), using the printer utility in Papyrus. It's 600 dpi, the maximum for PCL5c. Papyrus still outputs in simple color mode, but the quality of the images is much better, as the dithering is finer.
For printing photos, IMG2PCL (attached) by Lonny Pursell, converts an image to PCL, which you can then drop on the printer icon. It outputs in 24-bit color. It uses "PCL imaging mode" and provides the best quality. It can print portrait or landscape.
Finallly, JPG files can be dropped on the printer icon. In this case they are printed portrait, full width.
Currently, I'm working on a PRINT.TTP utility for desktops without a printer icon and to use with MagiC.
The NVDI 5 drivers are limited to 300 dpi and "simple color mode" which is a 8-color palette. The result is dithered images.
I made a Papryrus driver (attached and included in the archive), using the printer utility in Papyrus. It's 600 dpi, the maximum for PCL5c. Papyrus still outputs in simple color mode, but the quality of the images is much better, as the dithering is finer.
For printing photos, IMG2PCL (attached) by Lonny Pursell, converts an image to PCL, which you can then drop on the printer icon. It outputs in 24-bit color. It uses "PCL imaging mode" and provides the best quality. It can print portrait or landscape.
Finallly, JPG files can be dropped on the printer icon. In this case they are printed portrait, full width.
Currently, I'm working on a PRINT.TTP utility for desktops without a printer icon and to use with MagiC.
You do not have the required permissions to view the files attached to this post.
-
- Obsessive compulsive Atari behavior
- Posts: 138
- Joined: Mon Feb 26, 2018 1:47 pm
- Location: Québec, Canada
- Contact:
Re: USB printer driver project
Videos of printing a PDF from desktop, using the new print.ttp that I'm developing. This will give you an idea of the processing speed on the computer and on the printer.
TOS 4 and MiNT printer icons can do this already.
https://youtu.be/Txk_WVvnHps
https://youtu.be/CEhf-nOZTlI
TOS 4 and MiNT printer icons can do this already.
https://youtu.be/Txk_WVvnHps
https://youtu.be/CEhf-nOZTlI
- Atarieterno
- Atari God
- Posts: 1275
- Joined: Mon Jan 18, 2016 3:40 pm
- Location: Spain
Re: USB printer driver project
Awesome!
ST/fm/e, STacy, Mega ST/e, TT, Falcon, C-Lab MKX... and more music tools.
-
- Obsessive compulsive Atari behavior
- Posts: 138
- Joined: Mon Feb 26, 2018 1:47 pm
- Location: Québec, Canada
- Contact:
Re: USB printer driver project
Video of printing a color page with photo in 600 dpi with custom Papyrus printer driver: https://youtu.be/vmBwjIpRCEM
Uses the Xerox printer driver, available for download above.
Uses the Xerox printer driver, available for download above.
-
- Obsessive compulsive Atari behavior
- Posts: 138
- Joined: Mon Feb 26, 2018 1:47 pm
- Location: Québec, Canada
- Contact:
Re: USB printer driver project
Attached is a small program I developed for sending a form feed to the printer. It is meant to be used with USB printers, to eject the last page of a document in case the program (such as ST-Guide) doesn't. Double-click on it after you finish printing.
The latest USB printer driver can be found at:
https://www.atari-forum.com/download/file.php?id=42843
It works with NetUSBee, Lightning and more adapters.
Claude
The latest USB printer driver can be found at:
https://www.atari-forum.com/download/file.php?id=42843
It works with NetUSBee, Lightning and more adapters.
Claude
You do not have the required permissions to view the files attached to this post.