GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
PS2ASCII(1) Ghostscript Tools PS2ASCII(1)

ps2ascii - Ghostscript translator from PostScript or PDF to text

ps2ascii [ input.ps [ output.txt ] ]
ps2ascii input.pdf [ output.txt ]

ps2ascii uses gs(1) to extract text from PostScript(tm) or Adobe Portable Document Format (PDF) files. If no files are specified on the command line, gs reads from standard input. If no output file is specified, the ASCII text is written to standard output.

The old ps2ascii.ps program was deprecated and removed some years ago, the scripts now use the txtwrite device to extract text from the input. This does a generally better job than the old PostScript program and can extract Unicode not just ASCII. However it no longer supports the COMPLEX feature.

Further documentation on the txtwrite device can be found at https://ghostscript.readthedocs.io/en/latest/Devices.html#text-output

This document was last revised for Ghostscript version 10.04.0.

Artifex Software, Inc. are the primary maintainers of Ghostscript. David M. Jones <dmjones@theory.lcs.mit.edu> made substantial improvements to ps2ascii.

18 Sept 2024 10.04.0

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.