Please bear with me if this seems a bit like venting...
I have searched through several of these forums and have not found any satisfactory answers.
The problem seems like it should be simple to solve, but.. it isn't.
We have an existing PP5 document working as designed, printing a print queue on a Windows NT 4.0 server. As might be expected we would like to retire this server, but until this form issue is resolved, I can't.
The situation:
We have an application that generates 1..n pages of data, and each of these data pages needs to print 4 different PP pages. Printing via our old print server this works as expected without any Talk or other programming.
When I copied the form to the new print server (Win2003) we had all kinds of issues. Seems most we resolved by utilizing the textprint printer driver from STG ( thanks to another post in these forums pointing us to this.)
Now that the data and form elements line up correctly and consistently, I cannot get the document to print as expected.
A single datapage is no problem, so I am currently testing on data that is a 4 page document.
If I preview print in PP, the document prints 16 print pages as expected ( 4 pages for each datapage). However when I print to a printer, I only get 5 print pages! the first 4 print pages reflect the first datapage, the 5th print page is the second page of the datapage data.
I find it odd that it works perfectly fine under the old server ( no triggers, no Watch ), but not the new one. The document started life as a PP3 document about 7 years ago and has been working fine all this time. It even survived upgrading to PP5, but doesn't like the new server environment.
Is this working as a fluke under the old print server or should it work as expected on the new one?
Looking around the forums, I figured the answer may be in using Talk, but that has been an exercise in frustration as well.
My approach was as follows:
Create a run page and then execpage, showpage, advancedatapage, until the datapage was an empty one, like this:
repeat
execpage('Original')
showpage()
execpage('TermsConditions')
showpage()
execpage('Shipping_Order')
showpage()
execpage('Memorandum')
showpage()
getnextdatapage()
until(ispageempty())
The main problem here is that even though I double click and letting the Talk editor enter the ispageempty() function, it keeps telling me it is an unknown function.
Besides the Hunh? factor on the ispageemtpy() function, is this even the right approach?
MarkG