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.
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.