LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can I convert a .xls file to a .pdf file without having to convert it to a .ps file first, using active x?

Hello,
 
As part of my report writing feature I need to convert a .xls file to a .pdf file.  The only way I could figure out how to do this is to go from .xls to .ps and then .ps to .pdf.  I am using active x controls to do this, with MS Excel 2007.  I would like to take out the .ps step if at all possible but I can not find a refernce to a printer in active x that will allow me to go straight from .xls to .pdf.  The reference to the printer I am using is ACRODISTXLib.IPdfDistiller6.  This is the only refernece I could find to allow me to even make a pdf.  Is there another printer driver I can download that will allow me to do this?  Has anyone else made pdf's from excel files without making a postscript file first?  Many thanks in advance and happy new year.  Smiley Happy
0 Kudos
Message 1 of 3
(3,029 Views)
Does the printer show up in the Windows Printers folder?  We've used PDF995 or Cute pdfwriter for years.  All of these create virtual windows printers.  When you print to them, a dialog box pops up asking for the filename for the pdf.  If you have Activex calls to Excel in order to open a file, you should be able to make ActiveX calls to print it to a print driver such as this.  I don't know if any of these drives have a way to bypass the filename dialog box.  That may take some research and experimentation.  I don't know where the postscript file comes into play in the scenario you are describing.
0 Kudos
Message 2 of 3
(3,018 Views)
Another good one is Bullzip PDF printer.

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 3 of 3
(3,010 Views)