Jump to content

Recommended Posts

Hi,

 

I am using a Flash component which displays multiple swfs as pages of a book. I have a button and action script which can print out the left page, and one for the right, but I need a button which prints ALL pages of the book. I tried adding them to the print list but only the pages currently on view are displaying on the printout, the rest appear blank. Does anyone know how I would force the other pages to load for the printout?

 

In case it helps, here is what I have tried so far:

print_all_btn.onPress = function() {
printPages();
};

function printPages() {
var page0 = myBook.getPageLink(0);
var page1 = myBook.getPageLink(1);
var page2 = myBook.getPageLink(2);
var page3 = myBook.getPageLink(3);
my_pj = new PrintJob();
my_pj.start();
my_pj.addPage(page0, {});
my_pj.addPage(page1, {});
my_pj.addPage(page2, {});
my_pj.addPage(page3, {});
my_pj.send();
delete my_pj;
}

 

 

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.