Quote:
I have a pcl file. I want to remove a line of data from pcl file.
Generally, a pcl file is a file containing a dump of HP-PCL (Printer Command Language) commands for a printer that understand it.
Quote:
i tried to to get start index and end index of the string and tried to find it but it doesn't appear in the PCL.
It is not a flat text file, char to be printed are interleaved with commands and some times replaced by a bitmap matrix of the shape of the char to print.
So it is no wonder you don't find your string.
I recommend to use programmer's editor that is capable of binary display mode as the pcl include non printable chars.
Notepad++ Home[
^]
ultraedit[
^]
When I play surgeon with such a file, I use UltraEdit.
Not much more help can be provided without the file it self.