LAVA Forums Buy cool LAVA gear Forums RSS Feed

Welcome Guest ( Log In | Register )

> Related links

Check out the related Code Repository Files or visit the LabVIEW Wiki Development Environment Portal


Tags
(This content has not been tagged yet)
 
Reply to this topic Start new topic
> VI to convert .html to .PDF
b_subhasis
post Sep 2 2008, 06:11 AM
Post #1


I want a LabVIEW icon under my name!


Member
Posts: 3
Joined: 30-November 06
From: Bangalore,India
Member No.: 7061
Using LabVIEW Since:2002
LV:7.1 ,8.20 ,8.5
India Nothing Selected Nothing Selected


Hi,

I had a requirement to convert a html file to a pdf using a VI.I have tried finding the web for a solution or an idea.But could not find any.Has anyone got an example to convert the same.

Regards,
Subhasis



--------------------
Thanks,
Subhasis Bera


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
Ad
post Sep 2 2008, 06:11 AM
Post #















Tags
(This content has not been tagged yet)
Go to the top of the page
Quote Post
Ton
post Sep 2 2008, 06:31 AM
Post #2


CCT It
*****

Premium Member
Posts: 1337
Joined: 13-June 05
From: Woerden, Netherlands
Member No.: 2399
Using LabVIEW Since:2001
LV:8.5.1 ,6.1 ,8.2.1
Netherlands hol_utrecht Nothing Selected My Blog My Gallery


QUOTE (b_subhasis @ Sep 2 2008, 08:11 AM) *
I had a requirement to convert a html file to a pdf using a VI.I have tried finding the web for a solution or an idea.But could not find any.Has anyone got an example to convert the same.

That's not an easy task. Carya has a toolkit to build PDFs

Ton

--------------------
Certified LabVIEW Developer
Shouldn't you be programming a Code Repository solution?


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
Tim_S
post Sep 2 2008, 03:24 PM
Post #3


Very Active
***

Member
Posts: 99
Joined: 23-February 06
From: Detroit, MI USA
Member No.: 4230
Using LabVIEW Since:1994
LV:8.0.1 ,8.5.1 ,7.1
United States Nothing Selected Nothing Selected


QUOTE (b_subhasis @ Sep 2 2008, 02:11 AM) *
I had a requirement to convert a html file to a pdf using a VI.I have tried finding the web for a solution or an idea.But could not find any.Has anyone got an example to convert the same.


Are you converting the code to write a pdf instead of html or converting the existing html to a pdf? I assume the second... It seems the easiest option would be to install a pdf writer (looks like a printer) and then print the html from a web browser, which could be controlled programically using ActiveX or .NET.

Tim


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
Scott Carlson
post Sep 2 2008, 04:54 PM
Post #4


Active
*

Member
Posts: 23
Joined: 28-July 08
From: CT
Member No.: 12118
Using LabVIEW Since:2005
LV:8.5.1 ,. ,.
United States Nothing Selected Nothing Selected


QUOTE (b_subhasis @ Sep 2 2008, 02:11 AM) *
Hi,

I had a requirement to convert a html file to a pdf using a VI.I have tried finding the web for a solution or an idea.But could not find any.Has anyone got an example to convert the same.

Regards,
Subhasis


Download a PDF Printer (i.e. CutePDF).. Then write a Labview program to Print the HTML to the PDF Printer.. Done.

-Scott


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
Shaun Hayward
post Sep 5 2008, 02:24 PM
Post #5


Active
*

Member
Posts: 20
Joined: 22-October 07
Member No.: 9667
Using LabVIEW Since:2004
LV:8.6 ,8.5.1 ,7.1
United States us_new_york United Kingdom


An option I useds a while back that worked nicely (although is not free) was to use an ActiveX/.Net component (it comes with both interfaces) called Many2PDF - basically it will, without the need for setting up printers on machines, etc will convert a variety of file formats to a pdf document with no user interaction. We then used the standard LabVIEW HTML reporting tools to create a report (which could be printed if necessary) and every time a report was created, seemlessly save a pdf version (complete with images, tables etc) to disk. If anyone is interested I would be happy to put up my (very basic) VI that that generates uses this tool.

I'm not sure how this would compare to the Carya offereing as I had not come across that one until today!

Shaun


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post

Reply to this topicStart new topic

 




Time is now: 1st December 2008 - 11:50 PM