Thank you Ted,

I'll check it out. Maybe not on this one because a lot of work has been done, but for future work.

Antoine

Le 31/08/12 19:04, Theodore Petrosky a écrit :
Antoine,

did you check out Jasper reports? the pdfs it creates are fantastic. Albeit, it 
think more work thanERPDFWrapper.

Ted

--- On Fri, 8/31/12, Bastian Triller <[email protected]> wrote:

From: Bastian Triller <[email protected]>
Subject: Re: Question about ERPDFWrapper
To: "Antoine Berry" <[email protected]>
Cc: [email protected]
Date: Friday, August 31, 2012, 10:58 AM
hello,

you can alter the margins in your CSS with something like:
@page {
         size: A4;
         margin: 37mm 1cm 35mm 25mm;
}
@PAGE:first {
         margin: 5cm 1cm 35mm 25mm;
}

Bastian

Am Freitag, den 31.08.2012, 12:22 +0200 schrieb Antoine
Berry:
Hello everybody!

I'm a new Webobjects/Wonder developer.
I'm currently working on a invoice application and I
have a little
problem with the ERPDFWrapper when I want to create my
Invoice as PDF.
My problem is that when I surround my html component
with an
ERPDFWrapper, the pdf which is generate has a default
margin that I want
to remove, cause then I have a problem with the format
of my template.
Is it possible to remove that margin, and then handle
it directly in my
template css file? or is that margin mandatory, in
which case does
anybody know the value of it?

Thanks a lot,

Antoine BERRY



   _______________________________________________


--
Antoine Berry

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to