08-21-2008 08:41 AM
Hi,
I know that this subject has been discussed already several times in the past, but browsing through all those contributions I couldn't really find "the solution". The task is as follows: An html file shall be printed to a pdf file using the Adobe pdfwriter that is installed on the PC. The printing shall be performed entirely in the background so that no pop-up windows appear, especially no display of the freshly generated pdf in an Acrobat window after the printing finished. The Adobe pdf writer shall not be necassarily the default printer. The name of the pdf file to generate shall be defined from the LabVIEW code.
I've already played around with the Print Report.vi and some ActiveX methods but nothing did work really well.
Any hint on a magic command line that covers all requirements?
Thanks a lot,
Peter
08-21-2008 11:28 PM
Hi Peter,
you can change the default printer if you change some entries in the registry. You can configure the pdfwriter to print automatically into a specified folder. You can specify a fixed filename format. From your program you can check if the new pdf exists and if it exists you can copy, move or rename it to the folder you want.
Hope it helps.
Mike
08-26-2008 03:44 AM - edited 08-26-2008 03:52 AM
Hey,
When you change the report type to HTML it doesn't matter which printer you choose to print the report, always the default printer will be used. We know this issue and the workarround Mike suggested is the only solution.
Christian
08-26-2008 07:17 AM
I'm sorry, it's not an issue, it's a known behaviour and documented within the LabVIEW help of this function.
Regarding to your question how to save a HTML report as PDF without pupup.
I'm using PDFCreator which is configurable to make an autosave without popup. So you can use the Print Report.vi and the PDFCreater and it should work.
Christian
03-16-2009 05:53 AM
Hi Christian,
i am using the HTML to PDF Converter is CutePDF Writter. when ever i am create the PDF by using Print Report.vi the pop-up will open.how can i with out pop-up create the pdf.
please tell me the configurable to make without popup.
Sivaraj.
03-17-2009 01:22 PM - edited 03-17-2009 01:23 PM
03-25-2009 04:11 AM
Hi gammalight,
U have any example progream please send me.
03-25-2009 06:16 PM
Hey,
Adobe Standard gives you a whole bunch more active x commands. You'll have to buy that and use it. I would show you what I have done but unfortunatley I was laid off from my position and do not have that code anymore. Damn economy.
11-08-2010 09:47 PM
That's a shame. I am also looking for a routine that sends a front panel to a PDF file using Acrobat Pro 9 without a SAVE AS window.
01-27-2012 06:52 AM
Hello,
Are there any updates on how to programmatically create a PDF file using Labview? I am creating a report and using the Adobe printer driver to create a PDF file and would like to avoid the popup to set the path and file name of the pdf file