PCL Identification

G

Guest

Guest
Archived from groups: comp.periphs.printers (More info?)

Does anyone know how to definitively determine whether or not a file is of
type PCL5, by means of parsing the PDL stream with a language such as C++?

Thanks,

Dan
 
Archived from groups: comp.periphs.printers (More info?)

On Thu, 25 Aug 2005 23:04:29 GMT, "dellpc" <nospam@nospam.com> wrote:

>Does anyone know how to definitively determine whether or not a file is of
>type PCL5, by means of parsing the PDL stream with a language such as C++?
>
>Thanks,
>
>Dan

The only definitive way would be to run it through a PCL5 interpreter.

Most software that does that is rather more simpleminded. If you
expect data to be either PJL, PS, PCL, Epson ESC or plain text, it's
not too hard to guess which with a few lines of checks.
 

Latest posts