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

Advertisement

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?

Advertisement

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

October 11, 2015

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 pag

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

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!

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.Read other 3 answers

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

How can i print a full page of mailing labels using the same contact in numerous times/my mailing address

how can i print out a full sheet of labels using the same contact info numerous times, mailing labelsAre you using DesignPro from Avery? You should. It gives you the option to print individual labels or all the same:Read other 2 answers

HT2470 how can you print a directory listing?

Hi, I want to print lists frm some of my directories. How can I di that in iMac? JananAnother easy way is to take a screenshot of the Finder window, then print it. To take a screenshot hold ⌘ Shift 4 to create a selection crosshair. If you press the

How can you print from Calendar on iPad ?

Surely there is a way?Unjay wrote: Surely there is a way? Yes, but you need a third party app, believe it or not. Something like this. CalPrint on the App Store on iTunes the only built in option would be to take a screenshot of the calendar and prin

How can I rescue a single Pages document that is not showing on any of my devices connected to iCloud?

I have done the updates on all 3 products (iPhone, iPad and iMac) but I have one single document that is not opening.Try opening it in TextEdit. It might work to save some text.Read other 2 answers

How do you print multiple different images on a single page in preview

How do you print multiple different images on a single page in preview?Chances are no one who saw your question knew the answer. Unless you're willing to share the answer you found here, then anyone else like you searching for the problem who comes a

Can you print more than one photo on a sngle page in iPhoto, as you can in Picasa?

iPhoto printing-- Can you print more than one photo on a single page in iPhoto, as you can in Picasa? Terrible waste of paper and time to do it one at a time!  I 've been away from Macs for several years ( I know, shame on me) but I thought I remembe

How can you access the printer settings in CS5 when using Epson 4900?

How can you access the printer settings when using Epson 4900 with CS5 12.1 x 64Open the print dialog box, click "print settings".Read other 2 answers

How can I change the default page setup for printing messages in Apple Mac Version 4.6 (1085)

How can I change the default page setup for printing messages in Apple Mac Version 4.6 (1085)As soon as I posted, Ifigured this one out on my own by going into user settings and changing the default there. Then I was able to delete the default @mac a

How can you get the schedule of a single reoccurring job with Restart ability in Redwood to pause when it has failed...?

We need the Request Restart ability when scheduling a single reoccurring job in Redwood. Most of our jobs are scheduled in CHAINs which offers the Final Status Handler on Step level, and the schedule is "paused" when a job in the CHAIN has faile

How can I print a page?

Hi How can I print a page in Firefox for Android? (Edited) ToddeSweWhy can't we have menu in Android Firefox to do the printing? like in the pc version. ToddeSweRead other 10 answers

How can I print my A4 Book now in 8"x10.5"? RESIZE?

Hello I have a book about 700 Pages already been printed a couple of times in A4 size, Now the sponsor can only print it in max 8"x10.5" This means the entire Book/file needs to be adjusted to this new size  in order to get it printed. I need to

How can I print my purchase history?

How can I print my purchase history?No, actually they can't send you a list. I sent them a request for an email of my Purchase History as instructed in the last reply and this is the response I received: This is Migmar from iTunes Store Customer Supp

How can you create a writable PDF document from a PPT presentation ?

How can you create a writable PDF document from a PPT presentation ? Upper part with the image , lower part with a free space in order to take notes for students during presentation or course. Thanks. BYou can make a PDF file out of you notes and han

How can one place a single image on a spread? CS3-MAC

Hi all, i How can one place a single image on a spread? CS3-MAC A very straight forward question I think. I just never did it before. Anyone knows of a fast technique of doing this? I have to make 70+ images this way. Could it be scripted? thanx in a

How can i print a list of bookmarks or extract bookmarks with number paper to print?

How can i print a list of bookmarks or extract bookmarks with number paper to print?I have created a tool which can create a summary of the bookmarks structure of a file in either PDF format or as a plain text file, and you can also choose whether or