in reply to Re^2: How to edit a PCL file
in thread How to edit a PCL file

I was trying to understand where these PCL files are coming from, and what you want to change.

Say you were using an application, for example Microsoft Word to create documents and save them as PCL files (you can setup a 'dummy' printer driver to output a pcl file to a certain directory. In such a scenario I'd prefer to make the changes you need in the source word document by automating it via Win32::OLE. This solution is easier to maintain, PCL has various version (1-6), PCL files aren't as easy to edit as a text/Word/PDF file.

Replies are listed 'Best First'.
Re^4: How to edit a PCL file
by GoForIt (Novice) on Apr 01, 2010 at 14:05 UTC

    These are electronic documents created by the HP printer because the documents mentions the X and Y co-ordinates for cursor position before the actual data that needs to be printed on page. The files I've is PCL version 5.

    Again, %-12345X@PJL ENTER LANGUAGE = PCL, this means that this is a version 5 PCL file.

      These documents are created by a virtual printer. Instead of printing these documents on paper, these files are converted as .pcl files.

        Isn't that what I mentioned here?

      Can this virtual printer produce a pdf. Editing PDFs is pretty well understood.