Print Page | Close Window

10.11 - how to use DrawQRCode()

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=2782
Printed Date: 18 May 24 at 6:42PM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: 10.11 - how to use DrawQRCode()
Posted By: hubbra
Subject: 10.11 - how to use DrawQRCode()
Date Posted: 14 Nov 13 at 2:24PM
Hi,

I do get 0 back from DrawQRCode(), but no error is shown by DPLLastErrorCode(InstanceID)
Its PowerBasic, with the ANSI _PB9.INC :

' this code ist OK ...
DPLSetPageSize(InstanceID, "A4" )
DPLSetOrigin(InstanceID, 1 )            ' 1 = Top left
DPLSetMeasurementUnits(InstanceID, 1 )  ' mm
DPLSetAnsiMode(InstanceID, 0)   ' Steuert ANSI oder UTF8 Parameter
DPLDrawText(InstanceID,20,30, "Hello world äöü "+DATE$+" - "+TIME$)
DPLDrawText(InstanceID,x+10,y+5, "Outline äöü")
     x = 100 ' mm from left
     y = 100 ' mm from top
     ? "x:" x, "y:", y
ret = DPLDrawText(InstanceID,x,y-7, "QR-Code:")
' this Strings are in the saved PDF, but ...

ret = DPLDrawQRCode( InstanceID, x, y, 20, "Test", 1, 0)

returns 0 and nothing inside.





Replies:
Posted By: hubbra
Date Posted: 15 Nov 13 at 7:32AM
tryed with

DPLDrawQRCode( InstanceID, x, y, 200, "Test", 1, 0) and 300 ... maybe pixel ?

but the same 0 as return and nothing to print.





Posted By: hubbra
Date Posted: 15 Nov 13 at 11:59AM
I got an answer from the support, will be fixed in the next update ... Smile



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