Page 1 of 1

Printing cards using runrev 4.0 web file

Posted: Wed Aug 26, 2009 12:18 pm
by bsouthuk
Hi

I have developed an application in run rev studio 3.5. I tested my application as a web based application using runrev 4.0 pre beta and it works as it would do if it was a standalone application which is very impressive.

The only part of my application that doesnt work when ran as a webfile is my print card button. The script I use to print my cards is:

Code: Select all

 on mouseUp 
    set the printRotated to true 
    open printing with dialog 
    if the result is "Cancel" then exit mouseUp 
    set the printScale to .4 
    set the printMargins to 36,36,36,36 --1/2 inch margins 
    set the printGutters to 18,18 --1/4 inch gutters 
    repeat with i = 1 to number of cards 
      print card i 
    end repeat 
    close printing -- sends job to printer 
  end mouseUp
Do I have to modify the printing script as I am now running my application as a web file?

Cheers

Daniel

Posted: Thu Aug 27, 2009 6:32 am
by Janschenkel
Does it block the revlet when you click on the button? In that case, it's probably the dialog box that is somewhere behind the browser window.
Dialog boxes are a bit of a problem in the current prerelease version.

Jan Schenkel.

Posted: Thu Aug 27, 2009 8:31 am
by bsouthuk
Hi

No it's definitely not that as all other dialogue boxes in my application work - its just the print button that doesn't.

I click on the button and nothing happens basically - even in test mode!

very strange

Posted: Thu Aug 27, 2009 12:15 pm
by Janschenkel
Confirmed in my own test - printing wasn't possible, even when I explicitly turned on Printing in the Standalone Application - Web settings.
As the revWeb plugin is only an alpha version at this point, this may be normal; I'd keep an eye on it for future releases, and file a bug report if it still fails in the beta faze.

Jan Schenkel.