Solved

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

Posted on 2013-01-28
2
382 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
passing a value with stream reader AFTER a ";" 3 82
Sorting multiple rows and columns, and count duplicates in Excel 2013 4 93
Hide vba in gp 7 113
Problem to With line 4 73
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

685 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