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 height

Former Member
0 Likes
915

Hi all,

I am printing a barcode for EAN128 (barcode family BC_EANH) and no matter which font size I use the barcode height is always the same. Does anyone knows how to make it higher?

Thanks in advance!

Daniel

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
523

Hi,

Which version of SAP you are using?

Use transaction SE73. Create your own font & try.

Please let us know if your problem is solved.

Thanks & Regards

Mahendra

3 REPLIES 3
Read only

Former Member
0 Likes
524

Hi,

Which version of SAP you are using?

Use transaction SE73. Create your own font & try.

Please let us know if your problem is solved.

Thanks & Regards

Mahendra

Read only

0 Likes
523

Hi Mahendra,

We have SAP R/3 4.7 ext. 110. I have try it with our own font but with no success, ever if it does no print codebars but numbers.

Do you have any idea of how to solve it?

Thanks again!

Daniel

Read only

0 Likes
523

Daniel,

Mahendra is right. Go to transaction SE73 and have a look at your "Printer Bar Codes". Select your device type and you should see a whole list of the Barcodes supported by the printer.

Now because you said that your barcode is being printed, but it is too small, it means that the BC_EANH Bar Code will be there. Open it up. You will notice that there are print controls (Prefix and Suffix). These are printer commands (aka Print Controls) and are specific to the device type. You will need to change some of these values to increase the height (refer to the programming guide relevant to your printer.

Think of these Prefix and Suffix commands like the Character Formats in SAPscript. eg. <b>data</> where <b> is the prefix and </> is the suffix. These prefixes and suffixes tell the printer to use a particular font.

What I would do is copy your existing Barcode Font to a Z barcode (let's call it ZEAN) and assign it the a custom Prefix (eg SBP91) and Suffix (SBS91). Now copy the contents of your existing EAN128 Barcode to your custom prefix and suffix and modify them according to your printer's prgramming guide.

Make sure that you assign your new Barcode to the relevant device type. Then you can modify your SAPscript / SmartForm to use your new barcode (ZEAN).

Hope this makes sense. Let me know if you need any clarification.

Cheers,

Pat.

PS. Kindly assign Reward Points to the posts you find helpful.