Solved

VFP report writer and PDF files

Posted on 2011-02-27
4
678 Views
Last Modified: 2012-05-11
I have a report with a fixed amount of detail records per page. I control this by adjusting the height of the footer band, so the detail band has enough room for the records with about 1/16 of an inch extra. I put a horizontal line at the top of the footer, which results in a double underline at the bottom of the page. The footer band has no data in it.

If the I use a PDF printer driver, (Adobe Acrobat), the 1/16 of an inch is about a half inch high and looks sloppy.

Any way to fix this.
0
Comment
Question by:MichaelKatz
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 42

Accepted Solution

by:
pcelba earned 350 total points
ID: 34991473
" 1/16 of an inch is about a half inch high " ...

Reports are calculated based on a device context which is generated by printer driver always when you print in VFP. Each printer driver is somehow specific and the software which produces the report not always calculates everything accurately. I don't think 1/16 can be "rounded" to 1/2... but it does not help here.

All solutions will be just attempts for some hints because this really isn't exactly nemerable. You may try to move the footer line one point up or you may try to switch between REPORTBEHAVIOR 80 and 90 (each report engine has different calculations and rounding).

You could also prepare two different layouts one for printer and another one for PDF output (then you cannot allow PRINTER PROMPT in the report).
0
 
LVL 12

Expert Comment

by:jrbbldr
ID: 34998632
Again another wild guess....

You might also different PDF 'printers'.
There is a possibility that different PDF 'printers' work somewhat differently.

The one that I use most often is BullZip (find it by Googleing for it on the web)
Honestly however I have no idea if it will address your issue any differently.

Good Luck


0
 
LVL 12

Assisted Solution

by:jrbbldr
jrbbldr earned 150 total points
ID: 34998646
Sorry about the typo

You might also try different PDF 'printers'.

Good Luck
0
 

Author Comment

by:MichaelKatz
ID: 34998762
The output is identical with Adobe and Bullzip.

The problem is more critical with a smaller detail band. I cannot adjust the footer by more than the height of the detail band, or the fixed amount of detail records changes.

I can reduce the page area used for the detail band, which will make the PDF look better. If I do it too much, the detail area contains one record too few.

I'm trying other stuff, and will get back.

Michael
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Microsoft Visual FoxPro (short VFP) is a programming language with it’s own IDE and database, ranking somewhat between Access and VB.NET + SQL Server (Express). Product Description: http://msdn.microsoft.com/en-us/vfoxpro/default.aspx (http://msd…
Although a lot of people devote their energy toward marketing for specific industries, there are some basic principles that can be applied to any sector imaginable. We’ll look at four steps to take and examine how those steps were put into action fo…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

740 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question