?
Solved

Convert/Capture Parallel port data from Unix box and convert to word or rtf file

Posted on 2003-03-28
6
Medium Priority
?
443 Views
Last Modified: 2013-12-04
Hi
I am installing a new SBS2k server and pc's at a clients.
They have been running a old Unixbox and terminal stations for years contected to a a Laserjet printer.
The company that looked after the Unix box is no longer around and I don't have the administrators password for the unix box so can't really change anything plus I don't really know Unix.

The client has thousands of documents stored on the Unix box that need to be transfered in MSword. The documents on the unix systems are in an old program called Meta4. It produces quite simple documents with simple formatting like bold, undline indents etc with all in 10pt Courier. I have as yet been unable to find a conversion program or utility.

What I am thinking of doing is somehow capturing output from the parallel port on the Unix box (standard AT machine) to the serial or parallel port on the PC and so that the document could be read in Word. I know this might sound tedious but I reckon its still much quicker than scanning and OCR.

Is this possible? has anybody done this? and what do I need in software/hardware? Any help would be much appreciated.
0
Comment
Question by:charin
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 

Expert Comment

by:RedwoodSP
ID: 8329763
The data coming out of either the serial or parallel ports would have escape codes in it, to turn on/off bold, underline,etc.  Are the files binary or are they text based ?
If they are text based, you would be better off writing a perl or awk script to convert them to .txt files.
0
 
LVL 62

Expert Comment

by:gheist
ID: 8492381
Meta4 is still alive and well so ask them.
<SARCASM>
I thought MS Word is capable of opening text files and integrates well with Old Bad UNIX
</SARCASM>
You need a "null-modem serial cable" to capture data sent to printer, using another PC/AT
0
 
LVL 4

Expert Comment

by:judhi
ID: 8654663
I assume you still can login to the Unix box using user account (non superuser). If your Unix is connected to a network, would it be faster if you transfer the file over the network using FTP?

What you need to do is:

1) print it to a file instead of to the parallel printer (see if your Meta4 have this feature).
2) do ftp to your PC. Win2K or NT usually have built-in FTP server, or you can download some free FTP server from www.download.com.
3) The rest is depend on the software.

If you want to try this method and need further help please let us know.

Regards,
Judhi
0
Four New Appliances. Same Industry-leading Speeds.

But don't take it from us.  The Firebox M370 is Miercom tested and Miercom approved, outperforming its competitors for stateless and stateful traffic throughput scenarios.  Learn more about the M370, M470, M570 and M670 and find the right solution for your organization today!

 
LVL 16

Expert Comment

by:Hanno P.S.
ID: 8854938
The data flowing out on your printer interface (serial or parallel port) is NOT plain text rather that formatted for a particular printer.
Therefore, you should NOT try to use that stream. Alternatives:
a) See if you can instruct Meta4 to print to a file (in plain ASCII or RTF or whatever is possible) instead of a printer and copy the resulting file (or FTP it) to the windoze world
b) If there is no such option, create a temporary file (whereever you have write access to, if everthing fails try it in /tmp) with the command
    touch my_file
or
    > my_file
(if the command touch does not exist) and have Meta4 using this file as the "printer". Make sure you do use a simple (ASCII or plain text) type of printer from Meta4

Good luck

JustUNIX
0
 
LVL 18

Expert Comment

by:liddler
ID: 10273705
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

PAQ  No refund

Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

liddler
EE Cleanup Volunteer
0
 

Accepted Solution

by:
modulo earned 0 total points
ID: 10334423
PAQed - no points refunded (of 75)

modulo
Community Support Moderator
0

Featured Post

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

No security measures warrant 100% as a "silver bullet". The truth is we also cannot assume anything but a defensive and vigilance posture. Adopt no trust by default and reveal in assumption. Only assume anonymity or invisibility in the reverse. Safe…
In a recent article here at Experts Exchange (http://www.experts-exchange.com/articles/18880/PaperPort-14-in-Windows-10-A-First-Look.html), I discussed my nine-month sandbox testing of the Windows 10 Technical Preview, specifically with respect to r…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
Suggested Courses
Course of the Month12 days, 4 hours left to enroll

752 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