LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Maintaining vector format from control panel to PDF

I am working with LabView 2010 and am plotting out a series of csv files. I want to print out each plot as a separate page (one per csv file) into a single pdf document. The catch is that I need to distribute the application as an install package so pdftk is out of the question. I have downloaded the free pdf toolkit from here and drilled down into the examples. They use bmps of the controls using the "export image" method and pass that to a pdf generator "writer" method. There isn't a vector to vector option for these two methods. The "export image" supports bmp, eps, emf, and pict while the "writer" supports jpeg, jpg, bmp, png, and wmf files.

 

I really don't want to use bitmap. Its has larger file size and zooms awful. Is there a work around to this problem other than shelling out $$$.

 

Norm

0 Kudos
Message 1 of 4
(2,756 Views)

This tool is free. http://www.pdfforge.org/ Perhaps it can help you



Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
(Sorry no Labview "brag list" so far)
0 Kudos
Message 2 of 4
(2,733 Views)

All the export formats are bitmaps of some sort. If you want to define graphic files on your own, that is possible. You'll have to figure out how to build a binary file that follows the correct format. You can extract the image data in raw form using the Get Image method. I've never seen anyone do this before, but it's theoretically possible. This is a task that will require an intimate knowledge of the low level storage organization of vector types.

 

Also it looks the writer only supports bitmaps (wmf can contain vector data, but based on the other types i doubt the writer uses it), so creating the custom file type probably wont help you. You may have to bite the bullet and use bitmaps. 

Verne D. // Software R&D // National Instruments
0 Kudos
Message 3 of 4
(2,696 Views)

I know that when I use Acrobat to make a pdf that vector formating is maintaind. I wonder if its possible to use some of Adobe's dll's to do this conversion?

0 Kudos
Message 4 of 4
(2,686 Views)