I did it as you suggested and create a PDF on the server side instead of
using FlexPrintJob now.

To achieve this I've introduced a new endpoint to my server side API that
expects an image and some metadata. The services scale the image, create a
PDF and returns an url to the created PDF.
Maybe it makes more sense to scale the image at client side...

To be able to pass the image within some meta data via JSON I've encoded the
image as base64.
(This means that the payload increases at approximately 30%, but this no
issue here).

I've created a gist [1], maybe it is helpful for others.

Thanks for the help!

Olaf

[1] https://gist.github.com/ok-at-github/17eaa04e7025f2b34ca23774119e4e39







--
View this message in context: 
http://apache-flex-users.2333346.n4.nabble.com/FlexPrintJobScaleType-doesn-t-work-for-me-tp15482p15750.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

Reply via email to