cancel
Showing results for 
Search instead for 
Did you mean: 

Printing Bar code

Former Member
0 Kudos

Hi everybody,

can you please help me out in giving the details for printing the bar code in scripts.

i want to print the shipment number.

Thanks!!!

urs rico parker.

Accepted Solutions (0)

Answers (7)

Answers (7)

Former Member
0 Kudos

hi,

The SAP barcodes are not defined for a specific printer. A printer barcode is created by assigning a particular printer type and certain control sequences to this printer. Whether a barcode can be output on a certain printer depends on whether a corresponding printer barcode of the same name is maintained for this printer type.

1> Go for the transaction se73 (SAP script form maintainance)

select the radio button -


>system bar codes.(to create a barcode of ur choice)

2> Assign the character format B1 with the barcode(created in se73) in the smartstyyle transaction.

3>Now by using the character format B1,for which we have assigned the barcode you can use it like this

<B1> Hello world </>

Plz do reward if useful.

Regards

Archana

sreelatha_gullapalli
Active Participant
0 Kudos

hi

check the following code

Code:

  • FO91,661ABB,11,7FDMODEL #FS

  • BY3,2.5FS

  • FO20,356BCB,51,N,N,YFD>:&W_MATNR&FS

hope it will help you.

Regards,

Sreelatha Gullapalli

Former Member
0 Kudos

Hi

goto se71--->in character format -


>select a character format>there is a check box BARCODE select that--> select the barcode format u want to apply.

now save and activate.

call this character format in the feild where u want to print the barcode.

Former Member
0 Kudos
Former Member
0 Kudos

The question is for scripts. (Smartstyles are for Smartforms only)

Sudheer is correct, mostly.

You have to add </> after the field, so if you have a character format AN for the barcode, the code is

<AN>&fieldname&</>

Also, this is very printer specific. You must be sure the printer supports barcodes.

For example, HP printers need a special DIMM installed for SAP barcodes. (this is not the regular barcode DIMM. There is a specific one that SAP uses.)

There are OSS notes for more specific information on this.

Hope this helps.

Doug

Former Member
0 Kudos

ALSO PLZ CHEK WHETHER THE BARCODE SOFTWARE ALREADY INSTALLED ON THE FORNT END PC ITZ THE JOB OF THE ADMIN SO KINDLY CHECK WITH THEM......

REGARDS

DEVANAND

Former Member
0 Kudos

Hi Rico,

To create Bar code, first create a character format say BC in the smartstyle.

You can see a seperate small window for Barcode in the character where you can select a Bar Code which you like. Activate the smartstlye.

In the smartform, inside a text element suppose consider if u want to print the bar code for the Purchase order Number whose field name is V_PONUM.

To create a Bar Code for the Purchase Order Number, give in the text element as shown below:

<BC> &V_PONUM&

This will generate a Bar code for the PO Number.

Please Reward points if Useful.

Thanks,

karthik

Former Member
0 Kudos

Hi,

You need to create a Chrecterformat, in the charecter format you need to select the BARCODE, then in the SAPSCRIPT you can write like below

<AN>&p_batch&

Where character format AN has BARCLVS under Barcode.

Regards

Sudheer