in reply to Re^2: How to edit a PCL file
in thread How to edit a PCL file
There aren't line delimiters in PCL, since the printer doesn't care about "lines" in a control file. Just read the file in fixed-length chunks to do your manipulations. It shouldn't matter how many bytes you process at a time, so I'd choose a relatively large buffer (32K or so).
...roboticus
|
|---|