?
Solved

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

Posted on 2013-01-28
2
Medium Priority
?
392 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 2000 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

How to remove superseded packages in windows w60 or w61 installation media (.wim) or online system to prevent unnecessary space. w60 means Windows Vista or Windows Server 2008. w61 means Windows 7 or Windows Server 2008 R2. There are various …
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
This video teaches viewers about errors in exception handling.
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.
Suggested Courses

771 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