Word insert object vi only inserts first page of multipage rtf file?

Hi,
I need to insert a multi-page rtf file into my report template.  In Microsoft Word, this is achieved by selecting 'Insert, Object, Text from File', which inserts all pages of the rtf file.  How is this achieved in the LabView Microsoft Report Generation Toolkit?  When I use the insert object vi, it only inserts the first page of the rtf file?  I've tried other insert methods but insert object is the only vi that keeps the formatting (i.e. rtf file contains tables).
In summary, I can insert an rtf file as an object to a bookmark, but only the first page of the rtf file is inserted.  Does anyone know how to insert a multi-page  rtf file?
Regards,
Allan
Solved!
Go to Solution.

Hello Allan,
It looks like that functionality is not included within the Report Generation Toolkit.  It is possible to produce the desired behavior through ActiveX commands.  I was able to create some sample code that successfully inserted a multipage RTF file into a report.  I did this by using the Word._Document reference to generate a Word.Range reference.  The Range reference has an InsertFile method.  This seems to input the file at the proper location.
Could you give this a try and let me know how it goes?
Also, just so you know, you are using an unsupported configuration of MS Office and LabVIEW.  Most of the functionality should work, but there might be some glitches.
Regards,
Thomas C.
Applications Engineer
National Instruments

Similar Messages

  • How can I print only the first page of multiple PDF files at once in my PC?

    That is, without having to open each file individually.
    Thanks!

    Create an Action with the following JS command:
    this.print({bUI: false, nStart: 0});
    This will cause the first page of all the files you process with this Action to be sent to your default printer.
    If you need to specify more complex parameters, you'll need to use a more complex code...

  • Place assets only on First page

    Hi Forum,
    I m wondering, if can i place my Library assets.item(0) only on first page.
    Because the below script places the Library assets, when i click a particular page...
    Instead, when i run the script, the assets should be placed only on the first page..
    Is it possible... I tried this way.. but doesnt works...
    pg = app.activeDocument.pages.item(0);
    //myrect = pg.rectangles.add(); (i tested with adding rectangles on the first page, it works)
    var Lib = app.libraries[0].assets[0].placeAsset[pg][0];
    thanks for the help forum...
    Shil..

    hi -hans- thanks very much for your quick response.....
    will moving the object placed to any page is possible. because i have a little bit confusing on selecting the placed object (if is the grouped text) alongwith the other text boxes on the same page.
    how can i refer the placed object in script.
    sorry for the confused state of question....
    thanks for the reply.
    shil....

  • Lately when I do an images search only the first page actually shows the images- the rest show blank squares- why, and how do I fix it?

    Over the last week I have noticed more and more that my searches do not show up properly. Today only the first page of images actually show, the rest are blank spaces, but if I click they go to the image site. The rollover does not show either.
    What can cause this, and how do I fix it? I have tried various safe settings but this has no eefect at all.
    Thanks.

    Clear the cache and the cookies from sites that cause problems.
    "Clear the Cache":
    * Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    "Remove Cookies" from sites causing problems:
    * Tools > Options > Privacy > Cookies: "Show Cookies"

  • Only the first page is printed reduced as setup. All pages afterward are full size with information cut off. Recent problem. Can print from Safari just fine. How can I get all pages to be reduced size?

    Question
    Printing internet pages
    Reduced print size
    Only the first page is reduced and printed as desired
    All pages after the first page are full size with information cut off
    Recent problem never seen before
    Can print from Safari and other software just fine
    How can I get all pages to be reduced size?

    One suggestion worked from the Firefox prints incorrectly link mentioned above by mha007. I'm thrilled since this has been annoying me for weeks. Thanks mha007!
    Reset all Firefox printer settings
    # Open your profile folder:
    # On the menu bar, click on the Help menu and select Troubleshooting Information. The Troubleshooting Information tab will open.
    # Under the Application Basics section, click on Show in Finder. A window with your profile folder will open.
    # Note: If you are unable to open or use Firefox, follow the instructions in Finding your profile without opening Firefox.
    # On the menu bar, click on the Firefox menu and select Quit Firefox.
    # In your profile folder, copy the prefs.js file to another folder to make a backup of it.
    # Open the original prefs.js file in a text editor (such as TextEdit).
    # Remove all lines in prefs.js that start with print. and save the file.
    # If something goes wrong when you open Firefox, close it again and overwrite prefs.js with the backup you made.

  • Updated to iOS 7, but only the first page of my app buttons stayed.  How can I get them back?

    I just updated to iOS 7, but only the first page of my app buttons stayed.  How can I get them back?  And how do I show the Apple Music and Weather app- I can find them in spotlight, but there isn't an app button for them.

    Are you sure you don't see them when you swipe to the left?
    I actually had only one icon showing on the second page .... and then all of the rest showed up on pages 3, 4, etc.
    The Apple Music app is a red box with a white note
    Weather app is a blue box with a white cloud and yellow sun
    Did you try resetting or restarting the device?

  • How do I print only the first page of multiple PDF documents?

    I have about 1,500 PDF files (scientific papers) that I need to print only the first page of... Any suggestions on how to do this as a single job or as a few jobs? The files are organized in a bunch of different folders, so if there was some way to do this folder by folder, that would be ok too. Thanks!

    Make sure that in System Preferences Printing & Fax pane you set the default printer to the one you want to use, then put all of these PDF files into their own folder, then open terminal and type the following (without hitting return afterward):
    lpr -o page-ranges="1-1"
    Then drag one of the PDF files into the terminal window (it will add it's path to the end of your command) and replace the file name with *.pdf, so it will look like this:
    lpr -o page-ranges="1-1" /Users/todd/Documents/My\ Folder/*.pdf
    Then hit return.

  • As a writer I'm using Pages to write my documents but the title shows up on every page.   How do I set-up my page so that it shows up on only the first page?

    As a writer I'm using Pages to write my documents but the title shows up on every page.   How do I set-up my page so that it shows up on only the first page?

    Don't put it in the Header.
    Peter

  • Why does only the first page of seach results show, with further pages graying out?

    In a search, I may get >1,000,000,000 hits, but only the first page is readable. "Next" gives me a grayed out screen and FF freezes. Any of the offered searches at the bottom of that first screen will do the same thing. Repeated hitting "back" will clear it.
    This has been true, through all the upgrades, including a backgrade to 3.6 (?) for 64-bit. This makes FF useless as a search platform, though it is my preference, even over Chrome, if it would work.
    Windows 7 Ultimate, 64-bit, 8GB Ram
    High speed to house, wireless lan in house

    That does seem rather useless.
    Use Automator - it has a "PDF to Images" action that will do exactly what you need. Drop your document into the workflow, drop the "PDF to Images" action in right after that, set any options that you need (like where to save) and then click "run"
    Barring that, I've found that sometimes Adobe Reader will sometimes work well for documents that Preview can't print, and I've found some documents that Adobe Reader chokes on but Preview handles flawlessly.

  • How to output particular text in main window only in first page

    Hi experts how to ouput particular text in main window only in first page after that actual transaction data will be continued.....any ideas....Answers will be rewarded.....

    Hi,
    Try this.
    /: IF &PAGE& = '1'
    /: ENDIF
    Thanks,
    Naren

  • Cheque printing only on first page

    Hi,
    Iam a newbie in XML/BI Publisher. I am doing a AP Cheque printing. In the report I have to print the invoice lines and at the bottom of first page I need to print the cheque. I did all necessary stuffs for this in the RTF template.
    But now the cheque is getting printed in the second page if the lines comes to the second page or after printing the lines if there is no space for the cheque then its getting printed in the next page.
    Can anyone guide me how to print the cheque only in the first page bottom alone.
    The sample output which I needs is like this,
    page 1-
    Invoice line number
    line.
    line.
    line.
    line.
    line.
    line.
    line.
    |..............................|
    | cheque print...........|
    page 2
    Invoice line number
    line.
    line.
    line.
    line.
    line.
    line.
    line.
    line.
    line.
    line.
    line.
    line.
    line.
    line.
    thanks a ton in advance.

    Hmm,
    There is no way you can say fix that and show this only in first page.
    but you can achieve it.
    1st method.
    give enough space for the check in the first page, by reducing the no of lines in the first page, so that you can accommodate the cheque .
    for this, you can do like,
    if the position is less than 9 and mod of postion is zero , that means you are in 9 line, then call a sub-template and after that you can put a page-break. this condition is for first page only.
    now put an another if condition here, if the position is > 9 and position mod X is zero, then put a page break. x is no of lines to be displayed in 2nd, 3rd, 4th pages.
    2nd method.
    put the differnet header and footer for first pge.
    and cal the sub-template in footer of first page.
    in tht sub-template you have the check.

  • Acrobat X Pro Only Prints First Page

    I have several multipage PDFs that I am trying to print to my HP LaserJet 5si MX. I am on OS X 10.6.5 with all the latest updates applied. When printing, only the first page prints and then the printer queue clears as though the whole document printed.
    The PDFs print fine in their entirety from Preview. I tried Reader 7.0.7 which also works fine.
    Reader X has the same problem as Pro.
    I checked for update printer drivers, but they are included with OS X and HP has no updates.
    Thanks for any help!

    I have had the same experience. My HP 4050 reported "Insufficient memory" after printing the first page. The PDF was created with Acrobat Pro X by combining PDFs sent as attachments. The file is 238 KB, and is printed without difficulty using Acrobat Pro 9.
    Bpb Stoothoff

  • Adobe acrobat only prints first page with airport express

    I got my printer (HP PSC1315) to work with airport express using one of the solutions described in these forums. Printing is fine except when trying to print pdf files with adobe acrobat, in which case only the first page of the document prints. Preview has no trouble printing pdfs. Anyone else experience this? Is there a solution?
    Thanks,
    Kevin
    PS- my version of acrobat is acrobat pro 7.0.5

    Figured it out.
    Adobe Acrobat/Reader is apparently very picky about printer drivers.
    I had to have the users delete their mapped network printers from their Printers & Faxes window.
    Then I opened the registry and went to:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Environments\Windows NT x86\Drivers\Version-3
    I deleted the drivers for the printer(s) the customer had mapped (e.g. Xerox 6360DN, .. etc.)
    I rebooted the computer
    I had the customer logon and remap their printer.
    That resolved the issue.

  • Adobe only prints first page of multi-page PDF documents.

    On a military network,  ever since users have been upgraded to Adobe Pro 9,  only the first page of their multi-page documents will print from a particular network printer.
    The OS is Windows XP.
    Adobe Pro version is 9.1.2
    Network printer is a Xerox Phaser 3500PS.
    Can print other non-PDF documents to the same printer with no problems.
    Can print the same PDF documents to other printers in the area and all pages go through.
    No error messages on printer and no error message prints out.
    I have had the users change their Font and Resource Policy to "Send for each page"
    I have reloaded the Xerox Phaser 3500PS drivers.
    I have had the users remove and remap the network printer.
    I have had them try to print just two pages
    I am unable to implement Adobe's Postscript Printer Driver as this is a military network and I cannot install unapproved software on the network printer server.
    Any constructive suggestions would be appreciated.

    Figured it out.
    Adobe Acrobat/Reader is apparently very picky about printer drivers.
    I had to have the users delete their mapped network printers from their Printers & Faxes window.
    Then I opened the registry and went to:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Environments\Windows NT x86\Drivers\Version-3
    I deleted the drivers for the printer(s) the customer had mapped (e.g. Xerox 6360DN, .. etc.)
    I rebooted the computer
    I had the customer logon and remap their printer.
    That resolved the issue.

  • Preview only shows first page of TIF files

    Hello,
    I am having problems with Preview version 3.0.9 (409). When opening a multi-page TIF file, only the first page is displayed. The "page down" button does allow to jump to the following pages. (I am able to view the whole document with other programs). Is this a bug in the program or am I doing something wrong?
    Thanks!

    HI Fidelio,
    I'm not sure if this is a corrupted Preview preference file or not but it can't hurt a thing to try.
    Locate this file: com.apple.preview.plist It's here: /Home/Library/Preferences. Open the Preferences folder, locate that file and drag it to the Trash, empty the Trash and reboot. Your Mac will create a new pref file for you.
    Carolyn

Maybe you are looking for

  • Unable to Update Through WebSapConsol

    Hi Everybody,    I am working in RFID Barcode Reader .I have develop a ZTransaction through which i have to provide a screen to user for scan barcode after pressing save button i have to post all batches through TCode VL01N .          Everything is w

  • IP4 works for me

    I am very glad to say that my iPhone 4 has worked fine for me. No prox sensor problem, no tint problem, no antenna problem. Just a very useful device. I have the original iPhone and the 3GS, and enjoyed them both. I enjoy using the iPhone 4 more. Won

  • Screen goes light blue randomly, nothing do be done

    So I have a mac mini g4 1.25 with 1 gig of ram with the latest version of tiger. Randomly, the computer will stop working and display a light blue screen with no cursor or anything. No dock or menus, just light blue. It really is random, it has occur

  • Images from Canon 5D Mark III not appearing super sharp in Photoshop CS6 or Lightroom 4

    I have a brand new Macbook Pro with Retina Display and am running CS6, shooting with a Mark III in full resolution raw format.  Focus is on in camera but when I open the images in Photoshop, they do not appear super sharp when zoomed in.  Is this a d

  • Elements 10 Edit won't load, Organize does. Error 213:5

    I had to reload my Mac from scratch and now Edit will not load but Organize does.  I have a Case No. sent to escalation but have not received any answer. Has anyone had this problem and can help me?