Page 1 of 1

Printing Problem Under 5.5.1

Posted: Mon Jul 09, 2012 8:49 pm
by johnmiller1950
Greetings All,

I recently upgraded a program from version 4.6.4 to 5.5.1. Under windows I have encountered a printing problem. I have a field with tabs and vertical lines. When I print the card, the border of the field is printed OK, but there is also a box around every single line in the field. It looks like live code is printing a table inside the border of the field containing my text. This does NOT happen under the Mac version.

Also, windows spacing is off again. It's almost like "formatforprinting" isn't working any more.

Can anyone help?

Thanks,
John Miller

Re: Printing Problem Under 5.5.1

Posted: Mon Jul 09, 2012 10:06 pm
by BvG
printing depends a lot on how stuff is actually done in code.. it's not easy to tell what your problem is without seeing the code or even the way the wrong printouts look. Does the same problem appear when you print into a pdf instead of to a printer? Do you have zero width columns? There's a new feature that draws tables into a field when you use a zero width column as first column.

Re: Printing Problem Under 5.5.1

Posted: Mon Jul 09, 2012 10:50 pm
by johnmiller1950
Yes, the same thing happens when I print to a pdf file.

It does appear that a table is being drawn inside my field, but the first tab is set to 50, not 0. Also, this only happens with windows, not macs.

Is there any documentation about what printing commands were changed in versions 5, 5.5 and 5.5.1? Everything works great in 4.6.4.

John

Re: Printing Problem Under 5.5.1

Posted: Tue Jul 10, 2012 3:51 pm
by johnmiller1950
I stand corrected. The lines do NOT appear when printing to a pdf file.

Re: Printing Problem Under 5.5.1

Posted: Tue Jul 10, 2012 6:03 pm
by johnmiller1950
OK! I'm making some progress. The vgrid of my field is set to true. If I set this parameter to false, the problem disappears. This must be some kind of bug. Setting the grid of a field under version 4.6.4 did NOT cause a table to be printed inside the field.

Anybody have any ideas on how to fix this?

Thanks - John

Re: Printing Problem Under 5.5.1

Posted: Thu Jul 12, 2012 2:30 pm
by BvG
So it is (as I suspected) the new in-field table view that bit you.

The new feature works like this: if you set the vGrid of the field, and have tabstops set for only part of the text of the field (not the whole field as was the only way previously) it will create a grid within your field, similar to this:
Image

Now of course that would also show up in your field _before_ you print it. So most likely the introduction of this new feature has caused problems with your existing code. I suggest to post a shortened example code, and/or pictures of the faulty printouts, otherwise no one will be able to actually help you :(

edit: you can also set the vGrid and hGrid of only one or more lines of a field, producing a proper table, not only vertical lines. That's why they made it of course. My example is more about showing how the new feature can produce unexpected results.