PDF417 security level in Crystal Reports
7 posts • Page 1 of 1
PDF417 security level in Crystal Reports
Is there a way to change the security level/error correction of the PDF417 barcode using the UFL in Crystal Reports?
Thanks
Thanks
- jbonds (legacy member)
Re: PDF417 security level in Crystal Reports
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).
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
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).
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
Ok, sounds good. When will this release be available?
- jbonds (legacy member)
Re: PDF417 security level in Crystal Reports
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
If you are looking for an upgrade module, visit here:
http://www.morovia.com/supportforum/for ... _PN_1.html
http://www.morovia.com/supportforum/for ... _PN_1.html
- glitch (legacy member)
Re: PDF417 security level in Crystal Reports
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:
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
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)
7 posts • Page 1 of 1
Return to Online Utilities and Free Programs
Who is online
Users browsing this forum: No registered users and 0 guests