in reply to How to read the PCL file to a text file

What exactly are you trying to achieve here? Text stripping? PCL may contain binary data for graphics etc. Are you assuming your PCL is plain text? What is generating the PCL file?

Update: see Remove new line characters from PCL file and How to edit a PCL file.

  • Comment on Re: How to read the PCL file to a text file