Solved

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

Posted on 2013-01-28
2
380 Views
Last Modified: 2013-01-28
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
Comment
Question by:BIAPRO
2 Comments
 
LVL 9

Accepted Solution

by:
shorvath earned 500 total points
ID: 38826503
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
 

Author Closing Comment

by:BIAPRO
ID: 38828302
Thanks for advise
best regards Jack
0

Featured Post

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There is an easy way, in .NET, to centralize the treatment of all unexpected errors. First of all, instead of launching the application directly in a Form, you need first to write a Sub called Main, in a module. Then, set the Startup Object to th…
If you haven’t already, I encourage you to read the first article (http://www.experts-exchange.com/articles/18680/An-Introduction-to-R-Programming-and-R-Studio.html) in my series to gain a basic foundation of R and R Studio.  You will also find the …
This video teaches viewers about errors in exception handling.
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question