[this mail was previosly sent to the user list. Sending it here
 instead/as well becuse of more on-topic here]


I'm trying to print ~230 A5 pages. Printing this with the
'brochure' setting wouldn't work (the fold would be HUGE!).
Instead, I'd like to print every _sheet_ as a separate
fold:
        Sheet 1, side 1:        4; 1
        Sheet 1, side 2:        2; 3
        Sheet 2, side 1:        8; 5
        Sheet 3, side 2:        6; 7

This would give me the following 'layout':

      _______1
     /       2
     \_______3
             4
      _______5
     /       6
     \_______7
             8

This, compared with the 'layout' of the 'brochure' print:

      _______1
     /       2
     |  _____3
     | /     4
     | \_____5
     |       6
     \_______7
             8

The fold (here between page 4 and 5) is perfectly ok if
there's only a couple of pages/sheets, but with 230.. No!
I've been trying to write a macro that does this for me,
but 'it' don't seem to honnor the value.

----- s n i p -----
DIM mPrintopts(5) AS New com.sun.star.beans.PropertyValue
DIM oDocument AS Object, oPrinter AS Object
[...]
oDocument    = ThisComponent
oPrinter     = oDocument.getPrinter()
[...]
mPrintopts(0).Name = "Pages"
mPrintopts(0).Value = "4; 1; 2; 3; 8; 5; 6; 7"
[...]
oDocument.Print(mPrintopts())
----- s n i p -----

It WILL print out ONLY those pages specified, but in the
order lowest to highest (sequentially)...
Any idea how to set the _ORDER_ of pages to print?

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to