How did you get the reading of the orientation to work?
print orientation is a property of PrintJob, and not FlexPrintJob.
I have a page designed in a vbox component, which contains my form to
be printed.
PrintJob uses a sprite. The LiveDocs show to do something like:
var pj:PrintJob = new PrintJob
if (pj.start() != true) {
return;
}
if (pj.orientation != PrintJobOrientation.LANDSCAPE)
Alert.show("Choose Landscape", "Error", Alert.OK);
return;
}
I can't do this using FlexPrintJob
Thanks
Joe
--- In [email protected], Tom Chiverton <[EMAIL PROTECTED]>
wrote:
>
> On Wednesday 06 Jun 2007, archtechcomputers wrote:
> > I even tried to design the page rotated, but when you rotate a
label,
> > you can't see it anymore :-(
>
> You need to change to an embeded font to make that bit work, but
yes, when I
> try to print a rotated PrintDataGrid it hasn't been scaled
correctly (it no
> longer fills the page width).
>
> We've done the same thing for now - tell the user landscape is best.
> Maybe Flex 3 will add this ability.
>
>
> --
> Tom Chiverton
> Helping to apprehensively reinvent revolutionary clusters
> on: http://thefalken.livejournal.com
>
> ****************************************************
>
> This email is sent for and on behalf of Halliwells LLP.
>
> Halliwells LLP is a limited liability partnership registered in
England and Wales under registered number OC307980 whose registered
office address is at St James's Court Brown Street Manchester M2
2JF. A list of members is available for inspection at the registered
office. Any reference to a partner in relation to Halliwells LLP
means a member of Halliwells LLP. Regulated by the Law Society.
>
> CONFIDENTIALITY
>
> This email is intended only for the use of the addressee named
above and may be confidential or legally privileged. If you are not
the addressee you must not read it and must not use any information
contained in nor copy it nor inform any person other than Halliwells
LLP or the addressee of its existence or contents. If you have
received this email in error please delete it and notify Halliwells
LLP IT Department on 0870 365 8008.
>
> For more information about Halliwells LLP visit www.halliwells.com.
>