| |
   
Morovia.com Home | Fonts | Components | Labeling | Library | Order | Forum
  Active TopicsActive Topics  Display List of Forum MembersMemberlist  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
Software Solutions
 Community Forum : Software Solutions
Subject Topic: PDF417 security level in Crystal Reports Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
jbonds
Newbie
Newbie


Joined: July 11 2004
Location: United States
Posts: 12
Posted: July 11 2004 at 4:22am | IP Logged Quote jbonds

Is there a way to change the security level/error correction of the PDF417 barcode using the UFL in Crystal Reports?

Thanks



__________________
John
Back to Top View jbonds's Profile Search for other posts by jbonds
 
glitch
Admin Group
Admin Group
Avatar

Joined: January 25 2003
Location: Canada
Posts: 280
Posted: July 11 2004 at 10:43am | IP Logged Quote glitch

The current UFL does not support setting the security level. It sets the propety to automatic (9).

We will accommodate this request into the next release of 2D UFLSurrogate upgrade. It will be released as a minor upgrade to the 2D UFL module(free upgrade).

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


Joined: July 11 2004
Location: United States
Posts: 12
Posted: July 11 2004 at 2:31pm | IP Logged Quote jbonds

Ok, sounds good. When will this release be available?

__________________
John
Back to Top View jbonds's Profile Search for other posts by jbonds
 
glitch
Admin Group
Admin Group
Avatar

Joined: January 25 2003
Location: Canada
Posts: 280
Posted: July 12 2004 at 8:42am | IP Logged Quote glitch

It will be released at the end of the month as a separate upgrade module.

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

Joined: January 25 2003
Location: Canada
Posts: 280
Posted: August 30 2005 at 7:06pm | IP Logged Quote glitch

If you are looking for an upgrade module, visit here:

http://www.morovia.com/supportforum/forum_posts_TID_191_PN_1.html

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


Joined: February 07 2007
Location: United Kingdom
Posts: 1
Posted: February 07 2007 at 11:05am | IP Logged Quote RussellHarper

If you have an SQL back-end then.....

The best way I found to alter the security level and other attributes is to create an SQL Function which returns the encoded results to Crystal Reports. This eliminates using the MoroviaPDF417Encode function in Crystal Reports and having to use trunk numbers to seperate a string that is more than 255 characters. Here's the function I created:

CREATE FUNCTION fn_2dbarcode (@datain char(263))
RETURNS varchar(3000)
AS
BEGIN
     DECLARE @obj int
     DECLARE @Result varchar(5000)
     
     EXEC @Result = sp_OACreate 'Morovia.PDF417FontEncoder', @obj OUT

     EXEC @Result = sp_OASetProperty @obj, 'PDFMaxCols', '9'
     EXEC @Result = sp_OASetProperty @obj, 'PDFMaxRows', '0'
     EXEC @Result = sp_OASetProperty @obj, 'PDFSecurityLevel', '4'

     EXEC @Result = sp_OAMethod @obj, 'Encode', @Result OUT, @datain
     EXEC sp_OADestroy @obj OUT

     RETURN(@Result)
END

I then created a view which passed my 2D barcode into the function to return the encoded result. If you want you could make the max columnns/rows and security levels paramaters that are passed in when the SQL function is called

Edited by RussellHarper on February 07 2007 at 11:06am
Back to Top View RussellHarper's Profile Search for other posts by RussellHarper
 

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.3438 seconds.