Form Feed secuences scapes characters questios .

M

Mario Reiley

Hi, Group, Please Let me know How Can I read the Form Feed secuences scapes
characters from binary file like .prn

Best regard
MArio
 
S

Skif

The .prn file can be in any format: HPGL/2, PS, PCL, Esc so there is no
common solution to your problem.
 
M

Mario Reiley

Thanks for you response but How Can I to know How many Pages the printer
OUTPUT from .PRN File ?

Please Let me know
Mario
 
M

Michael A. Covington

Mario Reiley said:
Thanks for you response but How Can I to know How many Pages the printer
OUTPUT from .PRN File ?

Please Let me know
Mario

It depends on what kind of printer it is for!
 
S

Skif

You have to:
1 detect the printer language used in this .prn file
2 parse the data according to the language specification
and recover number of pages in this document.
 
M

Mario Reiley

OK Sir. I am using PCL6 for Hp Laser Jet 8150.

Thanks so much for your advisor.

Mario
 
M

Mario Reiley

I am looking for this secuences scape:

0Ch
1b266b3347H
0FF

And nothing is found....

Please let me know whats is wrong.

Mario
 
T

Tony Edgecombe

The trouble is some of these characters could appear legitimately in the
print file when it isn't the end of a page, for instance as bitmapped data
or font information. To do this properly you need to parse the print file,
this isn't going to be trivial.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top