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 print does not work

Former Member
0 Likes
1,090

Hi all,

I have a problem to generate a Code-128 Barcode in my smartforms document. I followed the documentation for the new technology, that is:

1. Define a barcode in TA SE73

2. Assign this barcode type to a character format of a smartforms style

3. Assign the smartforms style to the form

4. Format the value, which contains the barcode's value, with this character format.

In the preview SAP shows a mock barcode, but in the printout (I use a SAPWIN printer) I have only one black rectangle, which is of course not a valid barcode.

Can anyone tell me, what could be wrong?! SAPdocumentation says, it should work.

Regards,

Nick

9 REPLIES 9
Read only

jayanthi_jayaraman
Active Contributor
0 Likes
983

Hi,

Check your SICF settings with Basis.

Read only

0 Likes
983

Which setting in the SICF is relevant for this?

Read only

0 Likes
983

Hi,

Did you created ITS ? If so, for completing it, we need to have SICF configuration in place.

Read only

0 Likes
983

Are you sure, that the ITS is used to generate the barcode image? I didn't find any hint in the documentation.

Besides that, transation SITSPMON says, that the ITS is configured properly.

Read only

0 Likes
983

Hi,

In one of the RF screen programming, when we did this barcode, we have created ITS and regenerated for the screens. Then we requested basis to do SICF setting. Not sure whether your requirement is similar?

Read only

SimoneMilesi
Active Contributor
0 Likes
983

Did you assign the barcode type to printer device too?

Read only

0 Likes
983

No, ASAIK this is not nessecary, as I want SAP to generate the barcode and send an image to the printer (new technology).

Read only

Former Member
0 Likes
983

Here is an update on my problem:

When printing a document using LOCL (device type SAPWIN) on my printer, I have a black rectangle. If I do the same, but using PDFcreator as my local printer, I have again a black rectangle in the resulting PDF. But I can extract a correct barcode image out of that pdf by using "pdfimages".

So, it seems to be, that there is a black layer on top of the correct barcode image.

Read only

Former Member
0 Likes
983

Generally the black box like yours appear when there is a content that you have underlined and the thickness is large in smartstyles.It might happen that your barcode would not be printing on the desired place.

hope this helps