Skip to main content
Participant
July 29, 2010
Question

How to convert PS2 file to PS3 file.

  • July 29, 2010
  • 1 reply
  • 1250 views

Hi all,

  Can you please suggest me a way to convert PS language level 2 file to PS3 file.

Thanks,

Sateesh.

This topic has been closed for replies.

1 reply

Dov Isaacs
Legend
July 29, 2010

By definition, a PostScript Language Level 2 file is a PostScript Language Level 3 file since PostScript Language Level 2 is a subset of PostScript Language Level 3. There is nothing that you need to do.

          - Dov

- Dov Isaacs, former Adobe Principal Scientist (April 30, 1990 - May 30, 2021)
Participant
July 29, 2010

Thanks Dov,

  I am trying to get a text string form the PS file. In the PS3 file text is converted to hexadecimal data and kept in between angular braces(<>). This PS3 file is generated when I print some text from a open office document. Same text from gedit is being converted to PS2 form. In this PS2 file text is converted to some other form, I could not able to decode the text.

  My requirement is to get the text from the PS file. In case of PS3 file I am able to do it because test data  is in hex form. As the test data in PS2 file is in some other format, I want to convert it to PS3 format and extract the data which is in hex format.

  I am working on Linux Fedora-12 OS.

Thanks,

Sateesh.

Dov Isaacs
Legend
July 29, 2010

I don't believe this is an issue of PostScript language level as much as the program/software that is generating the PostScript.

Personally, I don't know what gedit is and I'm not a Linux user so I really can't comment on what is generating what type of PostScript and why.

Generally speaking, trying to extract text out of a PostScript file is a losing battle. In theory, you need to have a full PostScript interpreter to properly detect what is text versus what is simply a string of characters being processed by the PostScript program. After all, PostScript is a programming language even more than it is a page description language.

          - Dov

- Dov Isaacs, former Adobe Principal Scientist (April 30, 1990 - May 30, 2021)