‎08-06-2010
07:49 PM
- last edited on
‎04-03-2024
02:32 PM
by
Content Cleaner
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
‎08-07-2010 03:38 PM
This tool is free. http://www.pdfforge.org/ Perhaps it can help you
‎08-09-2010 10:45 AM
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.
‎08-09-2010 11:13 AM
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?