Print error

Hi,

I am trying to print on screen content using the below code:

on (release) {
 printAsBitmap(this, "bmovie");
}

, but when i print i get 2, exactly similar pages instead of just 1. The stage size of the flashmovie is 1024 * 768
size of paper is A4
layout is protrait.

can you please suggest how i can remove this bug so that only a single page gets printed?