missing text in PDF
John Dowbiggin
Greetings
Im working in UniPaas 1.9 and have an invoice program that has been working for a number of years without problem. Part of the program prints out terms of supply and Bank details, and when print to a physical printer all is well. However, if I chose an option which means that the output goes to a PDF, then out of the 14 lines of output only 3 or 4 print and the rest are blanks lines. To be specific, then is a large block of text and a sub-routine peels of about 80 characters at a time and then prints them. On the PDF I can see that the right number of lines has been printed, its just that most of them are blank.
Does anybody have any ideas why the PDF output is different to the physical printer output? Regards
John |
|
John Dowbiggin
Hi I forgot to say although perhaps implied, that the only change for this part of the program is that whereas the old program always outputs to a printer, this has an option to do that or to create a PDF which means the IO file has a logical expression in the PDF box.
Here is an example of the two outputs: Copied from PDF created by program Copied from printer output from program
I’m banging my head on this one
John
From: main@magicu-l.groups.io <main@magicu-l.groups.io> On Behalf Of John Dowbiggin
Sent: Tuesday, February 21, 2023 7:06 PM To: main@magicu-l.groups.io Subject: [magicu-l] missing text in PDF
Greetings
Im working in UniPaas 1.9 and have an invoice program that has been working for a number of years without problem. Part of the program prints out terms of supply and Bank details, and when print to a physical printer all is well. However, if I chose an option which means that the output goes to a PDF, then out of the 14 lines of output only 3 or 4 print and the rest are blanks lines. To be specific, then is a large block of text and a sub-routine peels of about 80 characters at a time and then prints them. On the PDF I can see that the right number of lines has been printed, its just that most of them are blank.
Does anybody have any ideas why the PDF output is different to the physical printer output? Regards
John |
|
Adrian Wick
Hi John,
so this is all on 1 output form with 1 variable/edit field populated with data? Or is it 1 output form with 14 variables/edit fields? What setting do you have on "Expand form" and on "multiline" for the field/fields? Regards A |
|
John Dowbiggin
Hi Adrian
toggle quoted message
Show quoted text
Sorry for delay in responding - A life mostly retired means I don’t get to my desk that often. It is one field positioned between vertical lines which make up the invoice form. I have a subroutine which splits off approx 70 characters from a 1200 character data field to nearest space and returns to parent which loops until and end of form variable set by sub. The form is single page and field is not multi-edit although I have tried different combination of multi page and multi edit to no avail. I have now taken to outputting the whole data field into a field on a form set as multi page at the bottom of the invoice form and all the text is printing and customer is happy with the change so stopping banging my head. Thanks for intaerrst. John On 24 Feb 2023, at 16:57, Adrian Wick <adrian.wick2015@...> wrote:
|
|
John Dowbiggin
Hi Adrian
toggle quoted message
Show quoted text
1 output form with 1 field. Expand form set to no, multi line set to no A task that repeats printing the same output form with different data in the field on each occuranxe Regards John On 7 Mar 2023, at 16:12, John Dowbiggin via groups.io <jdowbiggin@...> wrote:
|
|