Application Development 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: 

Barcode in Script

Former Member
0 Kudos

Hello All

I have to develop barcode for the delivery number in Scripts. I have done that. Now the barcode is getting printed in the very next line without any space.

So I have left two blank lines in between them and also reduced the height of barcode. But there is no effect still.Suggest me a way forward.

Thanks

Tharani

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Check if the paragraph format you are using for Blank Lines has the attribute "No Blank Lines " set in the definition of paragraph format. You can also try the "space before" attribute of paragraph format which you are suing for the barcode.

Cheers

9 REPLIES 9

Former Member
0 Kudos

Check if the paragraph format you are using for Blank Lines has the attribute "No Blank Lines " set in the definition of paragraph format. You can also try the "space before" attribute of paragraph format which you are suing for the barcode.

Cheers

0 Kudos

Sanjay,

The "No blank lines' option is not selected for the paragraph format.

"Space Before" attribute is set to 0,0 cm.

0 Kudos

You can try increasing the space before to say 1 CM and see if it helps. Later you can set the desired spacing. Mind it this should be for the paragraph which are using to print barcde . ( There will be more than one paragraph formats in your script ).

Cheers

( Dont forget to reward if answers were helpful ).

0 Kudos

Hi,

Can you just post the code what you code in script.

Thanks.

0 Kudos

Do I need to activate the Script,when I try to change the height of barcode ? I dint do that .bcoz the height is stored in table.So I dint activate the script for my last transport

0 Kudos

These changes I made to Script

I1 <I>Delivery Number:</>,,<B>&VBDKL-VBELN&</>

I1

I1

I1 ,,<BC>&VBDKL-VBELN&</>

and to the barcode , I have reduced the height by 0.4 cms through se73

0 Kudos

Hi,

When ever you change you need to save it and activate it.

If possible post your code here.

Thanks.

0 Kudos

Hi Tharani ,

Barcode will be printed using character format.

I will say copy paragrapgh format I1 to I2 ( or create a new similar one ) . Add 1 CM in I2 attribute "Space Before".

Use like this

I1 <I>Delivery Number:</>,,<B>&VBDKL-VBELN&</>

I1

I1

I2 ,,<BC>&VBDKL-VBELN&</>

Cheers.

0 Kudos

Hi,

I1 <I>Delivery Number:</>,,<B>&VBDKL-VBELN&</>

/

/

I1 ,,<BC>&VBDKL-VBELN&</>

Try this.

Thanks.

If your issue is solved award points and close the thread.

Message was edited by: Deepak333 k