Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Creating pdf files 2

Status
Not open for further replies.

Cubby1

Programmer
Joined
May 24, 2004
Messages
5
Location
US
I have a data acquisition program and the results are normally displayed as waveforms on the screen using the picture.pset command to display the individual data points.

To print the waveforms, I use a similar routine using the printer.pset command to print the data points.

Now clients are requesting electronic versions of our reports and we have no way to do so without scanning the printed waveforms.

Does anyone have an idea how to create a pdf file from the vb application?

I can choose ADOBE PDF as the printer, which will create the pdf file we want, but the user has to enter the file name before the file is created.

We need to create the file without user intervention beyond pressing the print button. We want to be able to name the file from a variable name in the program.

Any ideas?

thanks,

Cubby1
 
Cubby1,

Recent stuff in VBA at thread707-1119207 may be of interest.

Hugh,
 
I have used a programme called jawspdf to do this. This creates a pdf in a preset location with a preset filename. You can then copy it to where you want. Trying to get Acrobat Printer to do the same seems to be fraught with difficulties.
 
I've used this FREE PDF writer in the past. Works like a champ.

When printing, just select the Cute PDF printer, you'll be prompted for a file name, click OK, and done.


-George

Strong and bitter words indicate a weak cause. - Fortune cookie wisdom
 
the user has to enter the file name before the file is created"

This is same problem as CutePDF...

The only one I've seen that does not require mucking about in the registry is "pdf995". It stores output file name and folder info in an .ini file. All you need to do is write the .ini file with your code before calling the print dialog.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top