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

Barcode in Sapscript

Former Member
0 Likes
651

Dear friends,

I want to know how can we print the barcode in Sapscripts. I have created a charcter format(BC) and assigned a barcode for that(C128A_00). I am using it in a window(W_BARCOD) in my sapscript.

/: BOX FRAME 10 TW INTENSITY 1

BC &CAUFVD_P-AUFNR&

When I see the preview it shows something(Some vertical lines). But when i take the print I am getting the Order No(eg 1123567) and not the Barcode. I am taking the print in HP Laser Printer. Can anyone suggest some solution

Thanks in advance

5 REPLIES 5
Read only

Former Member
0 Likes
593

HI ,

i believe u need to use *..... * to print barcode...

try like this...

<b>/: BOX FRAME 10 TW INTENSITY 1

BC &CAUFVD_P-AUFNR&</b>

and also check the printer... some printers need to install to support barcode

Regards

CNU

Read only

0 Likes
593

i tried with *.

Then the output is 111112345. barcode is not coming.

the printer is configured bcos from smartform(another program) barcode is getting printed. but from sapscript its not printing barcode. i tried with the same character format and barcode. still its not printing barcode. in print priview i am getting. but when i take print its not coming

Read only

0 Likes
593

HI,

pls check the character format which is defined as barcode type in t-code SMARTSTYLES is given in sapscript editor.

like in script command editor:

<b>PR <BC>&CAUFVD_P-AUFNR&< / ></b>

where PR is ur paragraph format and BC is character format defined in SMARTSTYLES and assigned to ur barcode type.

or

check the character format tab in Sapscript and check the BARCODE field check box is enabled and assigned to the barcode type u want to print?

If problem is solved pls close the thread and reward to all helpful answers...

Regards

CNU

Read only

Former Member
0 Likes
593

Hi,

The Printer shoulb be suport the barcodes. make sure that the barcode will be supported by the printer.

Regards

Sudheer

Read only

Former Member
0 Likes
593

Hi Priyalakshmi,

As suggested by Sudheer check out weather the prineter u are using is BarCode compatible or not. If not then you will not be able to print.

Ashven