‎2007 Jan 25 5:01 PM
Dear friends,
I want to know how can we print the barcode in Sapscripts. I have created a charcter format(BC) and assigned a barcode for that(C128A_00). I am using it in a window(W_BARCOD) in my sapscript.
/: BOX FRAME 10 TW INTENSITY 1
BC &CAUFVD_P-AUFNR&
When I see the preview it shows something(Some vertical lines). But when i take the print I am getting the Order No(eg 1123567) and not the Barcode. I am taking the print in HP Laser Printer. Can anyone suggest some solution
Thanks in advance
‎2007 Jan 25 5:04 PM
HI ,
i believe u need to use *..... * to print barcode...
try like this...
<b>/: BOX FRAME 10 TW INTENSITY 1
BC &CAUFVD_P-AUFNR&</b>
and also check the printer... some printers need to install to support barcode
Regards
CNU
‎2007 Jan 25 5:51 PM
i tried with *.
Then the output is 111112345. barcode is not coming.
the printer is configured bcos from smartform(another program) barcode is getting printed. but from sapscript its not printing barcode. i tried with the same character format and barcode. still its not printing barcode. in print priview i am getting. but when i take print its not coming
‎2007 Jan 25 5:56 PM
HI,
pls check the character format which is defined as barcode type in t-code SMARTSTYLES is given in sapscript editor.
like in script command editor:
<b>PR <BC>&CAUFVD_P-AUFNR&< / ></b>
where PR is ur paragraph format and BC is character format defined in SMARTSTYLES and assigned to ur barcode type.
or
check the character format tab in Sapscript and check the BARCODE field check box is enabled and assigned to the barcode type u want to print?
If problem is solved pls close the thread and reward to all helpful answers...
Regards
CNU
‎2007 Jan 25 5:11 PM
Hi,
The Printer shoulb be suport the barcodes. make sure that the barcode will be supported by the printer.
Regards
Sudheer
‎2007 Jan 25 5:17 PM
Hi Priyalakshmi,
As suggested by Sudheer check out weather the prineter u are using is BarCode compatible or not. If not then you will not be able to print.
Ashven