on 12-10-2008 3:44 PM
Hello,
We have a print problem with the font Arial. If we are printing a document with form font arial (smartforms) we have instead the ě an i in our Czech Republic shipment address. When we change the form font to Courier the character is correctly printed as ě.
Any idea to solve this problem?
Thank you in advance!
Kind regards,
Frank
Hi Frank,
Check this SAP note for compatible fonts for language
I think Czech is CZ Latin-2 (Central Europe). According to the note sutable fonts are COURIER, HELVE, TIMES
Note 776507 - SAPscript/SmartForms: Which fonts for which languages?
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Thank you for the info with the "which fonts for which languages" but one more question for a better understanding.
In the shipment address we have a latin 2 character. If the SAP message is created in the german language the character will be printed wrong.
Spool raw file german language:
CP41030000D
FCZ_ARIAL 100 00083X00003Arial410300055D X X
UL +0000000000000
SW00055
CT00000000
ST0125330Lieferanschrift
MT0662403120
ST0051110Firma
MT0662403360
ST0183934ARGO-HYTOS s.r.o.
MT0662403600
ST0126426D#lnick# 1306
MT0662403840
ST0199536CZ-543 15 VRCHLAB#
IN06INFO
MT0662404320
CP41030000D
FCHELVE 140X 00158XSF118SF118410300140D
UL +0000000000000
SW00140
CT00000000
ST0133720Bestellung
MT0662404800
FCZ_ARIAL 100 00083X00003Arial410300055D X X
If we create the same message with language CS all characters are printed correct:
CP41030000C
FCZ_ARIAL 100 00083X00003Arial410300055C X X
UL +0000000000000
SW00055
CT00000000
ST0148730Adresa dod#vky:
MT0662403120
ST0051110Firma
MT0662403360
ST0183934ARGO-HYTOS s.r.o.
MT0662403600
ST0126426D#lnick# 1306
MT0662403840
ST0199536CZ-543 15 VRCHLAB#
IN06INFO
MT0662404320
CP41030000C
FCHELVE 140X 00158XSF118SF118410300140C
UL +0000000000000
SW00140
CT00000000
ST0133720Bestellung
MT0662404800
FCZ_ARIAL 100 00083X00003Arial410300055C X X
SW00055
It's the "ST0126426D#lnick# 1306" the raw format is identical for "ST0126426D#lnick# 1306" but the print output is in the DE language wrong.
Is the reason the submitted codepage? Case 1: CP41030000D Case 2: CP41030000C
And is the only way the way to use an other font? And why?
The problem for the end user is that he is printing an german purchase order with an shipment address in the Czech Republic. When he is printing out the purchase order he has the problem with the wrong character in the shipment address. (Town: Dělnická is printed as Dílnická)
Thank you in advance for your help!
Kind regards,
Frank
Hi Frank,
Both the cases i.e CP41030000D and CP41030000C seems to have wrong font "ST0126426D#lnick# 1306" and for both Z_ARIAL is used. Am i correct ?.
Have you tried using fonts COURIER, HELVE, TIMES as this seems to support both DE and CZ according to the note .
Can you change the font and check ?
Regards
Hi,
Yes we are using a copy of the font ARIAL (Z_ARIAL) but with Arial it's the same behaviour.
The "ST0126426D#lnick# 1306" seems to be generally no problem and I see this with the # character only in the RAW file.
For a test I switched to COURIER and printed again in german DE. The output is correct. And the raw output is the following:
CP41030000C
FCCOURIER 100X 00120 SF010SF010410300120C
UL +0000000000000
CT00000000
ST0180030Adresa dod#vky:
MT0662403120
FCCOURIER 100 00120 SF008SF008410300120C
ST0060010Firma
MT0662403360
ST0204034ARGO-HYTOS s.r.o.
MT0662403600
ST0156026D#lnick# 1306
MT0662403840
ST0216036CZ-543 15 VRCHLAB#
IN06INFO
MT0662404320
CP41030000C
FCHELVE 140X 00158XSF118SF118410300140C
UL +0000000000000
SW00140
CT00000000
ST0133720Bestellung
MT0662404800
FCCOURIER 100X 00120 SF010SF010410300120C
But due to layout reasons we can't switch the font type from one day to the next day.
When I compare the RAW outputs I took notice of the second line.
Second line with ARIAL (Z_ARIAL):
FCZ_ARIAL 100 00083X00003Arial410300055D X X
Second line with Courier:
FCCOURIER 100 00120 SF008SF008410300120C
Is the reason hidden within a print control? I read something about the SF0... value but I have no clue about this!?
Maybe you have a hint for me!?
Kind regards,
Frank
Hi Frank,
I am not much sure about Print controls. Are you using the same layout to print other languages other than DE and CZ(in address) ? as you have mentioned "due to layout reasons we can't switch the font type from one day to the next day" ?
Also check this document about some problems related to font.
Regards
Edited by: Rajvansh Ravi on Dec 12, 2008 10:55 AM
Hi Rajvansh,
Yes we use the layout for EN,IT,SV,NL,FR,DE,IT,CS,...
I think it's no problem to switch the font only for the shipment node in smartforms. The Helve output is also ok and it's very similar to Arial.
But by changing the font for the complete form we will get some layout issues which has to be solved before using it in our productive system.
Additionaly I would like to know if it's possible to configure an own SF0...print control for our device driver and how to use/call this in our smartforms. Maybe this could solve the problem also when we are using the Arial font. But it's very difficult - I think there is a lot of knowledge about smartforms, printer devices and print controls required.
Kind regards,
Frank
Hi,
Check this link for print controls
http://help.sap.com/saphelp_nw04s/helpdata/en/d9/4a95c951ea11d189570000e829fbbd/frameset.htm
Regards
the print controls needs to be install, contact your basis people...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
u can refer to this link , it will give u idea about how to print double byte characters and will help u in all other printing issues.
hope it helps u ...
regards,
prashanti
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.