LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-25-2015, 11:53 PM   #1
icga
Member
 
Registered: Nov 2004
Distribution: fc4
Posts: 37

Rep: Reputation: 15
Monitor input on usb end of usb/ltp adapter


I have a computer running DOS (yes, I know) that has only the ability to print to an LTP port. I need to grab that output via an LTP->USB adapter so that I can then send it to a printer. The output is just ASCII text. I have been digging and digging for a way to do this, but I can not thus far find a solution. So I have to ask for some help on this one before my eyes bleed anymore! Any ideas folks? Help would be so very appreciated?!
 
Old 04-26-2015, 09:49 AM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,842

Rep: Reputation: 5977Reputation: 5977Reputation: 5977Reputation: 5977Reputation: 5977Reputation: 5977Reputation: 5977Reputation: 5977Reputation: 5977Reputation: 5977Reputation: 5977
I've never tried but in theory it should be possible to write a program to read data from the parallel port adaper. A quick search did not find much success. I've also never tired using something like cat < /dev/USBlp0 in a bash script and save to a file. By using inotify you can monitor the file and send the data to a real printer.

You can also do the same thing with a serial port if the computer is so equiped. By using the mode command you can redirect lpt to com. Might be easier.

I am also in a similar situation but I have a parallel printer at the moment so not a problem until it breaks...
 
  


Reply

Tags
dos, parallel, usb


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] VLC & Sabrent USB Video Capture Adapter - USB-AVCPT lkraemer Slackware 4 11-13-2012 09:29 AM
Setting USB Network Controller (SR9600 USB To Fast Ethernet Adapter) on FC10 katrok Linux - Hardware 1 06-26-2009 08:31 PM
I have a USB Linksys Wirless-B USB Adapter (WUSB11v4) installation issues! tickerprice2684 Linux - Wireless Networking 2 01-29-2007 11:07 AM
DWL-122 USB Wireless USB adapter Suse 9.1? hal_casteel Linux - Wireless Networking 3 08-03-2004 07:13 AM
USB problems: Memorex USB stick 256MB and PSX to USB adapter by Radio Shack Knuckles T15 Linux - Hardware 1 05-19-2004 06:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration