PDF417 security level in Crystal Reports

Discussions related to our free online utilities, such as free qr code maker and online barcode generator. Free utilities such as pdf417decode are also supported here.

PDF417 security level in Crystal Reports

Postby jbonds (legacy member) on Sun Jul 11, 2004 4:22 am

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

Thanks
jbonds (legacy member)
 

Re: PDF417 security level in Crystal Reports

Postby glitch (legacy member) on Sun Jul 11, 2004 10:43 am

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).
glitch (legacy member)
 

Re: PDF417 security level in Crystal Reports

Postby Guest on Sun Jul 11, 2004 2:31 pm

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).
Guest
 

Re: PDF417 security level in Crystal Reports

Postby jbonds (legacy member) on Mon Jul 12, 2004 8:42 am

Ok, sounds good. When will this release be available?
jbonds (legacy member)
 

Re: PDF417 security level in Crystal Reports

Postby glitch (legacy member) on Tue Aug 30, 2005 7:06 pm

It will be released at the end of the month as a separate upgrade module.
glitch (legacy member)
 

Re: PDF417 security level in Crystal Reports

Postby glitch (legacy member) on Wed Feb 07, 2007 11:05 am

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

http://www.morovia.com/supportforum/for ... _PN_1.html
glitch (legacy member)
 

Re: PDF417 security level in Crystal Reports

Postby RussellHaper (legacy member) on Wed Feb 07, 2007 11:06 am

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:
Code: Select all
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
RussellHaper (legacy member)
 


Return to Online Utilities and Free Programs

Who is online

Users browsing this forum: No registered users and 0 guests