Author Topic: USB to Parallel  (Read 13753 times)

Mike Engle

  • Newbie
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
USB to Parallel
« on: December 12, 2023, 04:55:29 pm »
New laptop (notebook).  Has anyone had any success connecting a parallel printer to a USB port?  I have a cable.  Do I need a driver?  If so where do I find said driver?

Thanks,
ME

ivan

  • Hero Member
  • *****
  • Posts: 1601
  • Karma: +20/-0
    • View Profile
Re: USB to Parallel
« Reply #1 on: December 12, 2023, 05:14:17 pm »
What printer?

Some work using an adapter cable.  For me, the solution was to put my printers on the network which ment they were accessible from any computer in the house without problems.

Mike Engle

  • Newbie
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Re: USB to Parallel
« Reply #2 on: December 12, 2023, 09:33:15 pm »
HP laserjet 2100 located in my office at work (University) so I have to stay local (USB, was parallel cable).  At home I put an HP color laserjet on the home network.  It runs great even with the incorrect old (included) driver.
Thanks, ME

Roderick Klein

  • Hero Member
  • *****
  • Posts: 697
  • Karma: +14/-0
    • View Profile
Re: USB to Parallel
« Reply #3 on: December 12, 2023, 11:05:03 pm »
Uuugh if you want to be easier take this:

https://www.amazon.com/StarTech-com-Ethernet-Parallel-Network-Server/dp/B00HJZEAC8/ref=sr_1_1_sspa?keywords=parallel%2Bto%2Bethernet%2Badapter&qid=1702418049&sr=8-1-spons&sp_csd=d2lkZ2V0TmFtZT1zcF9hdGY&th=1

I think there is little experience with USB to parallel port adapters on OS/2. Then again I would assume the printer would work would as this should work like a USB printer class device.
But that is nothing else then an educated guess!

https://www.amazon.com/Sabrent-Parallel-Printer-Adapter-CB-CN36/dp/B00IDU0T1Y/ref=sr_1_1_sspa?crid=2JVPP7DQ6K11J&keywords=usb%2Bto%2Bparallel&qid=1702418644&sprefix=usb%2Bto%2Bprallral%2Caps%2C331&sr=8-1-spons&sp_csd=d2lkZ2V0TmFtZT1zcF9hdGY&smid=A29Y8OP2GPR7PE&th=1

Note none of these devices I recommend. I just picked a random device so you have an example would type of device you can look for.

Roderick

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 5022
  • Karma: +44/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: USB to Parallel
« Reply #4 on: December 12, 2023, 11:21:13 pm »
Hello Mike

Long time ago (2001), I wrote this article about connecting an USB Printer
https://www.os2world.com/wiki/index.php/How_to_Configure_a_USB_Printer_under_OS/2%3F

But that was on 2001, at that time I used and USB to Parallel adapter, I didn't have an USB printer, and I was using OS/2 Warp 4.52 and no CUPS. Expect it to be outdated.

Maybe this can be a good time to create an updated article.

Regards
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Mike Engle

  • Newbie
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Re: USB to Parallel
« Reply #5 on: January 12, 2024, 08:14:54 pm »
I went with a Ugreen USB to DB25 parallel printer adapter cable since I have a very long parallel cable running around the edge of my office.  When I plugged in the USB to my laptop, OS/2 reported a Prolific_IEEE_1284_Cont_1 in the Printer Outout Port tab.  Yea.  But, that didn't work.  I wondered if the problem might be too long of a parallel cable so I tried an old (very thick) parallel cable.  Still to results.  After trying to print and a timed out from the OS the printer spits out the following:
PCL XL error
   Subsystem:  KERNEL
   Error:   IllegalOperatorSequence
   Operator:  BeginFontHeader
   Position: 28

I also tried using printer only fonts but no output from the printer this time at all.

I wondered if I should set the numbers on the USB port Printer -> Properties -> Output Port -> (#2 click ->) Properties -> Timeouts in seconds (Print, Query, Job) any differently?  Or any changes in the Advanced Properties?

Thanks for any ideas.
ME

Neil Waldhauer

  • Hero Member
  • *****
  • Posts: 1073
  • Karma: +27/-0
    • View Profile
    • Blonde Guy
Re: USB to Parallel
« Reply #6 on: January 13, 2024, 03:39:19 pm »
This USB to parallel adapter works with OS/2.

http://www.blondeguy.com/usbMultiPortHub.html

The others don't have OS/2 support, but may work. I have no idea how to get one of these. I'd try eBay.

Expert consulting for ArcaOS, OS/2 and eComStation
http://www.blondeguy.com

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 5022
  • Karma: +44/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: USB to Parallel
« Reply #7 on: January 13, 2024, 05:29:38 pm »
Hi Mike

I'm not very good with printers. I still have on my list to troubleshoot my Epson L4150 printer and see if I can make it work on ArcaOS.

Just some thoughts and questions:
- HP LaserJet series 2100 seems to be support (parallel) from some old lists.  If you can, confirm with a different OS that it is working. Parallel or USB with your adapter.
- You are using ArcaOS 5.1, right?
- USB seems to be working fine, what I get on your message, when you plugged the USB Parallel adapter to your machine a "Prolific_IEEE_1284_Cont_1" showed up in your Printer Output ports.
- If you think it is the cable, can you try to get closer to the printer for a while with a shorter cable.

For what I know in ArcaOS there are two ways to make the printer work:
1) Legacy IBM OS/2 drivers
2) CUPS (I lack experience here).

The IBM OS/2 Legacy Printer driver have support for HP LaserJet 2100. Did you installed those and created an printer icon with it?
I'm attaching some screenshots, maybe you already did that.

Regards
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Mike Engle

  • Newbie
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Re: USB to Parallel
« Reply #8 on: January 16, 2024, 07:14:16 pm »
Yep, ArcaOS 5.1.  Yep, the hp 2100 laserjet has a parallel connection only.
Installed the legacy HP 2100 laserjet driver.  And directed the output to the USB to parallel cable USB output port ('Prolific_IEEE_1284_Cont_1').
Works great with the old laptop that has a parallel port (LPT1) with the legacy driver.
I did try a shorter cable.  That was how I got the error message.

Later I thought to try printing a simple text file instead of a DeScribe file.  After a few clicks on the 'ignore' printer warning window the printer printed:
PCL XL error   Subsystem: IMAGE    Error: ExtraData     Operator: ReadImage     Position: 37

Thanks for the ideas.  I will see how much time I will have to spend on this with classes starting.  Maybe I will try under Windoze in an attempt to test the cable.  But since I don't know Windoze very well it will also be a challenge.

ME

Mike Engle

  • Newbie
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Re: USB to Parallel
« Reply #9 on: February 07, 2024, 07:50:35 pm »
Well I got it working.  I am not sure how.  I can't remember doing anything different from what I did before.  Plugging in the USB to parallel cable (Campture2.jpg)  automatically showed up in the printer output port (Captured001.jpg).  I then reinstalled the HP 2100 printer and driver.  Sending a print job to the 2100 printer starts the light on the printer flashing.  NOW - let me report that is is working but ever so slowly.  It took 25 minutes to send down and print four (4) lines of simple text.  We are talking about 250-300 characters.  It takes hours to send down (print) a single page of rather full pdf info.  Yes it does work but not what I would call useful work.


Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 5022
  • Karma: +44/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: USB to Parallel
« Reply #10 on: February 07, 2024, 10:10:41 pm »
Hello.

- So, ArcaOS 5.1, HP 2100 Laserjet (Parallel port only), USB-Parallel adapter (Prolific_IEEE_1284), HP 2100 Laserjet legacy drivers works, but it is very slow.

I have little experience here, maybe someone else can share his opinion.
- Will it be about tweaking more the HP 2100 Laserjet (Legacy Driver) settings?
- Does CUPS in OS/2 also works for USB ? or only Network?

Regards
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Pete

  • Hero Member
  • *****
  • Posts: 1352
  • Karma: +11/-0
    • View Profile
Re: USB to Parallel
« Reply #11 on: February 08, 2024, 12:59:08 am »
Hi Martin

Yes, cups works with usb printers - or did last time I tried a few years ago. Does not use the usbprt.sys driver, uses libusb/usbcalls for output.
No idea if that would work better/faster with a usb to parallel lead though...


Regards

Pete

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 5022
  • Karma: +44/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: USB to Parallel
« Reply #12 on: February 09, 2024, 02:16:07 am »
Thanks Pete

Today I tried CUPS driver with USB, and now I see the trick. When it is plugged it will show you the port (like the picture attached). I printed a test PDF with color and worked fine.

Mike, I think it is time to try the CUPS driver. With the printer attached to the USB port try "Computer -> Printers -> Install CUPS Printer" and follow the instructions for your HP printer and let's hope you see a printing difference.

Regards
« Last Edit: February 09, 2024, 02:19:49 am by Martin Iturbide »
Martin Iturbide
OS2World NewsMaster
... just share the dream.