| |
   
Morovia.com Home | Fonts | Components | Labeling | Library | Order | Forum
  Active TopicsActive Topics  Display List of Forum MembersMemberlist  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
2D symbology
 Community Forum : 2D symbology
Subject Topic: Strange things from the PDF417 font Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
Loopy
Newbie
Newbie


Joined: September 13 2005
Location: United States
Posts: 9
Posted: September 13 2005 at 8:34am | IP Logged Quote Loopy

I'm new to PDF417, and I'm having a problem.  I am kind of in a testing phase, and wrote a quick VB application that takes an input string then encodes it for PDF417 using the ActiveX control that was sent with the fontset.  I then take the encoded string and plug it into a fillable PDF and drop it into a text field utilizing the PDF417 font.  For some reason, the resultant barcode looks very odd.  Basically, it takes each line of the bar code and puts at least two carriage returns between them so the bar code is not stacked directly on top of each other into one barcode, but look live several individual barcodes double spaced in a long column.  I skipped the middle step and had the VB application create the barcode directly and was met with similar results, except this time it doesn't have any carriage returns, it just strings them all out end to end.  Any thoughts?
Back to Top View Loopy's Profile Search for other posts by Loopy
 
glitch
Admin Group
Admin Group
Avatar

Joined: January 25 2003
Location: Canada
Posts: 280
Posted: September 13 2005 at 10:22am | IP Logged Quote glitch

Loopy,

First make sure that you resize the text box to hold a full PDF417 row. If the text box is too small, the line will wrap and extra spaces will be displayed.

If you still see extra blank line between the rows, the text box may not handle the line feed propertly. By default, the encode ActiveX outputs "\r\n" (corresponding to vbCrLf) at the end of each line. Some text box interpreates these two characters as two carriage returns. If that is the case, set LineFeedString property to chr(13), or "\n" only.

object.LineFeedString = chr(13)

Back to Top View glitch's Profile Search for other posts by glitch Visit glitch's Homepage
 
Loopy
Newbie
Newbie


Joined: September 13 2005
Location: United States
Posts: 9
Posted: September 13 2005 at 10:47am | IP Logged Quote Loopy

Works great in VB now, but same result in Acrobat.
Back to Top View Loopy's Profile Search for other posts by Loopy
 
glitch
Admin Group
Admin Group
Avatar

Joined: January 25 2003
Location: Canada
Posts: 280
Posted: September 13 2005 at 11:09am | IP Logged Quote glitch

Loopy wrote:
Works great in VB now, but same result in Acrobat.

How do you make the PDF file? We tested with distiller and no problems. Some third party PDF programs may not handle \r\n properly.

Back to Top View glitch's Profile Search for other posts by glitch Visit glitch's Homepage
 
Loopy
Newbie
Newbie


Joined: September 13 2005
Location: United States
Posts: 9
Posted: September 13 2005 at 12:45pm | IP Logged Quote Loopy

Well, first I was just copying the encoded text from the VB app and pasting it into the PDF file.  Now, I'm outputting the encoded text to a file and reading it in through a data object in Acrobat.  I'm running Acrobat 7 professional.
Back to Top View Loopy's Profile Search for other posts by Loopy
 
Loopy
Newbie
Newbie


Joined: September 13 2005
Location: United States
Posts: 9
Posted: September 13 2005 at 12:46pm | IP Logged Quote Loopy

The thing is, it's a fillable PDF, and I enter the data directly into a text field on the PDF, not distilling it.
Back to Top View Loopy's Profile Search for other posts by Loopy
 
glitch
Admin Group
Admin Group
Avatar

Joined: January 25 2003
Location: Canada
Posts: 280
Posted: September 13 2005 at 4:38pm | IP Logged Quote glitch

Now I understand. It seems that the internal height of the font needs some modification to accommodate this scenario. I will get back to you once we have a solution.
Back to Top View glitch's Profile Search for other posts by glitch Visit glitch's Homepage
 
Loopy
Newbie
Newbie


Joined: September 13 2005
Location: United States
Posts: 9
Posted: September 14 2005 at 9:25am | IP Logged Quote Loopy

Great - thanks!
Back to Top View Loopy's Profile Search for other posts by Loopy
 
glitch
Admin Group
Admin Group
Avatar

Joined: January 25 2003
Location: Canada
Posts: 280
Posted: September 15 2005 at 12:33pm | IP Logged Quote glitch

Loopy,

We found the problem cause. Visit the article below to obtain a fix:

http://www.morovia.com/support/article10070.html

Let me know if you have any questions.

Back to Top View glitch's Profile Search for other posts by glitch Visit glitch's Homepage
 
Loopy
Newbie
Newbie


Joined: September 13 2005
Location: United States
Posts: 9
Posted: September 15 2005 at 12:46pm | IP Logged Quote Loopy

Excellent - thanks!  I'll try it out and let you know what happens.  THanks for your quick response on this - you guys are great!
Back to Top View Loopy's Profile Search for other posts by Loopy
 
Loopy
Newbie
Newbie


Joined: September 13 2005
Location: United States
Posts: 9
Posted: September 15 2005 at 1:26pm | IP Logged Quote Loopy

I'm still getting the same result.  Is there any way I could send you my PDF so you can test it there and see if I'm just screwing up something over on this end?
Back to Top View Loopy's Profile Search for other posts by Loopy
 
glitch
Admin Group
Admin Group
Avatar

Joined: January 25 2003
Location: Canada
Posts: 280
Posted: September 15 2005 at 2:09pm | IP Logged Quote glitch

Loopy,

Send the PDF to support@morovia.com we'll take a look.

Also you may consider starting with a new PDF document after you install the new fonts. Acrobat grabs the fonts into the document right after you create an edit box and select the font.



Edited by glitch on September 15 2005 at 2:12pm
Back to Top View glitch's Profile Search for other posts by glitch Visit glitch's Homepage
 
Loopy
Newbie
Newbie


Joined: September 13 2005
Location: United States
Posts: 9
Posted: September 15 2005 at 2:50pm | IP Logged Quote Loopy

You know what, I didn't think about that.  I'll try a new PDF and see what happens.
Back to Top View Loopy's Profile Search for other posts by Loopy
 
Loopy
Newbie
Newbie


Joined: September 13 2005
Location: United States
Posts: 9
Posted: September 15 2005 at 3:00pm | IP Logged Quote Loopy

Recreated the PDF document, met with the same result.  Let me know what you guys find.
Back to Top View Loopy's Profile Search for other posts by Loopy
 
glitch
Admin Group
Admin Group
Avatar

Joined: January 25 2003
Location: Canada
Posts: 280
Posted: September 15 2005 at 3:35pm | IP Logged Quote glitch

The fonts worked on Acrobat 6.0. After I moved the document to 7.0, the barcode initially looked good, but extra spaces appear whenever I change the content.

I'll think about it and get back to you soon.

Back to Top View glitch's Profile Search for other posts by glitch Visit glitch's Homepage
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.3594 seconds.