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

Having problem in printing barcode through sapscript

Former Member
0 Likes
1,087

Hi All,

Am trying to print the Delivery number (numeric form) and as well its barcode above it.

Even though I could see the barcode in printview (am using BARCLVS in character format, am unable to get it on print....

When i run the standard text SAPSCRIPT-BARCODETEST it was printing fine...

Any idea what am i missing? the printer has BarDIMM installed on it...

Regards,

Raj

7 REPLIES 7
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
950

Can I see the line of code in your sapscript for the barcode? Are you wrapping with the character format for barcode?

Can you visit your other post and give an explaination of how your problem was solved?

Regards,

Rich Heilman

Read only

Former Member
0 Likes
950

Hi Rich,

<AN>&p_batch&</>

Where character format AN has <b>BARCLVS</b> under Barcode.

Regards,

Raj

Read only

0 Likes
950

You have created the barcode in a correct way.

Check some point.

1.There is one check box above the barcode text box in the character format tab.Have you checked that.

2.Check in the print program data is getting populated for your field on which you are trying to put barcode.

3.Activate debugger in your form and check the value of the variable that you are trying to be printed in barcode.Is it getting populated.

Read only

0 Likes
950

Check if your printer is configured properly and can handle barcode printing. I faced a similar prob before - could see in print preview but while printing, the barcode won't be there - and this was because of printer config.

-Aarthi.

Read only

Former Member
0 Likes
950

Hi Kishan,

I did tryout selecting that checkbox and switched-on the script debugger, in both the driver prg and at form the values are getting populated and the window size is also of 15 LN which can accomodate the print of data and barcode...

Raj

Read only

0 Likes
950

i think now problem is from ur printer side.

contect ur basis person and check all printer setting may be ur problem solved or wait for more reply....

or just check ur text element for barcode...

Read only

Former Member
0 Likes
950

Hi,

Printer is indeed set for printing barcodes, a BarDIMM is installed on that printer...

When i run the standard text SAPSCRIPT-BARCODETEST it was printing fine...

Raj