J
Jens
Posted to:
comp.periphs.printers
comp.lang.c
comp.lang.postscript
Hello,
I am looking for some publically available methods/algorithms or C source
code for detecting
page breaks (unconditional and/or conditional page breaks) in a PCL file.
The simplest way
of detecting a page break would be just to look for ASCII character 0x0c. A
more
complicated algorithm would also take into consideration the following PCL
commands
which cause conditional break breaks:
[ESC]E
UEL
Flush all pages
Page Length
Page Size
Orientation
Paper Source
An intelligent algorithm might also distinguish between the type of data
(binary data, PCL
commands etc.)
Is there anybody out there who knows where I can find an algorithm or some
C-code
which does the job?
If you have a link, please post it.
I appreciate any help.
Thank you and have a nice day.
comp.periphs.printers
comp.lang.c
comp.lang.postscript
Hello,
I am looking for some publically available methods/algorithms or C source
code for detecting
page breaks (unconditional and/or conditional page breaks) in a PCL file.
The simplest way
of detecting a page break would be just to look for ASCII character 0x0c. A
more
complicated algorithm would also take into consideration the following PCL
commands
which cause conditional break breaks:
[ESC]E
UEL
Flush all pages
Page Length
Page Size
Orientation
Paper Source
An intelligent algorithm might also distinguish between the type of data
(binary data, PCL
commands etc.)
Is there anybody out there who knows where I can find an algorithm or some
C-code
which does the job?
If you have a link, please post it.
I appreciate any help.
Thank you and have a nice day.