Insertpages bug in in 9.x - where would this be verified?

I've been asked by a client to modify an Acrobat 9.x script (currently 9.5.x) that uses the pddoc.insertpages to create new documents. The change requires that the source document be split apart.
The problem I am having is that no matter what I put in for the # of pages to add - I get the entire enitre document.
THe current code is
Newpddoc.insertpages(-1,SourceDoc,lStartPage, lPages,0)
The test doc is 850 pages long. even hard coding the pages paramters to insert just 1 page (below) results in the entire documetn in the new file.
Newpddoc.insertpages(-1,SourceDoc,0, 1,0)
I've gone through the forum topics on insertpages and can't find a solution; however, one comment in a prior thread addressing this specific problem hinted that this was a bug in 9.2 (the referenced Acrobat version that was solved in X.  Can anyone verify this? Does Adobe publish a list of outstanding bugs (havne't been able to find a reference to this other than SDK docs and forum)? Or is there something I'm not seeing in the parameters that need to fixed?

I did a test to use two images, and alpa during rendering. I don't know if it will help you or not.
import java.awt.AlphaComposite;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.Image;
import java.awt.Toolkit;
import java.awt.geom.AffineTransform;
import javax.swing.JFrame;
public class RenderFrame extends JFrame{
    Image background = Toolkit.getDefaultToolkit().createImage("I:\\background.png");  // An image that is 600 x 600
    Image flash =  Toolkit.getDefaultToolkit().createImage("I:\\flash.png"); // A white triangle with transparent background.
    double angle; // last used angle during rotate
    public RenderFrame() {
    public void paint(Graphics g) {
        g.drawImage(background, 0, 0, null); //Draw the background
        Graphics2D g2 = (Graphics2D)g;
        AffineTransform rotator = AffineTransform.getRotateInstance(angle);  //rotate triangle
        AffineTransform locator = AffineTransform.getTranslateInstance(200, 200); // move the rotated image to 200, 200
        rotator.preConcatenate(locator);
        angle += 0.1; // add to angle
        g2.setComposite(AlphaComposite.getInstance(AlphaComposite.SRC_OVER, 0.5f));  // set Graphics to draw my white rectangle as transparent.
        g2.drawImage(flash, rotator, null); // draw it
    public static void main(String[] args) throws Exception {
        JFrame frame = new RenderFrame();
        frame.setSize(600,600);
        frame.setVisible(true);
        while (true) {
            Thread.sleep(20);
            frame.repaint();
}/Kaj

Similar Messages

  • Where would I downlaod Jrockit 1.6.0_37 from on oracle site ??

    from where would I downlaod Jrockit 1.6.0_37 as I am hitting the bug mentioned in Error Occurred While creating OPSS Security Store in OIM 11.1.2.1 Install [ID 1555444.1]
    Error Occurred While creating OPSS Security Store in OIM 11.1.2.1 Install [ID 1555444.1]
    To Bottom
    Modified:May 29, 2013Type:HOWTOStatus:PUBLISHEDPriority:3
    Comments (0)
    In this Document
    Goal
    Solution
    References
    Applies to: 
    Identity Manager - Version 11.1.2.1.0 and later
    Information in this document applies to any platform.
    Goal
    Error Occurred While creating OPSS Security Store in OIM 11.1.2.1 Install.
    Info: Data source is: opss-DBDS
    Problem invoking WLST - Traceback (innermost last):
    File "/u01/Oracle/Middleware/Oracle_IDM1/common/tools/configureSecurityStore.py", line 896, in ?
    TypeError: cannot concatenate 'str' and 'NoneType' objects
    Solution
    In this case the issue is seen when using jrockit 1.6.0_45 and using some other version like Jrockit 1.6.0_37 for example works fine (Bug:16768064 has been logged for this issue)
    Sun/Oracle JDK shouldn't be affected.

    Chris,
    Once you get to the Oracle Database 10g Download page, look for this text:
    Oracle HTML DB v1.6 (47,913,091 bytes) - latest standalone version of HTML DB New (29-Dec-04)
    In it is a link to download HTML DB 1.6
    Sergio

  • Where would you check performance of webi? query is taking long time to run

    Hello All,
    In the bex query world running on portal you were able to go to sm50 and check what the query is doing and where it is taking a long time or atleast you were able to see the processes runing.
    Where would you check the running processes when you are running a webi query, we are trying to write a webi report which is on universe which is created on bex query. The report is very simple just two fields and an mandatory variable which is coming from bex query (have defined the variable in bex query). When we exeute the query it is taking a long time just spinning and I am not getting any data back, on the same query before even hitting the run query button, I am trying to put a object in query filters and set the filter as In list from Value(s) from list and it is taking forever to set that filter.
    Can we go to CMC or BW backend and check anywhere we are using sap authentication, I see the number of sessions in CMC but that is it.
    Thanks for help in advance.

    Thank you both for the replies.
    How would I get the MDX that is generated by the query, I remember there is a note for starting the MDX logging. Can you please let em know how would I get the MDX statement. Thanks.
    Gowtham - What is the optimal array fetch size that needs to set for the universes, can you explain bit more about array fetch size?
    All our universes are on BEx queries designed in SAP BW in that case does the array fetch size matter and array bind size matter? I had read this in oneof the universe designer manuals for OLAP universes The Array fetch size, Array bind size, and Login timeout parameters are not used for OLAP connections
    Thanks again for replies.

  • Can I create separate folders to save media on my Airport Time Capsule? Issue is I have a 256GB HDD Mac Pro Retina which is almost full. TC will only take backup of my HDD. So where would I save my photos and videos from my iPhone and iPad?

    Can I create separate folders to save media on my Airport Time Capsule? Issue is I have a 256GB HDD Mac Pro Retina which is almost full. TC will only take backup of my HDD. So where would I save my photos and videos from my iPhone and iPad?

    It is a hard one.. laptops with small drives are a pain.
    What you need is a home media server.
    Some people use a PC running itunes for cost.. but that is nothing like as good as using a Mac mini.. they make great little HTPC device.. you can plug in large hard disks and store all your files and media. And share it with the network.. Read up apple's instructions on home sharing.
    https://www.apple.com/au/support/homesharing/
    For cost you can buy a mini from 2011 or 2012.. I would not recommend earlier ones.. the advantage of 2012 is they have USB3 ports. But you will pay more for them.. new mini is not as useful.. they have soldered in memory and you cannot upgrade.. the old mini was the most easily modified mac in the whole range. Uses little power and can be bought for a $300US for a good one second hand.. maybe less.

  • HT1495 My husband and I share an i cloud account but each have our own separate ipads. We were told this would work, but now I can't find a book that I've downloaded on my ipad anymore. Where would I find it?

    My husband and I share an i cloud account but each have our own separate ipads. We were told this would work, but now I can't find a book that I've downloaded on my ipad anymore. Where would I find it?

    You and your husband can share a store account and still have seperate iCloud accounts for your contacts, bookmarks and stuff like that.  Click here for instructions to make an apple account without entering a credit card.  Make sure you use a different email address for each apple account. 
    Set up your iPhone/iPad whatever using the new account for iCloud.  Then go into settings/store and sign in with your purchasing account, you may need to sign out of the other account.  To the best of my knowledge, your household is allowed to share purchased legally, someone please correct me if I'm wrong.
    Once you each have your own devices set to your own accounts you can set them to backup to that account and it will keep all your contacts seperate.

  • I cannot find imported mail boxes. if i try to setup a new mailbox, it shows the existence of the mailboxes that i am looking for in the location drop down menu. where would they be located?

    i cannot find imported mailboxes. if i try to setup a new mailbox, it shows the existence of the mailboxes under location/on my mac. they do not show up in the mailbox list. where would they be located so that i can retrieve them?

    Did you quite Mail and relaunch?
    Your imported mail is stored in a new mailbox called “Import.” To reorganize imported messages, create new mailboxes and drag folders and messages from the Import mailbox to other mailboxes. When you’re done, you can delete the Import mailbox.
    If you don’t see your mailboxes in Mail, choose View > Show Mailbox List; empty mailboxes aren’t imported.

  • I have an iphone 4s and have installed the new ios download and can no longer find games and other apps that i have downloaded. Where would they be or have they been wiped?

    I have an iphone 4s and have installed the new ios download and can no longer find games and other apps that i have downloaded. Where would they be or have they been wiped?

    Hi,
    don´t be worry, this would not be a problem.
    You have to take the same Aplle ID on both devices, then you can sync them via iTunes by using all universal apps on each device, create playlists, albums and all the things you need and sync it, no problem...
    cu
    dienoppe

  • Is it possible to run two different versions of Apple operating system (for ex. 10.6.8 and 10.9) on a MacBook Pro, either on the same disk or from an external hard disk? If so, where would I find the details?

    Is it possible to run two different versions of Apple operating system (for ex. 10.6.8 and 10.9) on a MacBook Pro, either on the same disk or from an external hard disk? If so, where would I find the details? (In order to be able to use the older applications no longer supported in 10.9)

    If you want to add a second partition to the internal drive (in Disk Utility, select the drive, then open the partition tab and just click the + button), you should first be sure that you will have enough room to accommodate whatever the second volume will be. I am currently doing this for Snow and Mountain Lion.
    To get to whatever volume is not the startup disk, restart and hold down option/alt at the chime, which will bring up a selection of the two volumes. Use the left or right arrow keys to select it and then hit enter/return.

  • I want to create a "Play All" chapter marker that will play the video from start to finish in addition to the standard chapters I have-I guess I can auto start the DVD but would prefer a button-how and where would I put this "play all" marker??

    I want to create a "Play All" chapter marker that will play the video from start to finish in addition to the standard chapters I have…I guess I can auto start the DVD but would prefer a button…how and where would I put this "play all" marker?? Thanks..

    The start chapter button is a play the whole movie button regardless of how many other markers you have.
    Once a DVD starts playing it continues to the end.
    Chapters marker simply gives the viewer a place to start playback whether it be the start, middle or near the end.
    Al

  • I'm being asked to provide a serial number when I try to access Illustrator after downloading it to my desktop. Where would I get a serial number for Adobe Illustrator?

    I'm being asked to provide a serial number when I try to access Illustrator after downloading it to my desktop. Where would I get a serial number?

    Normally you would get a serial number when you purchase the software.  Which version are you asking about?

  • Where would I find how much space I have left on my MacBook?

    Where would I find how much space I have left on my MacBook?

    Choose Computer from the Finder's Go menu, control-click the internal drive, and select Get Info. Alternatively, open any folder on it, and if needed, choose Show Status Bar from the View menu.
    (124718)

  • Where would I look on desk top computer for back ups from iPad that tech helped me back up to try to fix my iPad?  Apple replaced my iPad but I can't find any of my photos.  Tech told me they would be on my desk top. Can u help me? Thank, MEC

    Where would I look to find my back ups from my iPad onto desk top computer?  The tech. Who helped me try to repair my iPad helped me back them off the iPad onto desk top. Apple had to send new replacement iPad.  Tech told me the back ups would be on my desk top but I can't find them.  I have lost all my photos.  Can anyone please tell me where to look?  Thanks, Marti48

    I think that the tech probably meant that your photos would be in the backup. If he helped you backup your iPad on your computer, then you have to restore from the backup in order to recover your photos.
    Did you bring your computer with you when you got this help from the tech backing up your iPad, or did he talk you through this over the phone?
    How to backup and restore from a backup
    http://support.apple.com/kb/HT1766

  • Using Apple IOS Numbers on my iPod Touch 4th gen, where would I find... ummm... let's say b200?

    Using Apple IOS Numbers on my iPod Touch 4th gen,
    where would I find... ummm... let's say b200??
    I use the row numbers and column alphabet all the time, and yet they don't appear on the IOS5 version of Numbers.
    This is kinda short-sighted, isn't it? On the desktop version they show up just by clicking on a cell.

    Yeah, we in the real world call it stupid design.
    I discovered a real stupid, stupid, stupid way of seeing the header columns and the row numbers. You need to select a cell, and double tap it and the keypad pops up, at the top of the keypad window is a black wide tool button-bar with "42", "a clock symbol ", a "T" and an "="  The "42" stands for numbers, stars dollar signs, ±, etc. The "Clock symbol" is to put in days, hours, minutes... that sort of thing. The "T" is for words. AND the "=" is for formulas and stuff. HOWever, when you selct the "=" the column header (ABC...etc) and the Row numerators appear! Done so you CAN select certain column and rows to include those certain cells for calculations.
    What a crappy design, right? Must be an engineer without any human interface design skills whatsoever who designed THIS Numbers for ios GUI... you have to hunt through crap to find the simplest of spreadsheet information. A real human interface designer would have made it easy option (for aesthetic reasons or "save space" Hah. Save space on a spreadsheet... why do you think they call them SPREADsheets anyway?).
    And while we are on the Stupid, Engineer-Minded GUI, whose idea was to make you shake your ios device to "UNDO"?  There is plenty of space where the title "Spreedsheets"  and 3 toolbar buttons are located at the top of the spreadsheet workspace for a simple ø <--(circle with a line symbol)
    This Numbers for IOS needs a big retooling.

  • Where would I get an Original copy of batchmodel​.seq 2.0.0.260

    Where would I get an Original copy of batchmodel.seq 2.0.0.260? I have a modified version of this file and want to find out what was changed.

    Hi Jorge,
    Here you go, an untouched version of the batch model (2.0.0.260).
    Ryan
    Attachments:
    BatchModel.seq ‏410 KB

  • I recently changed computers and would like to re-install Photoshop Elements 10, which I have previously purchased.  where would I find that download?

    I recently changed computers and would like to re-install Photoshop Elements 10, which I have previously purchased.  where would I find that download?

    Hi There,
    Kindly check the below mentioned link to download PSE 10.
    Download Premiere Elements products | 13, 12, 11, 10
    Thanks,
    Atul Saini

Maybe you are looking for

  • OIM 11.1.1.5.4, Lotus Notes 8.5.1 update AlternativeName/Language error

    Hello experts! We have faced issue with OIM and Lotus Notes integration. Here is configuration: OIM host: OS: Windows Server 2008 R2 Weblogic: 10.3.5.0 SOA: 11.1.1.5.0 OIM: 11.1.1.5.4 Lotus Notes host: OS: SUSE Linux 2.6.16.60-0.21-default Lotus Note

  • Error FRM-92102

    Hi, We are having our forms upgraded to Oracle 10g and there is one external text editor to edit text items. After calling that editor from application we kept both application and editor idle for 30 minutes. Then once the editor is closed and clicke

  • How do I retreive iMessages from a month ago

    I have deleted an important thread by accident. Not realizing how important it would become. I have backed up to the clous as recent as yesterday and pluged my phone into my Mac and connected to itunes.. Please help.

  • Script Output and not copying extra trailing spaces

    My keyword foo has failed me (both google and here). Is there a way to suppress the extra whitespace that is generated after the script output pane's text, at least during copy-paste? When I copy text out of the the script output pane, I end up with

  • IMAP giving error in notification mailer setup.

    Name : Workflow Notification Mailer Outbound EMail Account (SMTP) * Server Name = exsrv.domainname Inbound EMail Account (IMAP) Inbound Processing = checked Server Name = exsrv.domainname Username = testmailer Password = ******** Reply-To Address = t