Select to view content in your preferred language

Is there anyway to define landscape to the printer?

1126
2
06-16-2010 01:25 PM
SreeS
by
Emerging Contributor
:)I am working with Sample Flex Viewer print widget and I need to print the map in
landscape when the user clicks print.

The existing print job adds that component as an print object and sends to the printer.

If under the system printer dialog box, I don't choose landscape, it won't print out
properly.

I've tried rotating the object 90 degrees during the print process, but the text doesn't get displayed. Also the page is not completely utilized. No matter what I do there is some gap left in the final print out.

You can see the attachment print output converted to PDF.

I even tried flash.printing Sprite, but was not that successful.

Any suggestions?
Tags (2)
0 Kudos
2 Replies
RobertScheitlin__GISP
MVP Emeritus
ST S,

   Attached is my PrintWidget where I do exactly what you are trying to do. I have a couple of other thing going on in my code but I think you can look at it and learn what you need to get your working. One of the big things about my print widget is it maintains the maps aspect ration or crop the map in any way. So if you are using a wide screen laptop then your map image will be wide and narrow. I also embed my logo in the widget itself and grab it from there.
0 Kudos
SreeS
by
Emerging Contributor
Thank you once again Robert!!

This is what I wanted.
0 Kudos