Print multiple pages with dynamic data from same movieclip

Hi @ all,
like much of us i have a problem with printjob.
I have a printjob routine, that starts a new job, then
handles the following in a loop for printing multiple pages:
1. update content for every page in a sprite. every loop it's
the same sprite. the sprite is visible on stage
2. addPage to Printjob
after that sends the printjob to the printer
Now the Problem:
On Windows it runs perfectly. On Mac only the last page was
printed. the other pages before are empty (white).
Has anyone a idea?
Thanks for answeres.
Her's my code. As you can see i try to print a table on
multiple pages. In every loop i only show the rows for the actually
printing page:

the printview function only updates the content in the sprite
that will be printet on every page.
it generates the rows of a table that will be printed on the
actual page and return if all rows are printed (true or false)
this is a very slim function. there is no time overflow or
sth. like this.

Similar Messages

  • Trouble printing multiple pages with HP ENVY 5531

    I am printing wirelessly from a Windows 8 machine.  If I only print one page it works fine every time.  If I try to print multiple pages then on the 2nd or 3rd page it always cuts off the bottom portion of the page.
    There was another post that had a similar problem but the problem went away when they connected up the USB cable from the computer to the printer.  I need to print over wireless so that isn't a good solution for me.

    Hi,
    Try following the steps below and check if that may help:
    - Open the HP software by clicking the HP ENVY 5530 icon within the Desktop or the Start Menu, then click the Printer Home Page (EWS) link.
    - Click the Network tab.
    - Depending on your printer model click on Networking and then on Network Address (IP) or click on IPv4 within the active network connection type.
    - Click on Manual IP , and then click Suggest a Manual IP Address . A manual IP address, Subnet Mask, and Default Gateway displays.
    *Be sure to take a note of the IP address and Confirm the changes, then close the EWS page.
    - Click the HP ENVY 5530 icon within the Desktop or the Start Menu and click the Utilities tab, then click on Update IP Address.
    - Type the manually configured IP address, click on Save and confirm.
    - Open the control panel and go to Devices and Printers.
    - Right click the HP ENVY 5530 icon and select Printer Properties.
    - Open the Ports tab.
    - Click the Add Port button, select Standard TCP/IP and click on New Port.
    - Follow the steps by typing the manually configured IP address and confirm the changes.
    Now try printing and check if the issue been resolved.
    Regards,
    Shlomi
    Say thanks by clicking the Kudos thumb up in the post.
    If my post resolve your problem please mark it as an Accepted Solution

  • How to suppress printing of pages with no data

    Dear all,
    My report consists of 3 distinct sub reports. The first two sub reports should be printed as portrait on A-4 sheet while the third one should be printed as landscape A-4 . I have put the first two sub reports layout in the main section with orientation as portrait while the third one is placed in trailer section with orientation as landscape. The printing of subreports 2 and 3 is conditional. There may be case when first two sub reports get printed while we do not have third report as there is no data in the database for the same. In this case , I am still getting a blank page corresponding to the third sub report in the final report. How do I suppress this?
    Regards,
    Ranjit
    P.S. I am using Reports 6i

    maybe, you don't understand me.
    I have below jtable:
    ============================
    I column1 name l column2 name I
    ============================
    l data l data l
    ============================
    l data l data l
    ============================
    XXX
    ============================
    I wrote:
    table.setBackground(Color.black) then only data area has black colour, but XXX area hasn't black colour.
    How to XXX area also has black colour?
    help me, thanks very much.

  • How do I make a hyperlink with dynamic data from a php data base table?

    Level - Dreamweaver infrequent user
    I have a standard master-detail couple of pages using MySQL and PHP. This function is working correctly. One of the data items on the Details page contains the name of a PDF document (including the .pdf suffix). The PDFs are stored in the PDFs library under the Site Root. I am wanting the ability of the page user to look at the associated PDF. Keeping it as simple as possible I just set up a text field 'View Report' followed by the Dynamic Text for the document name. I tried defining the Link Properties with the PDFs library name (plus the root level) followed by the code I thought it needed to identify the selected PDF document ( <? php echo $row_rslivesDetail['ReportLink']; ?> ). The first part is correct because when the code failed I changed it to a fixed PDF document and that worked. I've tried various combinations but not been successful. Can someone please suggest what I'm doing wrong with the code.
    Regards
    Cliff

    Do the PDFs actually reside in your MySql database or are they just in a folder on your server?
    To parse files from a folder, you could use something like this:
    <h2>PDF Files</h2>
    <?php
    class SortingIterator implements IteratorAggregate
    private $iterator = null;
    public function __construct(Traversable $iterator, $callback)
    if (!is_callable($callback)) {
    throw new InvalidArgumentException('Given callback is not callable!');
    $array = iterator_to_array($iterator);
    usort($array, $callback);
    $this->iterator = new ArrayIterator($array);
    public function getIterator()
    return $this->iterator;
    ?>
    <!--results-->
    <h3>2014</h3>
    <?php
    function mysort($a, $b)
    return $a->getPathname() > $b->getPathname();
    $item = new SortingIterator(new RecursiveIteratorIterator(new RecursiveDirectoryIterator('pdfs/2014/')), 'mysort');
    foreach ($item as $file) {
    echo '<li><a href="' . $file . '">' . $file->getFilename() . '</a> - '. round( $file->getSize() / 1052) . '  KB </li>';
    ?>
    </ul>
    In my example above, pdfs is my main folder and 2014 is my sub-folder. 
    Results echo inside a list with each file name hyperlinked.  See screenshot.
    Nancy O.

  • Printing Smartform with Table data from PrintProgram

    Hi,
      Can any one explain the steps involved in printing the Smartform with the data from the Print Program table. How to fit table in the Smartform i.e, while designing the Smartforms layout for the table.
    Thanks & Regards

    Hi,
       As  data is coming from the print program in the table. Do the following procedure
    1. In the form interface ---> Declare the internal table as same structure as in the print program. for ex: you r passing MARA table data then declare it as itab type table of mara.
    2. In the window you want to create the table, right click > create> table.
    3. Go to data tab give the internal table name and work area .
    4. Now go to General tab-->Details.
    5. Declare the line types.
    6. Right click on header/main area/footer -->create table line.
    7. Now give the line type which you want to use.
    8. In the displayed columns>right click> create text node.
    9. In the text node &mara-matnr&.
    Procedure to create line type:
    1. Double click on table
    2. Go to table tab --> details
    3. Give the table width (width you want to display on the screen should be less than or equal to the window width).
    4. Line type --> Divide this into no of column you want to have in header/item.
    Note: total length of all columns should be equal to the table width.
    5.save.
    Br,
    Laxmi

  • FTP Activity - mget multiple files with dynamic names

    Hello All
    Hope all is well.
    I was wondering if there was a way to configure FTP activity to transfer multiple files with dynamic names from source location at daily intervals.
    For example, my source files are affixed with date values (source_filename_<mmddyyyy>_<hh>.txt):
    source_filename_12252009_00.txt
    source_filename_12252009_06.txt
    source_filename_12252009_12.txt
    source_filename_12252009_18.txt
    What I would like my process flow to do would be to download just these 4 files once daily based on a dynamic ftp script as follows:
    open ${Remote.Host}
    ${Remote.User}
    ${Remote.Password}
    cd ${Remote.RootPath}
    prompt off
    mget ????????
    quit
    In DOS batch script you would have the mget command with a wildcard as:
    mget source_filename_%DATE:~0,2%%DATE:~2,2%%DATE:~4,4%*.txt
    How does one go about implementing this in OWB? Does it require a user defined substitution varilable of some sort?
    FYI, I am using version 10gR2.
    Cheers.

    Hi ,
    If you are able to achieve your objective from a DOS batch script then you can call that script for an User Defined Activity in OWB process flow .
    Hope this helps.
    Thanks,
    Sutirtha

  • Printing multiple pages at onece

    Hi,
    I need to print out a page for sevleral rows in a table without the user needing to click file print each time. Ideally i would have a button and when pressed it prints 20 + pages with the data having been changed on each one.
    The user should select the printer once at the start of the print and the program should do the rest.
    Tom

    <p>We're waiting for ApEx 3.0 and built-in PDF handling at my shop, but others have had varying degrees of luck using PL/PDF, FOP, and UTL_PDF.
    <p>See ApEx and PDF and PL/PDF EXAMPLE for some pointers.
    <p>There's been a lot of discussion about PDF, so searching for PDF on the forum will give you plenty of info.
    <p>Sorry that I don't have specific examples.

  • Print multiple handouts with notes from powerpoint 2011

    Does anyone know how to print multiple handouts with notes (not lines for notes, notes I have taken in addition to the slides) from powerpoint 2011?  Thanks!

    I tried some things and came to conclusion, that the more pages I print the more bugs I got. Bit by bit I printed seperate pages again and replaced the wrong ones by them. But couldn't be the solution, could it?
    Thanks for you help!

  • I have a large number of photos imported into iPhoto with the dates wrong.  How can I adjust multiple photos (with varying dates) to the same, correct, date?

    I have a large number of photos imported into iPhoto with the dates wrong.  How can I adjust multiple photos (with varying dates) to the same, correct, date?

    If I understand you correctly, when you enter a date in the Adjust Date and Time window, the picture does not update with the date you enter.  If that is the case then something is wrong with iPhoto or your perhaps your library.
    How large a date change are you putting in?  iPhoto currently has an issue with date changes beyond about 60 years at a time.  If the difference between the current date on the image and the date you are entering is beyond that range that may explain why this is not working.
    If that is not the case:
    Remove the following to the trash and restart the computer and try again:
    Home > Library > Caches > com.apple.iphoto
    Home > Library > Preferences > com.apple.iPhoto (There may be more than one. Remove them all.)
    ---NOTE: to get to the "home > library" hold down option on the keyboard and click on "Go" > "Library" while in the Finder.
    Let me know the results.

  • Print multiple pages on a single page in word or from a PDF

    I need to print multiple pages on a single page from a PDF (ie: pages 1 and 2 onto a single page, pages 3 and 4 on a single page etc.)
    Does anyone know how to do this? Thanks

    (near the middle in a pull down menu - if you have the small print window click on the triangle next to the printer name to expand the window
    In preview the menu shows "preview" until you open it to see more - and
    if you have the small print window click on the triangle next to the printer name to expand the window
    LN

  • How to update a table (CUSTOMER) on a Report Server with the data from the same table (CUSTOMER) from another server Transaction server?

    I had an interview question that is:
    How to update a table (Customer) on a server ex: Report Server with the data from the same table (Customer) From another server ex: Transaction server?
    Set up steps so inset, update or delete operation takes place across the servers.
    It would be great if someone please enlighten me in details about this process in MS SQL Server 2008 R2.
    Also please describe would it be different for SQL Server 2012?
    If so, then what are the steps?

    I had an interview question that is:
    How to update a table (Customer) on a server ex: Report Server with the data from the same table (Customer) from another server ex: Transaction server?
    Set up steps so that inset, update or delete operation gets done correctly across servers.
    I was not sure about the answer, it would be great if someone please put some light on this and explain in details about this process in MS SQL Server 2008 R2.
    Also it would be very helpful if you please describe would it be different for SQL Server 2012? If so, then what are the steps?

  • When I print I get multiple pages with a little print on all pages of what I want printed

    when I print I get multiple pages with what I am printing with a few lines on each page till what I have printed is complete.
    This question was solved.
    View Solution.

    mamorse,
    Thanks for the additional info. Lets try downloading and running the Print and Scan doctor located here. It can fix a lot on its own but if not it will give us a better idea of what is going on. The weak signal is not likely the culprit (as it has been working for a good while) but we can try altering that if other steps fail.
    You can say thanks by clicking the Kudos Star in my post. If my post resolves your problem, please mark it as Accepted Solution so others can benefit too.

  • How can i print a AdvancedDataGrid in multiple pages with ColumnHeaders?

    Hi all,
    I need to print a AdavancedDataGrid in multiple pages with columnheaders in all pages.
    Rite now, i can able to print column headers in first page only.
    is there any chance to split the ADG into multiple pages with columnheaders??
    Thanks in Advance
    Shravan.

    Shardul,
    Thanks for your help.
    Your logic is working fine when i have a single datagrid.
    What i'm doing here is, i took a VBox(playout) and printing 2 ADG's in that,so the column headers of 2nd ADG are not printing when it continues to next page.
    Here is the sample code:
    custComp1
    custComp2 are ADG's
    <mx:VBox id="playout" width="100%" visible="false" includeInLayout="false"></mx:VBox>
    private function preparePrint():void{
    var x:custComp1 = new custComp1();
    var y:custComp2 = new custComp2();
    x.dataProvider = arrayColl1;
    playout.addChild(x);
    if(arrayColl2 >=1){
    playout.addChild(y);
    y.dataprovider = arryColl2;
    while(y.adg.validNextPage){
    playout.addChild(y);
    y.adg.nextPage();
    private function doPrint(event:Event):void{
    var printJob:FlexPrintJob = new FlexPrintJob();
    if(printJob.start()) {
    playout.includeInLayout = true;
    playout.visible = true;
    printJob.addObject(playout);
    printJob.send();
    playout.visible = false;
    playout.includeInLayout = false;
    is there any way to get column headers when we use printing multiple ADG's in a VBox?

  • Printing Multiple pages in Smartform on Local printer

    Hi guys,
    I have a smartform with a command to print a page with the general conditions.
    When I print this on a defined printer in SPAD everything goes fine (got 2 pages) but when I print this same form thru the Local printer I only get 1 page. It seems the second page is printed over the first.
    Tried it with more pages, 1 with data then general conditions then data again, and it also prints it all on 1 page thru the Local printer. With the third page on top of the second on top of the first.
    Does anybody know how to solve this issue.
    Thanks.

    Hi,
    I checked the printers and they are using the normal SAPWIN type. I tried it with access method F and G but both give the same result. The page format used is the standard DINA4.
    On the print preview it looks fine, when I print it on a printer from my windows session using the local printer it all prints on the first page (so it only shows the last page).
    I tried to add the check SY-TABIX > 1 and it is the same issue.
    The problem seems not to be with the smartform because if I print a layout which do not have a command to add an extra page but it contains enough data to print on multiple pages and we get the same result. Second page is printed over first page.
    Thx.

  • Business Inkjet 1200 will not print multiple page jobs

    Product Name: HP Business Inkjet 1200
    Product Model Number: C8154A
    Product Serial Number: TH49M1403W
    Service ID: 15148
    Firmware version: 20041001 MMR2016W
    Regulatory Model Number: SNPRC – 0401 – 01
    Date: Sept 22 2004
    HP Business Inkjet 1200, XP SP2, connected via Draytek 2710n router USB port will not print multiple page jobs.  Will only print 1 page pdf, <3 page word docs.
    Produces error - 'this document failed to print'
    Works fine printing multiple page jobs from other PCs on the network.  Other PCs are configured same.
    Configured to use TCP/IP port 192.168.1.1 (router/gateway IP), LPR, Queue "p1"
    HP Printer Diagnostic Utility shows no problems.
    Tried:
    Remove printer and drivers and reinstall.  Cleaned temp spools folder.  Checked amount of disk space, page file, ram. Reboot variously router, printer, PC. - No luck.
    Any response much appreciated, thanks in advance.

    I can't print my complete e- mail, only the first page. i have several pages of mail to print with all of the headers but am not able to do it on hotmail. it seems like i was able to do it before. it is import that all of these print because of current issues i am dealing with .
    Thanks, Ron

Maybe you are looking for

  • Po to inbound delivery

    Dear friends I have a scenario where i need to bring the master data text to inbound delivery text.what are the settings required.Is it possible? Regards Aaryabalaji

  • Multiple iPods on a charger?

    Hi everyone. I have multiple iPods (iPod, nano and shuffle), two of which did not come with a USB power adapter (we all know they should). My question is, can I, through the use of a USB double/etc. adapter charge multiple iPods at once? Has anyone d

  • Including a "cheat sheet" in my iBook

    Hi, Just looking for some ideas on how I might achieve this. I would like to include a "cheat sheet" document in my iBook. I'm thinking a one-sheet document that would contain a summary of certain points, and that could be printed out by the reader f

  • Urgent: Linked object not available

    We imported one role from one EP7 (DEV) into another EP7 (QAS). At target QAS PCD, we see the role has a path: pcd:portal_content/com.sap.portal.migrated/SAPComponentSystems/roles/DEVCLIENT10/ROLE1. 1) We changed above path to: pcd:portal_content/com

  • What are SERIALLY_REUSABLE and RESTRICT_REFERENCES pragmas and when used?

    Hi everyone, I have recently joined in Discussion forums and My question is about SERIALLY_REUSABLE and RESTRICT_REFERENCES pragmas. what are these pragmas and when can we use them? please give me practical example as I have understood them in Oracle