Page 1 of 1

Year Print closes database (Both Paper & PDF)

PostPosted: Sat Jun 14, 2008 2:37 am
by maidanss
Hi,

When in year view under calendar, the database closes when the print button is clicked in both cases of paper or PDF print. Is that how it is supposed to be and why? or do I have a glitch.

PostPosted: Sat Jun 14, 2008 3:01 am
by maidanss
I have looked at the print script which enters print preview in the same calendar window rather than open a new window, so after the print operation is complete and the print preview window is closed which happens to be the only window open at the time, the db closes.

PostPosted: Fri Jun 20, 2008 11:11 pm
by maidanss
Hi ALL,

Has anyone else seen this?

PostPosted: Sat Jun 21, 2008 8:13 am
by John Sindelar
Wow. Shows how often we print that year view. =)

To fix this, edit the script "Print" and scroll down about 2/3 through the script until you see these three steps:

Code: Select all
End If
#
Set Window Title [Current Window; New Title: "Print Preview"]


Right *Before* those three, add two new steps like this:

Code: Select all
Else
   New Window...
End If
#
Set Window Title [Current Window; New Title: "Print Preview"]


For "New Window..." duplicate one of the New Window lines from earlier in the script, such as the one in the "Print List..." section a few lines up.

That should get it taken care of.

PostPosted: Sat Jun 21, 2008 9:08 am
by maidanss
Perfect, it worked.