Print Page | Close Window

SetupCustomPrinter returns 0

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=1997
Printed Date: 04 Apr 26 at 8:03PM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: SetupCustomPrinter returns 0
Posted By: juanfrand
Subject: SetupCustomPrinter returns 0
Date Posted: 13 Oct 11 at 10:36PM
Hello,

I've a problem when trying to create a custom printer and customize it.

When I run this:

Dim printernames = QP.GetPrinterNames()
Dim CustomPrinter = QP.NewCustomPrinter(myPrinterName)
ret = QP.SetupCustomPrinter(CustomPrinter, 1, 1)
ret = QP.SetupCustomPrinter(CustomPrinter, 4, 1)
ret = QP.SetupCustomPrinter(CustomPrinter, 5, 1)
ret = QP.SetupCustomPrinter(CustomPrinter, 6, 1)
ret = QP.SetupCustomPrinter(CustomPrinter, 7, 1)
ret = QP.SetupCustomPrinter(CustomPrinter, 8, 1)

printernames returns "". CustomPrinter is set on  "8 , and ret is returning 0.

I'm using Win 7 x64.

Thank you,

Regards,

Juan D'Angelo



Replies:
Posted By: AndrewC
Date Posted: 14 Oct 11 at 1:35PM
What QPL version are you using ?  7.26, 8.11 -  Delphi, ActiveX, DLL ?




Posted By: juanfrand
Date Posted: 14 Oct 11 at 1:42PM
I'm using QPL 8.11 DLL version.


Posted By: juanfrand
Date Posted: 20 Oct 11 at 4:03PM
I've resolved the issue by using the ActiveX instead of the DLL version. 

Thanks.



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