Do you own a Debenu Quick PDF Library version 7, 8, 9, 10, 11, 12, 13 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 14 today!

Debenu Quick PDF Library - PDF SDK Community Forum Homepage
Forum Home Forum Home > For Users of the Library > I need help - I can help
  New Posts New Posts RSS Feed - 10.11 - how to use DrawQRCode()
  FAQ FAQ  Forum Search   Register Register  Login Login

10.11 - how to use DrawQRCode()

 Post Reply Post Reply
Author
Message
hubbra View Drop Down
Beginner
Beginner


Joined: 22 Jun 06
Location: Germany
Status: Offline
Points: 13
Post Options Post Options   Thanks (0) Thanks(0)   Quote hubbra Quote  Post ReplyReply Direct Link To This Post Topic: 10.11 - how to use DrawQRCode()
    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.


Back to Top
hubbra View Drop Down
Beginner
Beginner


Joined: 22 Jun 06
Location: Germany
Status: Offline
Points: 13
Post Options Post Options   Thanks (0) Thanks(0)   Quote hubbra Quote  Post ReplyReply Direct Link To This Post 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.



Back to Top
hubbra View Drop Down
Beginner
Beginner


Joined: 22 Jun 06
Location: Germany
Status: Offline
Points: 13
Post Options Post Options   Thanks (0) Thanks(0)   Quote hubbra Quote  Post ReplyReply Direct Link To This Post Posted: 15 Nov 13 at 11:59AM
I got an answer from the support, will be fixed in the next update ... Smile
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.01
Copyright ©2001-2014 Web Wiz Ltd.

Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. AboutContactBlogSupportOnline Store