How can you print a single page of a multipage report.

I am using Office 2003 pro, the LabVIEW Report Gen Toolkit, LabVIEW 7.0, and Windows 2000. I have created a lengthy report with the first page being a summary. I would like the user to be able to select; print the entire report, or just the first page. Any ideas?

There are two ways you could go about doing this. They both are somewhat straight forward.
1) Calling a macro from LabVIEW in Word.
You could create a macro that would let you just print the first page and call this from LabVIEW when the user so desires. There is an example of how to call a macro if you use the example finder. Goto
Toolkits and Modules>>Report Generation for Microsoft Office>>Run Macro on Word Table
2) You can actually modify the print VI that comes shipped with LabVIEW. For Microsoft Word it is called Work_Print.vi and it is located with in the exclsub.llb. This can be found at..
..\Program Files\National Instruments\LabVIEW 7.1\vi.lib\addons\_office\_exclsub.llb
You can also find this by digging through the Print Report.vi
Inside this VI you will see an Invoke node that has the fields To and From. If you specify the start and end page here, by connecting integer controls or constants, this will let you specify the pages to be printed out.
NOTE: If you modify the Work_Print.vi you may want to save it outside of this library and locally to your application directory. Therefore make sure any report VI you are using within your app. now dynamically references this local version of Word_Print not the one in the report library.
Please don't hesitate to let me know if you need more information or a more descriptive explanation.
Have a great day!
Allan S.
National Instruments
Applications Engineering

Similar Messages

  • How can I print only Selected pages from a Multipage document?

    HP Envy 114 e-All-in One Printer
    How can I print only pages 2 and 4 from a 10 page document using my Envy 114 Printer?
    This question was solved.
    View Solution.

    Hi,
    Where do you print from ? Under Word or PDF you can select page(s) you want to print.
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • How can you print 1-3 pages of a web document?

    I have an Ipad with a HP6500A Plus and can print. I have the eprint app loaded on the ipad. I need to be able to select the pages to print from a web page.
    This question was solved.
    View Solution.

    Hi fryemup,
    If you open the ePrint app and select "Web Browser" you are able to print multiple web pages from there, however if you are looking to print only certain pages of the web, ePrint Home and Biz does not currently support this feature.
    I was an HP employee.
    Reminder: Please select the "Accept as Solution" button on the post that best answers your question. Also, you may select the "Kudos" button on any helpful post to give that person a quick thanks.

  • How can i print just one page of photo book without printing the entire book

    how can i print just one page of photo book without printing the entire book

    Jim,
    Take heart.  We can help.
    First turn on page view so you can see how the content of your sheet fits on the page(s).  A Numbers document contains sheets (listed on the left) which in turn contain tables, charts, text, and graphics.  Select the sheet you want to print on the left, then enable page view by selecting the menu item:
    "View > Show Print View":
    Now you should see your content and how it fits on one, or more, pages.  If thie content is too big for one page use the controls and the bottom left of the window to expose the sheet controls:
    Here a table is too big to fit on one page:
    slide the "Content Scale" slider so the content fits:

  • How can I print a Safari page without the links being printed and cover other text?

    How can I print a Safari page without the links being printed and covering other text?

    Try printing the page as PDF.
    From your Safari menu bar click File > Print > Save As PDF then print the PDF file.
    If you don't want to do it that way, reset the print system.
    Mac OS X: How to reset the printing system

  • How do you print comments in pages under mavericks?

    How do you print comments in pages under mavericks? Earlier if show comments was checked, all the comments were visible and could be easily printed. Now only those comments are visible on which the cursor is pointed but even those do not get printed! 

    Thanks to all for to the 'older Pages' suggestion. I don't have the last Pages on my mac anymore (although this is probably just me being really, really dumb), but the suggestion inspired me to try another very similar work around - which was also successful. Just in case anyone's in the same situation as me, am sharing it here!
    For absurd reasons I won't bother to explain, I've also got a version of Word for Mac. I prefer writing on Pages, though, so all my documents (and their comments...) are Pages files. In the really unlikely event that you've also ended up with both Pages and Word (I know...) just export to a .docx file, open it with Word, and print from there. It retains all comments, track chages, etc. This seems really obvious, but I hadn't thought of it...
    This can also be a work around for the lack of 'Compare Documents' and/or 'Merge Documents'.
    Of course this would all be much better if it were actually just in Pages...I hope this helps, and thanks!

  • How can you print a scenario and students responses?

    How can you print the scenario and students responses from a scenario created in Captivate 8?

    There is a shareware program called iTunes Reports. It took my Library file which as 1,000 artists and 950 albums and created an artists/albums report in seventeen pages. It creates a pdf file. Every page has a watermark if you don't register the program. The format is:
    Alison Hood, David L. Cooke, David Leonard &
    Phil Coulter Highland Cathedral
    Alison Kinnaird Rough Guide : Rg To Scottish Folk
    Alison Krauss A Very Special Acoustic Christmas
    Alison Krauss & Union Station Every Time You Say
    Goodbye, Forget About It, Live, New Favorite, So Long,
    So Wrong
    Tom

  • How can i print a 8 page file so that after page 2 follows 7  and then 6-3-4-5?

    How can i print a 8 page file so that after page 2 follows 7  and then 6-3-4-5?

    Download make booklet script from this link. You will see download for CS3 along the left side. You don't mention which version of CS you have but this should work. You can do a search for make booklet script CS4 in google if you need that one.
    Place the script in your Applications>InDesign>scripts folder. Start ID, open you file, go to window>scripts>make booklet. Double click and the script will automatically create book spreads. No crops, reg or page info though. There are several cheap apps you can buy that will make books with crops, reg marks and page into for you. You'll need to search forum or google.

  • How can I view as "single page continuous" in full screen mode?

    how can I view as "single page continuous" in full screen mode?
    preferences->page display:
    preference->accessbility:

    Not possible.

  • How can I print a web page to a hard copy with Adobe?

    How can I print a web page to a hard copy with Adobe? When I print this particular page in the usual way it prints only the text of that page, not the photo that's also part of that page.

    I have Adobe SendNow, but I can buy another Adobe product if it will solve my web page printing problem.

  • How can you print a receipt from an i-tunes account purchase

    how can you print a recieipt from an i-tunes purchase ?

    If you didn't save the emailed receipt, then doing a screen shot of the Purchase History, as TT said, is the only option.
    Regards.

  • How can I print the Help page before I quit iTunes to open a Library?

    How can I print the HELP page, before I quit iTunes to create a new library?

    File > Print

  • How can you print wirelessly from iPod mini.

    How can you print from an iPod mini to a wireless printer without having your computer on?

    Setup AirPrint Printer
    1. Buy an AirPrint enabled printer; see list below
    http://support.apple.com/kb/ht4356
    2. Run the CD provided and set printer and iPad on the same network
    3. Start printing from your iPad using AirPrint

  • How can I print Essbase database notes information in Financial reports?

    How can I print Essbase database notes information in Financial reports? As a requirements, I need to print certain database information in reports such as application refresh date/time and data source - from where my database is updated from.
    Edited by: 872346 on Jul 13, 2011 1:50 PM

    Unfortunately, none of those text functions are going to pull the database note. Hardly anything does other than the add-in.
    Maybe the OP could stick that information into an LRO? Then he could use CellText to get the info out.
    Regards,
    Cameron Lackpour

  • How can i print a one page spread sheet without having it spread over several sheets of paper none of which is complete?

    I have an iMac less than 1 year old with lion o/s and numbers. i have been spoiled in the printing of spread sheets on PC's. I find it impossible to print only 1 page when printing a single page spread sheet. The result is my spread sheet spread over several sheets of paper with no usable spread sheet printed. Can anyone help this 86 year old man who has been to the Apple Store twice to learn this but I still have trouble. Thanks in advance for your help. jim

    Jim,
    Take heart.  We can help.
    First turn on page view so you can see how the content of your sheet fits on the page(s).  A Numbers document contains sheets (listed on the left) which in turn contain tables, charts, text, and graphics.  Select the sheet you want to print on the left, then enable page view by selecting the menu item:
    "View > Show Print View":
    Now you should see your content and how it fits on one, or more, pages.  If thie content is too big for one page use the controls and the bottom left of the window to expose the sheet controls:
    Here a table is too big to fit on one page:
    slide the "Content Scale" slider so the content fits:

Maybe you are looking for