W3C home > Mailing lists > Public > public-svg-print@w3.org > January 2004

Multiple docs in one print job (new element <pagegroup>) ...

From: Roland Mainz <roland.mainz@informatik.med.uni-giessen.de>
Date: Fri, 02 Jan 2004 09:18:23 +0100
Message-ID: <3FF5294F.7805A25C@informatik.med.uni-giessen.de>
To: W3 Public SVG Printing mailinglist <public-svg-print@w3.org>


Hi!

----

ISO 10175 and some advanced print spoolers from HP and IBM support an
extended model for print jobs, adding an intermediate layer between a
"job" and single "pages" called "document" (please don't mix this up
with "XML/HTML/SVG/DocBook/flying-dog-encoded-in-XML/etc. document"...
maybe a better name would be "pagegroup" to avoid confusion :) to group
multiple pages together (one of the main purposes was to have additional
control over postprocessing units (such as sorter/binder units attached
to the output of (large!!) laser printers)), e.g. the job structure then
looks like this:
-- snip --
-BeginJob
    -BeginDocument 1
        -Page 1
        -Page 2
        -Page 3
        -Page 4
        -Page 5
        ...
    -EndDocument 1
    -BeginDocument 2
        -Page 1
        -Page 2
        -Page 3
        -Page 4
        -Page 5
        ...
    -EndDocument 2
    ...
-EndJob
-- snip --

What about adding support for that to SVGPrint ? Proposed new element
name would be "pagegroup" (to avoid the confusion listed above :)

Example:
-- snip --
<svg width="210mm" height="297mm"
    xmlns="http://www.w3.org/2000/svg" version="1.2" streamable="true">
    <pageSet>
        <pageGroup>
            <page>
                <text x="50mm" y="75mm"
                    font-family="Arial" font-size="12">
                    Page 1 in document(=pagegroup) 1
                </text>
            </page>
            <page>
                <text x="50mm" y="100mm"
                    font-family="Arial" font-size="12">
                    Page 2 in document(=pagegroup) 1
                </text>
            </page>
        </pageGroup>
        <pageGroup>
            <page>
                <text x="50mm" y="75mm"
                    font-family="Arial" font-size="15">
                    Page 1 in document(=pagegroup) 2
                </text>
            </page>
            <page>
                <text x="50mm" y="100mm"
                    font-family="Arial" font-size="15">
                    Page 2 in document(=pagegroup) 2
                </text>
            </page>
        </pageGroup>
    </pageSet>
</svg>
-- snip --

----

Bye,
Roland

P.S.: This issue reminds me of the old discussion that only print "jobs"
can have "titles" (e.g. for the job banner page), the
"documents"(=pagegroups) cannot have their own "titles"... which leads
to the question: Is there a way in SVGPrint to provide a "job title" for
the banner page ?

-- 
  __ .  . __
 (o.\ \/ /.o) Roland.Mainz@informatik.med.uni-giessen.de
  \__\/\/__/  MPEG specialist, C&&JAVA&&Sun&&Unix programmer
  /O /==\ O\  TEL +49 2426 901568 FAX +49 2426 901569
 (;O/ \/ \O;)
Received on Friday, 2 January 2004 03:19:43 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:17:06 GMT