Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Printstream PCL to text

Status
Not open for further replies.

EricIT

Technical User
Sep 20, 2011
1
DE
Hi,

I get a printstream to IP and Port. This printstream should be convert to txt (ASCII).

I'm searching for a tool, but I did not find something like this.

Could you help me please?

Thank you
eric
 
The print stream will probably contain data formatted using a particular Page Description Language (PDL).

Typical PDLs are PCL5, PCL6 (also known as PCL XL) and PostScript, although others also exist (e.g. Esc/P, PCL3GUI).

If you just want to view what the printed page would look like, companies like SwiftView and PageTech and Lincoln offer 'PCL viewers'.

For PostScript, there is a 'GhostScript' product, which may do the same (I think there is also a 'GhostPCL' product).

Most of these companies/products offer features to extract just the text (not graphics) from the print stream.
 
The generic text-only (tty) driver can be useful if the document being printed is not too complex (many varying fonts, point sizes, columns, text blocks within columns, double-byte/foreign languages, etc.).

We have a PCLMagic driver that captures all the text from the application in Unicode and UTF8 character cell assignments. The text is hidden in the HP PCL print stream produced by embedding it into macros that are not executed. We then have tools to extract the text and format it in various ways: ASCII Text Equivalent, each text object with it's absolute positioning coordinates, etc.

The PCLMagic driver is automatically installed in our PCLTool SDK Demo at pagetech.com. After it's installed, print to the PageTech PCL2PDF Driver and then look in our \program data\pagetech\pcltsdk_116\out folder for the *.txt file created.

Regards,
Bob Pooley
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top