Printing word report

i'm using LabVIEW 7.1 and Report Generation Toolkit for Microsoft Office 1.1.2
my program is a stand-alone application that collects data and saves the data to a template in MS Word(using bookmark). It then print out the report.  Two problems occured that i don't understand:
1. when the program sends data to word template only some data are entered in right bookmark, other bookmarks are either incorrect data or left blank.
2. after finished putting data to word template the program generates "Error 1031 occured at Open VI Reference in Print Report.vi ->Main.vi"  
Does anyone have any idea about this?

i've resolved error 1031, but another error was generated.
Here is the error message "Error 7 occured at Open VI Reference in Dispose Report.vi ->..."
i'm sending attachment contains ...Word Report.vi and its subvis and a word template.
Please put these vis in the same directory for it to run.
And put 267.doc in a folder called Templates, and put Templates folder in the same directory as the vis.
when running ...Word Report.vi make sure enter in number 267 for P/N.
due to attachment limited i have to attach 267.doc in the next reply
Attachments:
Get App Path Local.vi ‏19 KB
BE-Cal Word Report.vi ‏598 KB
filter string.vi ‏17 KB

Similar Messages

  • Print Word File from Oracle Report Builder 6.0

    Dear All
    I am using Reports 6 , I have a requirement that i have to print a word document (somewhere around 8 to 9 pages) after printing a report is there any way to execute the same. The word file has the details like agreement , etc so each and every time when i print that particular report , i want to print the contents also which is there in word file. If possible please tell me the steps to do. Thanks in Advance.
    V.Sat

    Possibilities are a bit limited. You can embed a word file as an OLE object in Reports.
    However, OLE can only display one page. So, you have to split your original documents in several one page documents. Put each page in a separate OLE field.
    You can also put the OLE pages (again, single pages only) in a BLOB in the database. In a query you select the pages from the BLOB.
    You have to store the pages through Forms, though. You cannot simply upload them to the table through pl/sql.

  • Automated Word Report Printer from a Cluster filled with controls Vi

    I am sharing this Vi that i made to solve a problem i had.
    Basically this Vi will take what ever is inside a cluster  and print it to Word. you should have a Word template with Bookmarks to work. The bookmars name should be the same as the label of the control( i am explaining the function more in depth on the block diagram comments). This way you can make fancy word templates to print in the report your own values of your test.  
    express vis come limited in the number of inputs you can feed to a template. so this will make you life easier on printing a report. you just need to worry now about putting the values in the cluster.
    You can find it here 

    Hello, take a look at this article. Unfortunately the Generate Report Get Data to Modify.vi was remove since RGT 1.1.3 release. That being said, we can try to find a workaround. See "Configuring a Printer Through the Windows Dialog in LabVIEW", open the GetPrinterSettings.vi, at the PrinterSettings property node you can select the from/to page. I hope this helps.
    Alejandro | Academic Program Engineer | National Instruments

  • Words Getting jumbeled together when I print the reports?

    I am using my Crystal Reports to link into YARDi (real estate program), When I print some reports I recently created the words and letters get mixed up??
    Please help!

    I think its coz of some Version update or Patch problem for Crystal Reports Eclips 2.0
    Check this site
    Re: Crystal Reports for Eclipse Version 2 - Feedback?
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/20c69834-cfc4-2b10-da81-960222254295
    Thanks,
    sandhya

  • Print HTML Report.vi doesn't scale properly.

    LV 8.5.1, Report Generation Toolkit, XP.  Our application uses the Print HTML Report.vi to print an HTML report.
    We found that on some installations the resulting page does not scale properly.  Instead of being one page wide,
    the printout is about 1.5 pages wide (and proportionately longer), leading to our report being truncated.
    Tried different printers, different print drivers, no difference.
    Finally we noticed that the affected computers all had Internet Explorer 6 installed.  Updating to Internet
    Explorer 7 fixed the problem.  Don't know about IE8, I expect that will work as well.
    Hopefully this will help someone else who runs across this problem.  I couldn't find any reference to
    an IE > 6 dependency in the Report Generation Toolkit readme system requirement.
    Matt

    Hi Charlie,
    The layout option is not wired to anything in the Standard, HTML, Excel and Word Report, but it is used in the Quick Print default case.  The Help document for this VI mentions that the layout option is ignored on Standard and HTML Reports but does not mention the Excel or Word Reports.
    This was discovered a little while ago in this discussion forum.  And a report has be filed to R&D by Ben.
    Justin Parker
    National Instruments
    Product Support Engineer

  • Report Generation Toolkit, Print Excel Report, LabVIEW Crash

    Hello,
    when printing a report generated with the report generation toolkit for excel my build application crashes on our customers PC.
    When I run this application on my PC it works fine.
    The problem is the active X invoke node that trys to print the report but i cant get any error messages to find out where to locate the problem.
    Maybe that there is a problem with the active X node or the Excel Version on the customers PC?
    I use LabVIEW 2010 and Excel 2007 the customer has Excel 2003 SP 3.
    I changed the report to generate it in Word where the Print_Report.vi fine on both PCs. But in Word Report there is called another active X invoke node to print the Report. So it seems for me that there really is a problem with the Print in Excel active X invoke node.
    Mybe someon can help me in finding out whats the problem.
    Greetings Daniel.
    Solved!
    Go to Solution.

    Hi Daniel,
    your behavior has been reported by others. For example:
    Application Build Failure on Excel.Print Report call
    http://forums.ni.com/t5/LabVIEW/Application-Build-Failure-on-Excel-Print-Report-call/m-p/1563242
    Problem posted: 05-17-2011 02:19 PM
    Workaround posted: 06-01-2011 and later
    So their workaround was to use Excel 2007 or 2010 instead of 2003. Is this working for your customer?
    Best Regards,
    Jan

  • Print in report generation

    Dear all,
    I am using Report Generation Toolkit to create a report of my project.
    I am using "Word" type Report and want the VI to print it after creating the report.
    However i dont want it to open the MS Word and just want it to print it right away.
    I am using alot of VIs specific to MS Word.
    Is there any way i can print the report without opeing MS Word??
    Thanks,
    Ritesh

    Hi Ritesh,
    I don't think you can use the 'Word' type report VI's without opening Word itself, but what you certainly can do is to open Word and have it either minimised or hidden so the operator doesn't see the window. Then you can get your VI to automatically print the report and close Word down once the operation is completed.
    Regards,
    Andy

  • How to Print the Report Column headers on each page of any report

    Can someone offer assistance on how I can go about achieving the ability to show and print the Report Column headers on each page of any report using the Print Attributes of APEX 3.0? These reports will be printed using Excel and Word.
    I read a thread with a similar request but the answer seems vague for my level of understanding.
    I am connected to a print server and using BI Publisher.
    Thanks,
    Ric

    Hello Ric,
    >> These reports will be printed using Excel and Word.
    I'm not sure I understand what you are trying to do. You are using a very powerful tool – BI Publisher – why do you need Excel or Word for printing? Is there a special need only Excel or Word can provide?
    One of the major advantages of using BI Publisher is that it's taking care of all these tedious tasks like reasonable page breaking, headers and footers, and also table headers.
    Regards,
    Arie.

  • Avoid Printer selection Dialogue box when printing Crystal report in JAVA

    Hi i am calling crystal report in my servlet using Report Client Document SDK, now i want to print the report directly to the default printer set without selecting the printer from the select printer dialogue box. In other words want to avoid the select printer dialogue box from appearing . Can any body suggest me how do i do this .
    Any suggestions appreciated.

    In javascripting the code is
    function Print()
    if (document.all)
    WebBrowser1.ExecWB(6, -1) //use 6, 1 to prompt the print dialog or 6, 6 to omit it;
    WebBrowser1.outerHTML = "";
    <object ID="WebBrowser1" WIDTH="0" HEIGHT="0"
    CLASSID="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2">
    But the above code does not work in windows XP SP2.... and i cannot restrict my clients OS.
    where as C#,ASP.NET  provides the functionality to print directly to printer as
    The ReportDocument class provides PrintToPrinter method that may be used to print a CR direct to the printer. If no printer is selected, the default printer will be used to send the printing pages to.
    The PrintToPrinter method takes four parameters.
    nCopies : Indicates the number of copies to print.
    collated : Indicates whether to collate the pages.
    startPageN : Indicates the first page to print.
    endPageN : Indicates the last page to print.
    The following steps will guide you to achieve the same:
    Add crystal report (.cr) file to your ASP.NET application.
    Add a report instance on the page level.
    Dim report As MyReport = New MyReport
    Populate reports data on Page_Init 
      ' Get data in a DataSet or DataTable
            Dim ds As DataSet = GetData()
            ' Fill report with the data
         report.SetDataSource(ds)
    Print Report
    report.PrintToPrinter(1, False, 0, 0)
    If you wish to print certain page range, change last two parameters From to To page number.
    If you want to set page margins, you need to create a PageMargin object and set PrintOptions of the ReportDocument.
    The following code sets page margins and printer name:
    Dim margins As PageMargins =  Report.PrintOptions.PageMargins
       margins.bottomMargin = 200
       margins.leftMargin = 200
       margins.rightMargin = 50
       margins.topMargin = 100
       Report.PrintOptions.ApplyPageMargins(margins)
       ' Select the printer name
       Report.PrintOptions.PrinterName = printerName
    Thn Why not a java SDK for Crystal report can provide such a functionality...
    Edited by: rtabassum on Mar 25, 2010 6:34 AM
    Edited by: rtabassum on Mar 25, 2010 6:36 AM
    Edited by: rtabassum on Mar 25, 2010 6:42 AM

  • Printing Crystal report from web

    I am using crystal report 8.5 and Coldfusion MX 6.1
    I open my report in a blank page. Everything show up
    properly.
    However, in my report, I have 12 pages. When I print it it
    only show up as 1-2 pages. I notice that on screen, when I click
    next ( to go to the next page of the report ), the url show up as
    whatever my path is and the word "report" + the page -1 + htm
    eg. If I am on page 2 of the report, my url would be
    \\localhost\mywebfolder\report1.htm
    Anyone have the same problem? Any solution?
    * I am thinking of taking off the grouping in the report, see
    if that make any different!

    Hiya,
    It isn't clear how you are calling the report (cfreport,
    location, etc.,).
    With 8.5 professional and higher, there is report server; 8.5
    enforces the five instance connection license that the 8.0 version
    implied and the 7.0 version didn't have at all. This methodology
    allows for using the Crystal web report engine which supports the
    use of an ActiveX viewer or Java Viewer.
    I have an annoyance where an application that has run for
    more than five years using the ActiveX viewer used to run without
    prompting for database credentials but now does.
    Take a look here for some hints
    http://www.vordesigns.com/Portal/phpBB2/viewtopic.php?t=154
    I can send you the page cfm pages I use but it references a
    table of report names, you will have to do a little of your own
    debugging to get it to work in your enviroment.
    There is also a topic post in March from me
    http://www.macromedia.com/cfusion/webforums/forum/messageview.cfm?catid=3&threadid=1137866 &forumid=1
    ... or is it one of my pseudonyms?

  • How can I select a printer in the moment when I want to print a report?

    Hi,
    I don't know is there are a way that when I want to print a report, appears a window where I can select a determinated printer in a list? Like when I print in Word that can call a window where appears all teh printers instaled in Windows and the I can select one. Anyone can help me please?
    Thanks

    You may do it by creating a LOV in your report-invoking env. to select the wanted printer and pass it to Reports. An example of doing it in Apex ....
    http://1.2.3.209/dev60cgi/rwcgi60?repdevi_key&server=Rep60_devi&report=myrpt.rdf&DESFORMAT=PDF&DESTYPE=PRINTER&DESNAME=hp2100&BACKGROUND=YES&P_1=....
    Or you may do it in Reports using Parameter Form.

  • Duplex Printing in Reports 3.0

    I am trying to print a report on both sides of the paper, using Reports 3.0. I have no problem doing this with Reports 2.5. The printer properties have been set properly, so it must be the report. Any ideas would be greatly appreciated. thanx
    Some details: (I'm not sure which, if any, are relevant)
    - "Logical Horizontal Panels" property of report = 2
    - "Panel Print Order" property of report = "Across/Down" ("Down/Across" makes no difference)
    - "Print on both sides" in printer properties is set to "Flip on long edge"
    null

    Henry (guest) wrote:
    : We are attempting to print a two sided document from a HP
    Duplex
    : printer using Reports 6.0 with little success. When we print
    a
    : similiar document using Microsoft Word, the document
    : successfully prints on both sides of the paper. Oracle
    support
    : has not been able to give us a solution. Any advice would be
    : helpful.
    : Thanks,
    : Henry
    Hallo Harry !
    I had the same problem. I could solve it with a postscript
    duplex printer only.
    Klaus
    null

  • Word Report headers & footers

    Hi,
    I have a function printing an acquisition report using the Word Reports
    lib.
    I can't figure out how to change the text style of headers and footers
    (I want them in small size police and in gray). Tuning the Text style
    before applying the Headers and Footers functions doesn't seem to do the
    trick.
    Someone has an idea ?
    Fred.

    I can't help you but I have the same problems: In Designer 7 the pictures disappear but the form works, in Acrobat 7 the pictures do fine but the fields don't work. In 6.0 there was no problem.
    I think it was a bad idea of Adobe to rip the field-editing functions out of Acrobat and provide them in Designer only.

  • Problem sending Tab/Cluster control image to Word report.

    I've set up an option for the user to send a control image to a Word report where they can decide to Print and/or save from Word (I've found the normal Print option too slow with the printer available). The Word document opens fine but I am loosing data from my indicators, without which there's not much point in printing!!
    Is there a problem with Clusters, I have a chart and table on another page of the Tab in my main program and they come out fine.
    I'm using LV8 with the Report toolkit and Word 2000
    Thanks
    Ian
    Attachments:
    Send to Word.vi ‏34 KB
    Send to Wordp.png ‏22 KB

    This problem has been reported in previous posts on the LabVIEW forums.  LabVIEW R&D is aware of the problem, and it should be fixed in a future LabVIEW version.  For now, the only workaround I know of is to make extra space in your clusters so the controls are visible in the report.  I know it's ugly, but it's the only thing I know that works (other than reverting back to LabVIEW 7.1).
    -D
    Darren Nattinger, CLA
    LabVIEW Artisan and Nugget Penman

  • Duplex Printing in Reports 6.0

    We are attempting to print a two sided document from a HP Duplex
    printer using Reports 6.0 with little success. When we print a
    similiar document using Microsoft Word, the document
    successfully prints on both sides of the paper. Oracle support
    has not been able to give us a solution. Any advice would be
    helpful.
    Thanks,
    Henry
    null

    Henry (guest) wrote:
    : We are attempting to print a two sided document from a HP
    Duplex
    : printer using Reports 6.0 with little success. When we print
    a
    : similiar document using Microsoft Word, the document
    : successfully prints on both sides of the paper. Oracle
    support
    : has not been able to give us a solution. Any advice would be
    : helpful.
    : Thanks,
    : Henry
    Hallo Harry !
    I had the same problem. I could solve it with a postscript
    duplex printer only.
    Klaus
    null

Maybe you are looking for

  • Adding new files to the existing Keyword Collections

    Hi, I have been using Keyword Collections as folders when importing files - not sure if there is a "normal" way of creating folders for clips/audio/other files?  Anyway, when I start a project and import a folder with a few files, I create  Keyword C

  • HT4528 power button stuck

    is anyone else having a problem with the power button getting stuck? i have had the iphone 4 for less then a year and only half the button works

  • Any way to disable automatic indexing while editing source?

    I am using Build JDEVADF_MAIN.DROP5_GENERIC_080107.0300.4814 Whenever I edit a jsff file (for example, type a character), I get a little box in the lower right corner with the text "Indexing 1 File." While this is going on, my text editor is blocked

  • Motion 4 problems

    When using motion 4 all my RAM is getting used and I have 8Gb. I just watch it slowly go down on my free memory app. I have been told that this shouldnt happen but not been told if there is a solution? Any one had this problem too or know how to solv

  • Interactive Reporting Migration

    Hi, Could any one Please give some details on Interactive Reporting Migration from lower version to higher version(9x) and what are the lower versions. Thanks in advance.