root / pkpgcounter / trunk / NOTES @ 490

Revision 490, 0.8 kB (checked in by jerome, 17 years ago)

Added some notes about what needs to be done to :

1 - Simplify the code and increase portability by

removing mmap calls wherever practical (without
having to rewrite some parsers entirely)


2 - Accept print jobs size > available memory.


Line 
1Programmer's notes :
2====================
3
4As per their respective specifications, both PS and PDF formats must
5accept the following EOL markers which should be treated equally
6(like with Universal Newline opening mode) :
7
8        \r\n
9        \r
10        \n
11       
12For obvious reasons, the plain text format should also accept       
13these three forms of EOL markers.
14       
15The PJL statements MUST end with \n, so \r being present or not,
16we are only interested in \n as the EOL marker.
17
18We can't currently remove mmap calls for file formats which
19don't need it (e.g. zjstream, lidil, ...) until we have removed
20the universal newline opening mode. We can't remove this
21opening mode until we have written some replacement, or
22have a way for a parser to specify the mode in which
23the file must be re-opened.
Note: See TracBrowser for help on using the browser.