Problem with NIReport.llb\Print HTML Report using IE.vi on different machines
We have 5 machines here in our workgroup which have the same state regarding security patches and other system updates. We recently found out that there is a problem with the NIReport.llb\Print HTML Report using IE.vi on the different machines.
If I would open the VI on MachineA the control could be loaded. If I would open the VI on MachineB the control could be loaded. If I would copy the VI from MachineB to MachineA and open the VI the control could not be loaded. If I would copy the VI from MachineA to MachineB and open the VI on MachineB the control could be loaded. MachineB could load the version from MachineA and MachineB but on MachineA only the own version will load. I have seen that both versions have the same GUID for the Microsoft Webbrowser but are different in some other aereas.
Since printing HTML Reports is part of the application which will be distributed as application I want to know if someone else have seen such a behaviour or has got problems distributing an application.
Also I want to know which additional information is stored in an Active-X container about the control beside the GUID.
We have Win XP Prof SP2 with MS IE 6.0.2900.2180 on all machines in the workgroup.
Waldemar
Using 7.1.1, 8.5.1, 8.6.1, 2009 on XP and RT
Don't forget to give Kudos to good answers and/or questions
Hi Tom,
this is the VI <vi.lib>\Utillitiy\NIReport.llb\Print HTML Report using IE.vi copied from a machine that can load and run the VI and it will print. On this machine the control in the VI is white.
This VI will give the "Control could not be loaded" message on my machine.
The file shdocvw.dll is 2006-10-23 16:18 size 1.460 KB and I verifyed that both machines have the same version of this file.
Waldemar
Using 7.1.1, 8.5.1, 8.6.1, 2009 on XP and RT
Don't forget to give Kudos to good answers and/or questions
Attachments:
Print HTML Report using IE.png 11 KB
Similar Messages
-
Problems with capturing and printing-to-tape using FCP4
Having trouble logging footage and printing to video using FCP4.
1) When we log-in footage (capture) it constantly stops and says, "dropped frames". This usually happens after 10-15 minutes of logging-in footage. Why is this happening??
2) When we Print-To-Tape, it will suddenly stop! Sometimes it will continue Printing-To-Tape, but without audio!
Is this a common problem? Should we re-install FCP4?
We've done all the software updates, but we're still experiencing these problems. We've also cleared up our computer by deleting old FCP4 projects.
We have a G4 with three internal Hard Drives with approx 180GB each. We're using the Sony DSR-11 as our Mini-DV deck.
Help!!!!We don't have Virex or Norton software in the machine. We have Disk Warrior which was helpful in the past with other problems. Should I run another check using Disk Warrior?
We only have one machine which has three internal drives. We've experienced the same problems using each of the drives.
We do have some video stored in the system drive, but normally we don't use that drive. The system drive currently has 70GB availble, as do each of the other internal drives.
We have updated our FCP to 4.5, but should we trying re-installing it? -
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.
MattHi 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 -
Print HTML Report Automatica​lly after Each UUT
Hello
I saw the document on NI site called "Print HTML Report Automatically after Each UUT". That's exactly what I want to do with XML files. So I put it in my sequence file and it works fine, but when it opens the xml file at the first step, there's a pop-up from IE who say that "Scripts are generally safe, do you want to authorise this script" (This message is also displayed when I open my file in files explorer).
So, the print is not automatically anymore as I must answer to this pop-up. does anybody has a solution to bypass this pop-up ?
I tried to use the property silent on the class IWebBrowser2. Inded, the pop-up doesn't appear anymore, but my XML file isn't correctly printed. I supposed the default response of the pop-up (which is no) is applied. So the script isn't executed.
I also tried to configure IE to not display this pop-up : No result
Regards
LaurentHello,
I think that you need to configure your browser, can you take a look a this article:
http://www.maxi-pedia.com/scripts+are+usually+safe+do+you+want+to+allow+scripts+to+run
Regards,
Nacer M. | Certified LabVIEW Architecte -
Error according printing html report
I bulid a vi to print HTML report but I have problem printing this report .
I try ever to used some example which national Instrument bulid , such as Report Generation > Text
Report, but ever in this example I couldn't print the file (HTML).Wisam,
Could you tell us what procedure are you following to run that example? and also what version of LabVIEW you have?
The way you have to run that example (Text Report.vi) is that when you open it, in the control that reads: "Report Type" you select HTML, and also in the control that reads "HTML Save Path" you set the path like for example "C:\test1.htm", now run it and you should have now the HTML format type report. I believe that you also have in that same directory of examples another one called : Example HTML Report Report, that one also shows how to print a report to an HTML file. Try the example you mention setting up the controls that I wrote above and it should work. If not please contact us and we can try to send you an original example and see if i
t works. You can do it by this same means or by direct contact ( www.ni.com/ask ).
Good luck!...
Nestor Sanchez
Applications Engineer
National Instruments
Nestor
National Instruments -
Problem with the MVMapView.print(printMapDiv,) function.
Hello,
I have a problem with the MVMapView.print(printMapDiv,) function.
My FOIs are displayed correct on the screen but on the printed letter
the stroke(border) color and the labels of a circle are not displayed.
the fois have a custom style:
var xmlDef = '<svg width="1in" height="1in">'+
'<g class="marker" '+
'style="width:40;height:40;stroke:0xff0000;fill:0x00ff00;stroke-width:1.5">'+
'<circle r="20"/>'+
'</g>'+
'</svg>';
markerStyle = new MVXMLStyle("my_vector_icon_" + i + '_' + j, xmlDef)
and are created like this:
v_result = new MVFOI(p_geofeature.foiId, p_geofeature.foiGeomertyObject, markerStyle, null, 30, 30);
v_result.setHTMLElement('1',0,0);
Browser: I can see the map with a green circle, a red border and '1' as a label on
top of the Circle.
Printed Letter: I see the map with the green circle but no red border Color and no label.
The implmentation of the printing function uses the same techique like the "Oracle Maps Tutorial"
It is a javascript function called through a href link:
function mapPrint()
var a=document.getElementById("printmap");
global_gdi.mapviewer.mapview.print(a);
Version is Ver11_1_1_5_B110527
Does anbody know how to print the map properly including the contents of the
MVFOI class set trough setHTMLElement function?
Greetings
AndreThanks for your reply but it is not working and i can prove that.
I have a small example based on the mapviewer print tutorial. To run it you need a
mapviewer installation and copy the text into a html file. In the browser you can see
a green point with a red border and red label text on a map.
If you use the print button everything except the label text will be printed.
I think this is a mapviewer css-api bug.
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style type="text/css">
@media screen
.noscreen {display: none;}
@media print
.noprint{display: none;}
</style>
<script language="Javascript" src="/mapviewer/fsmc/jslib/oraclemaps.js"></script>
<script language=javascript>
var mapview;
var baseURL = "http://"+document.location.host+"/mapviewer";
function showMap()
mapview = new MVMapView(document.getElementById("map"), baseURL);
mapview.addMapTileLayer(new MVMapTileLayer("mvdemo.demo_map"));
mapview.setCenter(MVSdoGeometry.createPoint(-122.45, 37.6706,8307));
mapview.setZoomLevel(4);
mapview.display();
//adds custom foi with label
var xmlDef = '<svg width="1in" height="1in">'+
'<g class="marker" '+
'style="width:40;height:40;font-family:sans-serif;font-size:20pt;stroke:0xff0000;fill:0x00ff00;stroke-width:1.5">'+
'<circle r="20"/>'+
'</g>'+
'</svg>';
var markerStyle = new MVXMLStyle("my_vector_icon_", xmlDef);
mpoint = MVSdoGeometry.createPoint(-122.30, 37.73,8307);
var v_result = new MVFOI("11", mpoint, markerStyle, null, 60, 60);
v_result.setHTMLElement('test label',0,0);
mapview.addFOI(v_result);
function mapPrint()
var a=document.getElementById("printmap");
mapview.print(a);
</script>
</head>
<body onload=javascript:showMap()>
<div id="map" style="position:absolute;top:50px; left:10px; width:600px; height:450px;border:0px"></div>
<div id="printmap" class="noscreen"></div>
<p>Please click <a href="javascript:mapPrint()">here</a> to print map</p>
</body>
</html>
Edited by: user12005064 on 27.02.2012 02:37 -
My HP OFFICEJET 8500 PRO was working just fine wirelessly until I installed the Windows 8.1 update from the Microsoft. Now I cannot print at all. I get an error that says, "windows cannot print due to a problem with the current printer set up". I have tried reinstalling and a ton of other solutions to no avail. Can someone PLEASE Help!
Hello there, @jesseangelique ,
Welcome to the Community!
I would love to help you with the printing issue you're having, since the Windows 8.1 that was done.
Please run the Print and Scan Doctor. Write me back with the results or post a screen shot of the results and I will have a look at them.
This diagnostic tool will check for any conflicts that could be causing the issue. The tool will show you a report at the end. If there was a problem that the tool could not fix, you will notice it in the results.
Also, let me know which Officejet 8500 Model you have:
HP Officejet Pro 8500 All-in-One Printer - A909a
HP Officejet Pro 8500 All-in-One Printer - A909b
HP Officejet Pro 8500 Premier All-in-One Printer - A909n
HP Officejet Pro 8500 Wireless All-in-One Printer - A909g
Hope to hear from you!
R a i n b o w 7000I work on behalf of HP
Click the “Kudos Thumbs Up" at the bottom of this post to say
“Thanks” for helping!
Click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution! -
Problem with countinuous paper printing in dot matrix printer
Hi All,
I have problem with dot matrix printer (Devise Type EPESCP) while printing continuos printing. If i am printing 2 or more than that prints at a time, 2nd page is printing 5 lines up.
I have developed one smartform for this and i have used A4 size page format.
I have tried to change the Printer initialization code to 86 lines for DINA4. Still no change in continuous printing.
Printer initialization
Reset after exit
Cover page
First Page
Start of even page
Start of odd page
Start of page
End of first page
End of even page
End of odd page
End of page
Start of line on an even page
Start of line on an odd page
Start of line
End of line on an even page
End of line on odd page
End of line
Printer initialization
# reset
\e\0x40
# select character table 3 -> PC 437 character set
\e\0x74\0x03
# set line spacing 6 LPI
\e\0x32
# set page length 86 lines
\e\0x43\0x46
# cancel bottom margin
\e\0x4F
# set left margin to 0
\e\0x6C\0x00
# select LQ quality
\e\0x78\0x01
# select non-proportional spacing
\e\0x70\0x00
Can any one help me.
Thanks,
VishnuHi Vishnu,
Above you have the following commands:
set line spacing 6 LPI
\e\0x32
set page length 86 lines
\e\0x43\0x46
46 HEX = 70
So the above settings mean 70 lines at 6 LPI = 11.66 inches.
So is the paper length 11.66 inches? If not, you should adjust the settings accordingly.
Regards,
Aidan -
Problem with Photoshop Elements Printing
I have been using Photoshop Elements for a couple of years now and know it pretty well. Today while attempting to print, a strange problem came up: After going through the protocol to make a print, just before the image prints PE does a very fast auto correction that basically ruins all the color correction I have made on the image. How do I disable this function?
Hi and thanks for your reply. I checked the settings under "Print", "More Options", then "Color Management" and it only has "Print Space", none of the three options that you said I should have. Am I looking in the wrong place?
Date: Mon, 3 Sep 2012 11:14:57 -0600
From: [email protected]
To: [email protected]
Subject: Problem with Photoshop Elements Printing
Re: Problem with Photoshop Elements Printing
created by 99jon in Photoshop Elements - View the full discussion
Check your color management by clicking More Options in the print dialog There are basically three options:1) Printer Manages Color2) Elements Manages color3) No color Management Make sure everything is consistent e.g. if you choose Elements manages color make sure color management is switched off in the print driver.
Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/4669848#4669848
To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4669848#4669848. In the Actions box on the right, click the Stop Email Notifications link.
Start a new discussion in Photoshop Elements by email or at Adobe Forums
For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746. -
Cannot print due to a problem with the current printer
Cannot print (anymore) due to a problem with the current printer is the message I get every time I try to print something out. I tried to reinstall the printer's software, I changed the cables, but nothing happened. It seems to be something related to the printer setup utility. Any big idea on how to solve this? I was printing without problems until this afternoon. I have a HP Laserjet 1022 and sometimes I use Adobe Acrobat Writer. None is currently working.
Thanks for any help.
Power Book G4 Mac OS X (10.3.9)I just had the opererational system (10.3.9) reinstalled . Back to normality again.
-
Problem with Grand total in Crystal report xi
Post Author: eshwar_polawar
CA Forum: Crystal Reports
Dear all,
I am facing the problem with Grand total field in Report footer.Please advise me how should we resolve it.
My report design as follows
Report Title
Page Header section:
charged date fee_ description charge_ amount currency_code
Group Header #1(Group by bank_ref)
Group Header #2(Group by Currency code)
Details
charged date fee_ description charge_ amount currency_code
Group Footer#2
(Sub Total )
Running Total field(Fields to Summarize on Charge_amount, Evaluate on "Group2# change of currency code) ,Sum of Charge_amount,Currency_ code
Report footer:
Sum of (charge_amount) currecy code
Example of data:
charged date fee desc chrage amount currencycode
0000000060129
CAD
10-Oct-2007 Transfer 200 Cad
11-Oct-2007 comm 150 cad
Sub total 350 Cad
0000000060129
CAD
10-Oct-2007 Transfer 100 USD
11-Oct-2007 comm 150 USD
Sub total 250 USD
Grand total should 350 CAD but it is showing all total amoun 1000 CAD ,Group by Curreny code in the table
250 USD but it is showing all total amount 1200 USD
Please provide the solutions like:
1).About Running total in Report footer section
2).Formula on While printing records for grand total
3).How will send links with subreports
Thanks and Regards
EshwarPost Author: eshwar_polawar
CA Forum: Crystal Reports
eshwar_polawar:
Dear all,
I am facing the problem with Grand total field in Report footer.Please advise me how should we resolve it.
My report design as follows
Report Title
Page Header section:
charged date fee_ description charge_ amount currency_code
Group Header #1(Group by bank_ref)
Group Header #2(Group by Currency code)
Details
charged date fee_ description charge_ amount currency_code
Group Footer#2
(Sub Total )
Running Total field(Fields to Summarize on Charge_amount, Evaluate on "Group2# change of currency code) ,Sum of Charge_amount,Currency_ code
Report footer:
Sum of (charge_amount) currecy code
Example of data:
charged date fee desc chrage amount currencycode
0000000060129
CAD
10-Oct-2007 Transfer 200 Cad
11-Oct-2007 comm 150 cad
Sub total 350 Cad
0000000060129
CAD
10-Oct-2007 Transfer 100 USD
11-Oct-2007 comm 150 USD
Sub total 250 USD
Grand total should 350 CAD but it is showing all total amoun 1000 CAD ,Group by Curreny code in the table
250 USD but it is showing all total amount 1200 USD
Please provide the solutions like:
1).About Running total in Report footer section
2).Formula on While printing records for grand total
3).How will send links with subreports
Thanks and Regards
Eshwar -
Problems with your HP printer after upgrading to Windows 8.1
If you are experiencing problems with your HP printer after upgrading to Windows 8.1 please click on the below link and install the HP Print and Scan Doctor and run the utility to fix the issue.
www.hp.com/go/tools.
I was an HP employee
If I have helped you solve your issue please mark it as solved
**Say Thanks By Clicking on the Kudos Star**Hi.....my laserjet 1536dnf mfp was working perfectly with win 8 pro....then I installed win 8.1 pro and now the computer ,which is part of a network,can not communicate with the scanner of the printer--it prints just fine. On another computer (running win 7 ) on the same network, the scanner and all other printer functions work just fine.
I have tried installing the latest drivers from HP......scanner still not "communicating" with computer.....also temporarily disabled firewall.....please help...all the best -David G (gossat) -
Problem with PDF extract in a report
Hi guys,
We are facing a peculiar problem with PDF extract in a report. When we run a report and export PDF , all the records in the result set are populated in the PDF. however, if I navigate away from the report and return back to the same report, and click on export pdf (with the result set already populated) i get a blank PDF document without any records. If i run the report again and then export the PDF it works fine.
Export excel works fine for all cases.
I am assuming it has got something to do with the way the system handles the cache for PDF export.
I also found that this occurs only when we have a value list filter with "none" set as default,and in this case, initially on opening the report for the first time the query does not get executed automatically.
Any help on this would be highly appreciated.
Thanks and Regards,
immanuelHi Immanuel,
Have you tried clearing the cache? My guess is, it is probably a defect.
Regards,
Vikram -
hi, i have a macbook air and i've been having problems with the camera when i'm using skype. i know im no the 1st one and i'd like to know when apple or someone 'll do something about this.
Try reinstalling Combo Update.
http://support.apple.com/kb/DL1676
Best. -
Problems with parameter button in Crystal Report Server 2008
Dear all,
I have problems with parameter button in Crystal Report Server 2008.
when I created some parameters and groups in Crystal Report 2008, they showed both parameters in 'Parameter button' and group in 'Group button' on the left, so I can choose or type without clicking 'Refresh button' But when I added it to Crystal Report Server 2008 and I click parameter button , it doesn't show any parameter. Only click refresh button to choose them. On the other hand, for 'Group Tree' is ok. When go to Default Setting-> Parameter, all parameters are in 'Unused parameter' First time I think I had problems with my installation, but when I reinstalled it again, it was like before.
Could any one help me with this?
I appreciate looking forward to your reply
KetyaTry posting your questionin the correct forum, this is for SAP Business One, not Crystal reports Server
Maybe you are looking for
-
I'm shooting in RAW on a Sony a900 and the images look fine on the back of the camera. When I import the raw images to LR, as I watch them come in they look fine, but once all of them get into the library I watch as something seems to update and dar
-
Table of Service PR line item quantity
Hello Expert, I want to know the table in which the quantities are stored for Service PR. Line item service quantity table where we enter service no and quantities. Regards, Shyam
-
Is This Possible in iWeb?
Hello- Would like to create a site similar to: http://www.simdevgroup.com Think this was done in RapidWeaver. Is this too much to create in iWeb? I just like the looks and flow of the site but it doesn't like any of the iWeb templates. Thanks!
-
Clusters: How to remove the 3D shaded background?
I'm currently building an automated test and cal setup using labview. Here I have loads of input fields and indicators that causes a sea of variables. That sea has now turned into an overwhelming ocean that is anoying to rok with. Whenever I insert a
-
Combining selectOneRadio with other content but text?
Hi! I got a quite simpel task I am currently not able to manage with JSF. I want to combine some Radio-Buttons with content like images or video, simply showing a radiobox in front an image and another and so on. So in terms of JSF i thought i had to