Hi All,
I want to include a PDF in an iFrame and let the user click to print
the iFrame. But when I print the pdf, the left margin is always to
large!
Is this the best way to include an PDF? The PDF is generated in a
WOResponse (WOActionResults):
response.setHeader("application/pdf",
"Content-Type");
response.setHeader("inline; filename=Certificate Chem-Lab",
"Content-Disposition");
response.setContent(new
NSData(baosPDF.toByteArray()));
IN html:
<wo:ERXIFrame id="frameID" action="$dePdf" name="PrintFrame" ></
wo:ERXIFrame>
public WOActionResults dePdf() {
return _dePDF;
}
Thanks,
Frank Stock
belgium
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [email protected]