Solved

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

Posted on 2013-01-28
2
385 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Enroll in May's Course of the Month

May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
splitOdd10 challenge 5 133
Best way to parse out a json string in VB6? 10 386
Recommendation vb6 to vb.net or others 14 240
Count text color with conditional formating in Excel 4 67
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…
Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
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.

737 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