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

Bar code printing problem

Former Member
0 Likes
827

Hi,

I was facing a problem in printing a barcode

The process is that we are sending a text file with some data to form scape server which will convert this data to a bar code and sent to the printer.

But after we send the data also the bar code is not printed in our printer.

the form scape server is in germany

so can anyone say how to solve this problem

7 REPLIES 7
Read only

Former Member
0 Likes
777

check your interface with formspace server if proper and working.

If data is correctly delivered to form space than it can be issue with either form space code to covert data to barcode or printer driver (or middleware - if you are using it) issue.

At SAP side, at most you can check is correct data interface.

Regards,

Mohaiyuddin

Read only

0 Likes
777

How to check that,becoz i am new to this form of SAP

Read only

0 Likes
777

How you are sending data?

Is some custom program writing flat file to server? or is there any interface EDI / ALE through which data is transferred ?

Regards,

Mohaiyuddin

Read only

0 Likes
777

Program is there which was already sending the data.We check the spool generated and it was successfull only.

In other side its also converting it to barcode and there were no error messages.

But it didnt come to our printer

Read only

0 Likes
777

That means your custom program is transferring data.

Can you explain further

In other side its also converting it to barcode and there were no error messages.

> In other side its also converting it to barcode and there were no error messages.

>

> But it didnt come to our printer

Is your SAP Program converting data to barcode?

There are various methods of generating barcode in SAP. If SAPScript is used, it will have barcode send as printer command to printer. If it's Smartform designed with new barcode technology it will send barcode as image to printer.

Regards,

Mohaiyuddin

Read only

0 Likes
777

data: begin of precom9, "command for printer language PRESCRIBE

con1(59) value

'!R!SCF;SCCS;SCU;SCP;FONT62;UNITD;MRP0,-36;BARC21,N,''123456''',

con3(55) value

',40,40,2,7,7,7,4,9,9,9;MRP0,36;RPP;RPU;RPCS;RPF;EXIT,E;',

end of precom9.

new-page print on. "barcode printer

Write: 'material number', precom9. "barcode for matnr

new-page print off.

I am using this simple sample program to print the bar code in printer,but its only printing the characters as shown above.

From report program only we are capturing data and sending through a file.

Read only

0 Likes
777

If this same printer command was printing barcode correctly in past, you will need to check printer driver.

You may contact printer vendor for checking any updates.

I haven't worked on old barcode Technology, hence I am not in position to evaluate if your printer command is correct or not.

Regards,

Mohaiyuddin