Larry,

What size is the rectangle that is printed?
Can you post some example code or the generated PDF?
I've been using FPDF for quite a while and it has been great. I'd be glad to help you out with it.

Scott Campbell

On 19/08/2010 12:16 PM, Larry Kleinman wrote:
I'm using FPDF (in a Zend Server PHP application) and don't understand why
the dimensions that I put in for drawing lines and rectangles don't seem
to work. I used the default for the FPDF constructor, which means that
my dimensions are in millimeters, but when I say that - for example - a
rectangle is 100 mm wide, the rectangle that prints is not 100mm. When I
change the paper size from the default (A4) to "Letter", the width
changes, but still to a width other than 100mm. Am I missing something?
(I've tried this on a number of printers, so I do not think that it is
related to margins, unprintable areas on printers, etc.)


Larry Kleinman
Kleinman Associates, Inc.
212-949-6469
203-255-4100

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.