Olaf Doschke
Programmer
A customer has a report problem. Preview looks ok, but the printed report has lines partly cut off, as if there is some opaque element hiding most of one line. The same result on different printers of our customer, so empty toner is out of question.
How it looks (as far as I am able to show via ASCII):
How it should look:
So you only see a small part of the firs Line, say the upper line of the big F and a dot of the big L.
The detail report control in question is having a table.field as it's expression, printing a multi line Memo field with a monospaced font. So it's a single report control (in the header band, if that matters, printed once on page 1) displaying one to several lines (via "stretch with overflow").
The Font is unusual - Arial monospaced for SAP - but it's not missing and printed OK in preview. I also already tried Courier New. I also removed any printer info from Expr besides PAPERSIZE and ORIENTATION.
I can't reproduce with my printer, so I wonder if anyone knows a report bug, that could cause this. My thought was, the memo field may contain control characters, but nothing unusual in some recorded saample data, only CHR(10) and CHR(13) besides the text, not even TABs.
The customer is pinned to the official VFP9 SP2 without the latest Hotfix, which is indeed report related, but address other bugs, AFAIK.
Comparing a scan of the print with a screenshot of the preview zoomed to the same size, the spacing is correct. It's as if there is an opaque rectangle hiding most of line1, but there is no such thing in the report, and no special handling and changing the FRX previous to printing.
Bye, Olaf.
How it looks (as far as I am able to show via ASCII):
Code:
_ .
Second Line
How it should look:
Code:
First Line
Second Line
The detail report control in question is having a table.field as it's expression, printing a multi line Memo field with a monospaced font. So it's a single report control (in the header band, if that matters, printed once on page 1) displaying one to several lines (via "stretch with overflow").
The Font is unusual - Arial monospaced for SAP - but it's not missing and printed OK in preview. I also already tried Courier New. I also removed any printer info from Expr besides PAPERSIZE and ORIENTATION.
I can't reproduce with my printer, so I wonder if anyone knows a report bug, that could cause this. My thought was, the memo field may contain control characters, but nothing unusual in some recorded saample data, only CHR(10) and CHR(13) besides the text, not even TABs.
The customer is pinned to the official VFP9 SP2 without the latest Hotfix, which is indeed report related, but address other bugs, AFAIK.
Comparing a scan of the print with a screenshot of the preview zoomed to the same size, the spacing is correct. It's as if there is an opaque rectangle hiding most of line1, but there is no such thing in the report, and no special handling and changing the FRX previous to printing.
Bye, Olaf.