revPrintText/pageHeights broken in v2.8?

Richard Gaskin ambassador at fourthworld.com
Wed Apr 4 19:29:24 EDT 2007


Bill Marriott wrote:

> Richard,
> 
> I just tried your example stack in Report #4601 and had exactly the same 
> (apparently correct) result printing both off-screen and hidden. I was able 
> to test with two drivers: Adobe PDF and HP C3180. I'm using 2.8.0 build 370 
> on Windows.

Seems like we're narrowing it down:  I tested on OS X 10.4.8.

-- 
  Richard Gaskin
  Fourth World Media Corporation
  ___________________________________________________________
  Ambassador at FourthWorld.com       http://www.FourthWorld.com


> "Richard Gaskin" <ambassador at fourthworld.com> wrote 
> in message news:4613BF41.2050209 at fourthworld.com...
>> Yesterday I'd written:
>>
>>> It seems that there may be a problem with the pageHeights property in 
>>> v2.8.  I'm still pinning down the source of the problem, but have any of 
>>> you found that revPrintText is printing with some lines missing between 
>>> pages?
>>>
>>> If so, can you verify that this worked correctly in earlier versions?
>>>
>>> Do any of your own print routines which rely on the pageHeights property 
>>> work well in v2.8?
>>
>> I've since found the source of the problem:  If the stack being printed is 
>> hidden, the rendering of the printed page will yield unpredictable 
>> results.  In some cases no text will appear, in other cases (such as my 
>> tests using revPrintText via Rev's File->Print Field menu item) the 
>> resulting printout will have lines missing between pages.
>>
>> None of this was reproducible in v2.7.4.
>>
>> I've logged a bug report at:
>> <http://quality.runrev.com/qacenter/show_bug.cgi?id=4601>
>>
>> The workaround is to move the window offscreen rather than hiding it. If 
>> moved offscreen but still visible all printing tests I've done get good 
>> results.
>>
>> It might be helpful to have input from others on this issue, since it's 
>> still unclear to me whether the problem is in the buffering of the window 
>> or something to do with the pageHeights property.  If you've found any 
>> anomalies with printing hidden windows in Rev in v2.8, or have had missing 
>> lines in printouts using revPrintText, please consider adding your recipes 
>> to that BZ report.





More information about the use-livecode mailing list