Click here to Skip to main content
15,891,529 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
I've got a bunch of files, over 2000 of them, that needs to be saved as pdf. Calling them files at this point in time is wrong because its a data report in vb6 that gets populated with data.

I can go through all the "files" and call print on them without dialogue but it's still not automated enough. Atm I've tried two different print drivers but both opens their own file browser in order to save the file. If possible I'd just like to pop in the filename and save directory as arguments and be done with it if it's possible.

My best results so far has been to create a string containing directory path + filename and write to clipboard so all I've got to do is do a ctrl-v and press save but it feels so low tech.

One approach I'm considering is if it's able to hook in to the filebrowser that pops up from vb6 and that way automate paste and save. I don't really care for performance for this because I can just leave it on for several hours if need be as well as divide the work in to chunks if the process should fail.

Just looking for the least time consuming way to implement it atm. Goggling hasn't given me any definite results, mainly just different pdf drivers or discussions around this. Input, thoughts, rants are appreciated. :)
Posted
Comments
Richard Deeming 28-Oct-15 10:15am    
We've had some success using the free version of BullZip[^], but we've also seen intermittent problems with the file path in the runonce.ini file being ignored. We haven't tried the latest version, so some of the issues might have been fixed.
Member 11683251 28-Oct-15 10:21am    
Thanks, I'll check it out. If I can get it to work as I want it would save a lot of time fore me.
Member 11683251 29-Oct-15 2:06am    
They must have updated it because it's working flawlessly for me. Easy to install and configure. Also realized that as long as I know where the file gets saved and what its named I don't need to send file path and name as arguments, I can just change it in my program after the print is done. I'm probably going to use bullzip a lot more in the future.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900