• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 397
  • Last Modified:

COMBINING MULTIPLE PRINTS/DOCUMENTS FROM COMMANDLINE OR VB6 TO ONE PDF

I can set in VB6 as default printer my PDF virtual printer and set
all output to printer from that moment to  e.g. pdf document test.pdf
on printer.enddoc command the pdf gets saved

But:
I need by using shell commands or any other better way
to print 1 excel sheet, 1  word document, 1  other pdf document
They all has to go  to one pdf output , how to do this ?
0
BIAPRO
Asked:
BIAPRO
1 Solution
 
shorvathCommented:
I've done this in the past and it's quite easy.  Just go to this site and download PDFTK (free)

http://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/

Now all you have to do is print each of your documents to a temp PDF folder and use the toolkit to combine them into one PDF document.

The PDF toolkit can be used inside VB6 via the ShellExecute API
0
 
BIAPROAuthor Commented:
Thanks for advise
best regards Jack
0

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Tackle projects and never again get stuck behind a technical roadblock.
Join Now