Solved

How can I capture a print stream from a centronics cable to a file on another computer.

Posted on 2003-10-24
6
700 Views
Last Modified: 2010-08-05
We have an old PIC OS system with a database on it's hd.  We can't see the hd on any other system - it's probably been formatted in a proprietary manner.  The PIC system runs - I can print the data I need to a centronics printer.  I want to capture the print stream from a crossover cable (laplink type cable) onto a windows box as a file so that I can import it into a windows database.   The other option is a utility that would let me see the hd in windows.  
0
Comment
Question by:spolt
  • 3
  • 2
6 Comments
 
LVL 5

Expert Comment

by:lidsky
ID: 9619149
Hi,

I don't know of any commercial solution to your problem, although there may be one.
A home brew solution is  possible but will require that a special cable be made and a program written to emulate the centronics printer.
Information on parallel port programming and hardware can be found at -
http://www.beyondlogic.org/
http://www.programmersheaven.com/zone7/articles/article320.htm

However, if the amount of data is not enormous you might be better off scanning the printouts and the OCRing them into a text file.
0
 
LVL 13

Expert Comment

by:Gnart
ID: 9619630
what kind of database?  

The problem is to remove the embeded printer control code from the data stream later.

If you can print it you should be able to dump the data to ASCII delimited (text/csv) file.  Back up the csv or text file to a removeable media and restore it to the other system.  If you have networking capability on the PIC you can send the file as attachment in an email or do a file transfer.

You can try redirecting the printer port to a .txt file and print to it to create your txt file.

cheers
0
 

Author Comment

by:spolt
ID: 9627188
lidsky,

I don't think the job is worth the effort of constructing a cable and writing special code - I was hoping someone had a solution that was a little more plug-and-play.  The report is going to be thousands of pages and scanning is not going to be an option either.

Thanks


Gnart,

The PIC OS is sort of a hybrid OS and Database system (prehistoric Oracle).  I can't do anything with the data inside the PIC system. I need a way to get the data from the print stream - I'm pretty sure I can clean it up once I have it.

Thanks
0
Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

 
LVL 5

Accepted Solution

by:
lidsky earned 500 total points
ID: 9633087
I've come across this, which may be a solution to your problem.

http://www.imeg.com/jadtech/hawk.htm
0
 

Author Comment

by:spolt
ID: 9636753
lidsky,

Jadtech both sells and rents their units.  That was exactly what I was looking for.  

Great Job!

Spolt
0
 
LVL 5

Expert Comment

by:lidsky
ID: 9636934

Glad to be able to help.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Drivers  Repository for Win 7 13 71
scroll through a movie with a trackball mouse 5 40
Audio and image stuttering issue 24 99
Listening device 21 42
We recently endured a series of broadcast storms that caused our ISP to shut us down for brief periods of time. After going through a multitude of tests, we determined that the issue was related to Intel NIC drivers on some new HP desktop computers …
Stuck in voice control mode on your Amazon Firestick?  Here is how to turn it off!!!
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question