Ways to convert prn,ps to plain text format

Ways to convert prn,ps to plain text format

Post by Kevin Le » Fri, 27 Jun 2003 13:04:34

Dear all:

        I have search for tools software to convert prn (from windows) to
plain text format. I have come cross pstotext. However, if try with the prn
file, it fails to work. It is because GUN GS 7.05 cannot interpret the prn
file correctly. I have also change rename the file from prn to ps, which
give me the same error.

        Just wonder have facing the problem of using Ghostscript to read a
prn file which is generated from windows. Is any configuration is required
on Ghostscript in order to read prn file generated from windows.

        Any assistances will be greatly appreciated..

Kevin Lee
General Manager
Viva (Group) Trading Company Ltd.
Tel: +853 703131
Fax: +853 703121
Website: www.viva.com.mo


1. How to convert text files from Mac/Apple format to Unix format?


I've got some text files that were created on a mac. When i type them
or look at them in vi/emacs, the text seems to be all on one long
lines. har to read. I think this is becuase Mac text files do not
use LF for terminating lines?

Is there a command I can use on Linux to covert these files to Unix format?

I used to use this command to conver a DOS file to Unix:

cat dos_file.txt | tr -d \\015 > unix_file.txt

(the above command removes the CR)

is there a similar command I can use for the mac files? some kind of
a filter?


2. Where is the kernel on Solaris 2.3, 2.4 CDROM MEDIA?

3. SED script that converts plain text (.txt) --> .html

4. X on Redhat v6.2

5. Converting plain text files to XML

6. ide tape drive under linux

7. Pgm to convert postscript to plain text

8. Turbo Linux Server Boot.img ???

9. how to convert paper.ascii.gz to plain text?

10. Any utility to convert excel spreadsheet on UNIX to plain text

11. XSETIATHOME DOESN'T WORK Content-Type: text/plain; charset=us-ascii; format=flowed

12. text/plain text plugin necessary?

13. Unix Script to convert text files to DOS format?