Paul, using "print card" works. It's revPrintField & revPrintText that are not working.
Sarah On Fri, Jan 16, 2009 at 2:11 PM, Paul Looney <[email protected]> wrote: > Hi Sarah, > It may be that "print THIS card" is still looking at the original card, even > though it is not the top card. > Maybe this would work better "print TOP card" or > "set the default card to top card > print this card" > Best wishes, > Paul Looney > > On Jan 15, 2009, at 7:15 PM, Sarah Reichelt wrote: > >> Hi All, >> >> I have a script that splits a report into multiple pages and tries to >> print them one by one. I have a single field that displays the data, >> then I have tried various ways to get the pages to print. I want to >> queue all the pages and have them all print at once. >> >> My basic script is: >> >> repeat with x = 1 to tPageCount >> displayPage x >> print this card >> -- revPrintField the long name of fld "Report" >> -- revPrintText the htmltext of fld "Report", , ,the long >> name of fld "Report" >> end repeat >> >> As you can see, I have tried using revPrintField and revPrintText but >> had to settle on "print this card". >> revPrintField and revPrintText both worked the first time, but after >> that, they only printed the last page. >> "print this card" seems to work every time, but I have to resize the >> stack while printing, and it seems slower. >> >> The displayPage script works perfectly as I put in a "wait" for >> testing and I could see that each page was being displayed. >> >> The only clue I have is that the print progress dialog seems to be >> miscounting. It's sequence for a 3 page report is: >> Processing page: >> Processing page: 1 >> Processing page: 2 >> >> or if only the last page is going to print: >> Processing page: >> Processing page: 1 >> Processing page: 1 >> >> Neither of these are completely correct, but they are different. >> >> So does anyone have an explanation for why revPrintField and >> revPrintText would only print the last page? >> Or any suggestions or work-arounds or alternatives that do not use >> "print this card"? >> >> TIA, >> Sarah >> >> Rev 3.5.0-dp-1 & Rev 3.0.0, Mac OS X 10.5.6 >> _______________________________________________ >> use-revolution mailing list >> [email protected] >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > [email protected] > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > _______________________________________________ use-revolution mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
