Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Reduce the Width & Height for Data Matrix Barcode

former_member209372
Participant
0 Likes
3,100

Hi,

    I need to Data Matrix Barcode for small label in Smartform, when I assign it in Smartstyles the default size is 40MM & 20MM and i'm not able to change the size.

How we can change the size for Barcode.?

Thank You

1 ACCEPTED SOLUTION
Read only

Private_Member_7726
Active Contributor
0 Likes
2,085

Hi,

You should be able to control the Datamatrix output size using "Module size" (2001392 - Support for Datamatrix ECC200 Barcode in SAPscript and Smart Forms) when setting up the barcode. The size allocated to the Barcode element in Smartstyle is fixed and (somewhat confusingly) unrelated to the actual output size...

cheers

Jānis

6 REPLIES 6
Read only

Private_Member_7726
Active Contributor
0 Likes
2,086

Hi,

You should be able to control the Datamatrix output size using "Module size" (2001392 - Support for Datamatrix ECC200 Barcode in SAPscript and Smart Forms) when setting up the barcode. The size allocated to the Barcode element in Smartstyle is fixed and (somewhat confusingly) unrelated to the actual output size...

cheers

Jānis

Read only

0 Likes
2,085

Dear Jānis,

   Yes, i reduce the font size in Smart Style Page and assign it to my Barcode text element in smartform and it's worked.

Thank You

Read only

0 Likes
2,085

Wierd, I should look at it then sometime (from the experience with PDF417 I was under impression that one can not control anything via the Style attributes)...

cheers

Janis

Read only

0 Likes
2,085

Hi Janis,

   But when i tried to reduce the size of font in a  Paragraph for Styles which i assigned for my Barcode, its worked.

Read only

0 Likes
2,084

Hi,

No, sorry - I can't confirm that Or maybe I'm misunderstanding you...

The Module size does affect the size of Datamatrix Barcode:

But neither the Font size of Character Format the Barcode is assigned to in Smartstyle, nor the Font size of Paragraph Format used for Barcode string in Smartform has any impact for me... I tried assigning HELVE Font with sizes 10,0 and 20,0. And the Font size of Character Format within a paragraph would in any case be expected to supersede the Font size assigned to Paragraph Format ...

cheers

Janis

Message was edited by: Jānis B

Read only

0 Likes
2,084

Dear Janis,

  I think you are right, we should change the Font size which is assigned for Barcode, i have assigned both Paragraph and Font Size are same size.

Thank You.