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 Printing from SAP Script

masoud_ebrahimzadeh
Participant
0 Likes
2,113

hi

I create barcode for SAP scrip from this link

Demo on bar code printing using SAP Scripts/Smart forms

thats work well in smartform ...

but in SAP Script it not work ... and print some think like "0123456789 bC=PSN9,B=65,H=3,A=0,D="

please Help me !!

4 REPLIES 4
Read only

LukaszPegiel
SAP Champion
SAP Champion
0 Likes
1,059

For Sap Scritpt your printer should have the barcode font installed. In the preview in SAP you won't be able to see the barcode.

Read only

Laszlo_B
Product and Topic Expert
Product and Topic Expert
0 Likes
1,059

Hello Masoud,

similar text is stored in SAPWIN-like Device Types for barcode printing.

This means: this text is usually sent from SAPWIN-Device Types to printout (instead of the "new barcode technology", which is explained by the tutorial).

The reason for this text is that SAPWIN-like Device Types can use barcode.dll files for barcode printout (as SAP Note #1557674 - "Overview of bar code printing from SAP system" describes).

So, simply put: in this case it seems something has been mixed up, as I could not see in the tutorial that the barcode.dll solution should be used.

And at this point a deep analysis in the system is needed to see exactly what went wrong...

Best regards,

Laszlo

Read only

masoud_ebrahimzadeh
Participant
0 Likes
1,059

Hi

thanks for your Reply

is Sapscript Different with Smart forms in use Barcode Format ?

Because I print barcode format in Smart forms ...

when I use Trans SO10 and type "sapscript-barcodetest" in textName i can see barcode in preview but when I print that ,Barcode does not display correctly..

Whether the problem is the printer settings ØŸ

Read only

Laszlo_B
Product and Topic Expert
Product and Topic Expert
0 Likes
1,059

Hello Masoud,

  • there are no differences between SmartForms and SAPScripts regarding barcodes. To be more specific: after the corrections of SAP Note #1558595 - "SAPscript: New bar code technology for SAPscript", there should be no differences between them.

  • the SAPSCRIPT-BARCODETEST in transaction SO10 only contains tests for the old barcodes.
    This means: these barcodes will be only printed correctly if there is a barcode printing DIMM/SIMM module installed in your printer. (Or in the case of SAPWIN-like Device Types: when a valid barcode.dll file is used.)
    If none of them are used, usually only plain numbers are visible on the paper.

Best regards,

Laszlo