|
-
Aug 8th, 2012, 09:52 AM
#1
Thread Starter
Junior Member
Send PDF file to printer
Hi
A VB6 project sends PDF files to a printer.
Its uses Adobe Reader, but has stopped working now the user has switched to Adobe Reader 10.
I can change the code to work with Adobe Reader 10, but am also interested in offering a solution that is not dependent on Adobe Reader.
Does anyone have any recommendations of 3rd party components I could reference in my VB6 project to send PDf files to a printer?
Thanks
-
Aug 8th, 2012, 01:01 PM
#2
Re: Send PDF file to printer
I've been using QuickPDF for all of my PDF needs (including printing) for a couple of years now, and I have been very happy with it. However, it is not free (although distribution is royalty-free, so you only need a developer license), so that might be a deal-breaker for you.
-
Aug 8th, 2012, 04:10 PM
#3
Re: Send PDF file to printer
if the pdf files are already created, you can use shellexecute API with the print verb
this will use the default pdf reader program on any computer
there is many examples in this forum
i do my best to test code works before i post it, but sometimes am unable to do so for some reason, and usually say so if this is the case.
Note code snippets posted are just that and do not include error handling that is required in real world applications, but avoid On Error Resume Next
dim all variables as required as often i have done so elsewhere in my code but only posted the relevant part
come back and mark your original post as resolved if your problem is fixed
pete
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|