templarrush
Programmer
Hi,
I'm writing a program to view all the PCL Commands of a pcl file.
It works good so far except when it encounters the following
example:
<ESC>*b0M
<ESC>*b0WSystem.Byte[]
<ESC>*b2M
<ESC>*b6WSystem.Byte[]
� ��
<ESC>*b2M
When a compression method is set (<ESC>*b#M). It starts to fail.
I always read # number of bytes after the command. Afer <ESC>*b6W, I read 6 bytes for the data. It looks like the compression changes the number of bytes.
Is it possible to know the exact amount of data bytes?
I'm writing a program to view all the PCL Commands of a pcl file.
It works good so far except when it encounters the following
example:
<ESC>*b0M
<ESC>*b0WSystem.Byte[]
<ESC>*b2M
<ESC>*b6WSystem.Byte[]
� ��
<ESC>*b2M
When a compression method is set (<ESC>*b#M). It starts to fail.
I always read # number of bytes after the command. Afer <ESC>*b6W, I read 6 bytes for the data. It looks like the compression changes the number of bytes.
Is it possible to know the exact amount of data bytes?