Print Page | Close Window

NewCustomPrinter not working in VB6

Printed From: Debenu Quick PDF Library - PDF SDK Community Forum
Category: For Users of the Library
Forum Name: I need help - I can help
Forum Description: Problems and solutions while programming with the Debenu Quick PDF Library and Debenu PDF Viewer SDK
URL: http://www.quickpdf.org/forum/forum_posts.asp?TID=1190
Printed Date: 16 Jul 25 at 10:07PM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: NewCustomPrinter not working in VB6
Posted By: Trantor
Subject: NewCustomPrinter not working in VB6
Date Posted: 28 Aug 09 at 3:54PM
In trying to print several copies of a PDF document in a VB6 ActiveX using the version 7.15 of the library with the following code:
 
newPrinter = QP.NewCustomPrinter(QP.GetDefaultPrinterName)
 
QP.SetupCustomPrinter(newPrinter, 4, nCopias)
 
QP.PrintDocument(newPrinter, 1, 4, 0)
 
and I always get and empty string in the call to NewCustomPrinter.
 
Any ideas ?



Replies:
Posted By: deabrew
Date Posted: 28 Aug 09 at 4:12PM
Yes, there is a bug in the SetupCustomPrinter method -- this is currently being rectified and will be included with version 7.16.

7.16 Beta 3 will be available early next week.

Cheers, Karl


Posted By: Rowan
Date Posted: 29 Aug 09 at 2:11AM
I've put version 7.14, which did not contain this bug, on the website for you to download if you would like to use this function immediately.

http://www.quickpdflibrary.com/downloads/binaries/qp/quick_pdf_library_714.exe - http://www.quickpdflibrary.com/downloads/binaries/qp/quick_pdf_library_714.exe



Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.01 - http://www.webwizforums.com
Copyright ©2001-2014 Web Wiz Ltd. - http://www.webwiz.co.uk