• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
PDF-printing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

PDF-printing


  • Subject: PDF-printing
  • From: Frank Stock <email@hidden>
  • Date: Wed, 15 Jul 2009 15:38:55 +0200

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@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: PDF-printing
      • From: Andrew Lindesay <email@hidden>
  • Prev by Date: Re: Little help with a qualifier
  • Next by Date: Re: JavaClient update conflicts
  • Previous by thread: Re: JavaClient update conflicts
  • Next by thread: Re: PDF-printing
  • Index(es):
    • Date
    • Thread