IMPORTANT ANNOUNCEMENT

These forums were permanently set to read-only mode on July 20, 2022. From that day onwards, no new posting or comment is allowed on the site, but the historical content remains intact and searchable.

A new location for posting questions about PlanetPress Suite is now available:

OL Learn - PlanetPress Classic (opens in new tab)

Topic Options
#21165 - 08/04/09 04:16 PM Inconsistent functionality?
MarkG Offline
Junior Member

Registered: 08/04/09
Posts: 2
Loc: Rhode Island
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

Top
#21166 - 08/05/09 04:56 AM Re: Inconsistent functionality?
stuartg Offline
OL Expert

Registered: 03/06/03
Posts: 713
Loc: Swindon, England
Regarding the first of your questions, try removing the brackets after ispageempty -

until(ispageempty)

As a function it ought to have the brackets, but its happier without them......

Top
#21167 - 08/05/09 11:11 AM Re: Inconsistent functionality?
MarkG Offline
Junior Member

Registered: 08/04/09
Posts: 2
Loc: Rhode Island
Thanks stuartg, that made ispageemtpy a valid statement.

I also have discovered that the preview and print function work conistent with each other, as well as correctly, on another printer ( make and model). This would seem to indicate that there is something wrong with the printer or printer driver with which I am testing.

Luckily this other printer is the one for which I really need to get the current form working correctly.

Top


Moderator:  cosimo, OL Newsgroup Support