Solved

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

Posted on 2003-10-24
6
696 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

 
LVL 5

Accepted Solution

by:
lidsky earned 500 total points
Comment Utility
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
Comment Utility
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
Comment Utility

Glad to be able to help.
0

Featured Post

Free Gift Card with Acronis Backup Purchase!

Backup any data in any location: local and remote systems, physical and virtual servers, private and public clouds, Macs and PCs, tablets and mobile devices, & more! For limited time only, buy any Acronis backup products and get a FREE Amazon/Best Buy gift card worth up to $200!

Join & Write a Comment

Suggested Solutions

Is it worth it to buy an Echo? In a word, yes! For me it was definitely worth it. I use mine on a daily basis. Prologue & Privacy At first, I was very skeptical about the Amazon Echo. In general, I don't like voice assistants. I don't li…
In the modern office, employees tend to move around the workplace a lot more freely. Conferences, collaborative groups, flexible seating and working from home require a new level of mobility. Technology has not only changed the behavior and the expe…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

744 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now