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 - PDF417 Barcode and DrawText Question
  FAQ FAQ  Forum Search   Register Register  Login Login

PDF417 Barcode and DrawText Question

 Post Reply Post Reply
Author
Message
hrdware View Drop Down
Team Player
Team Player
Avatar

Joined: 16 May 13
Location: Oklahoma, USA
Status: Offline
Points: 24
Post Options Post Options   Thanks (0) Thanks(0)   Quote hrdware Quote  Post ReplyReply Direct Link To This Post Topic: PDF417 Barcode and DrawText Question
    Posted: 16 May 13 at 7:03PM
I am currently evaluating QuickPDF for a project and so far it looks good.  I do have a couple of questions though.

I have a single page PDF that I will use as a source document and the target document will have several copies of the source document with different data on each page.  What is the best way to do this?

Draw the data on the source then merge it with the target, close and reopen the source?  Is there a way to draw text on a particular page?

Next question is about the PDF417 barcode.  Is there a way I can specify the then number of columns the barcode uses?  Can I specify the number of error correction words to use?  Can I specify the height of each encoded item?

Thanks.


Edited by hrdware - 18 May 13 at 2:37AM
Back to Top
hrdware View Drop Down
Team Player
Team Player
Avatar

Joined: 16 May 13
Location: Oklahoma, USA
Status: Offline
Points: 24
Post Options Post Options   Thanks (0) Thanks(0)   Quote hrdware Quote  Post ReplyReply Direct Link To This Post Posted: 24 Jun 13 at 1:45PM
Since I will know how many pages I will need in total, I found a way to clone pages in the PDF.  What I will end up doing is copying the source document to a temporary file, cloning the pages then using SelectPage to change pages and write the data to the appropriate page.
Back to Top
AndrewC View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 08 Dec 10
Location: Geelong, Aust
Status: Offline
Points: 841
Post Options Post Options   Thanks (0) Thanks(0)   Quote AndrewC Quote  Post ReplyReply Direct Link To This Post Posted: 26 Jun 13 at 6:08AM
The required PDF417 barcode changes have been added to a new function called DrawPDF417SymbolEx which is part of 9.13 beta 3 and can be downloaded from

http://www.debenu.com/blog/debenu-quick-pdf-library-9-15-beta-3-released.html

Andrew.
Back to Top
joim View Drop Down
Beginner
Beginner


Joined: 28 Mar 14
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote joim Quote  Post ReplyReply Direct Link To This Post Posted: 28 Mar 14 at 3:06PM
Hello,

I have an additional question to PDF417 barcode generation:

For object positioning reasons I need to specify the exact size of a PDF417 symbol (width and height) or if this is not possible I at least need to know the size of resulting generated barcode symbol.

I did not figure out how I can specify size even with the function DrawPDF417SymbolEx.
I guess that there is no combination of parameters "FixedColumns", "FixedRows", "ModuleSize"
and "HeightWidthRatio" that guarantees a defined size of resulting barcode symbol, is that correct?
If it is so, is there any possiblity to retrieve resulting symbol size after barcode generation?

Thank you for any ideas or more detailed information about sizing parameters of PDF417 barcodes.

Johannes
Back to Top
hrdware View Drop Down
Team Player
Team Player
Avatar

Joined: 16 May 13
Location: Oklahoma, USA
Status: Offline
Points: 24
Post Options Post Options   Thanks (0) Thanks(0)   Quote hrdware Quote  Post ReplyReply Direct Link To This Post Posted: 28 Mar 14 at 4:39PM
Johannes,

If I remember correctly, the width of a module is the ModuleSize, there are 7 modules per Column.  The height of the module is the ModuleSize multiplied by the HeightWidthRatio.  If you know the number of columns and rows you need, or the overall dimensions you should be able to figure out the other.  Modulesize is whatever you have the current measurement set to.

If ModuleSize =1, HeightWidthRation = 3, FixedColumns = 4, FixedRows = 3, and using the default measurements, then

width = 1 x 7 = 7; 7 x 4=28
height = 1 x 3 = 3; 3 x 3 = 9

If I did everything correct, this should give a 28 x 9 point symbol.

If you know the height has to be 40 points and the width has to be 60, with FixedCols = 5 and Fixed Rows = 3 then

modulesize = 60 / 5 = 12; 12 / 7 = 1.7143 (rounded)
heightwidthratio = 40 / 3 = 13.3333; 13.3333 / 1.7143 = 7.7778 (rounded)

Hope that helps

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