cancel
Showing results for 
Search instead for 
Did you mean: 

font formatting in printout not like in print preview

Former Member
0 Kudos

Hi,

I have a problem when printing smart form with device type ARSWIN.

The print preview shows the text displayed correctly alligned, but when I

print it shifts to the left. The text is in arabic, therefore the output is RTL.

I noticed that the more characters are in one line the more spaces it leaves

at the start of text. The font is printed by the printer correctly, only these

spaces are the problem.

For ARSWIN I have defined my font (that I also use in my

SmartStyle) with two print controls and AFM.

Please advise.

Thank you!

Accepted Solutions (0)

Answers (2)

Answers (2)

eduardo_hinojosa
Active Contributor
0 Kudos
Florian
Active Contributor
0 Kudos

Hi Vlad,

you also have to check, if the printer for preview is the same, like you use for printing it on paper.

As you got an Smartforms, you can easily check it, by typing PDF! in the commandline when watching the preview.

This would be my first step solving the problem.

Next step is to check the driver in SPAD for supporting your options.

Regards

Florian

jie
Advisor
Advisor
0 Kudos

Hi Vlad,

To print the arabic characters correctly with device type ARSWIN,you need check the following.

1. The langage key of the form must be AR. i.e. The application must
fill the parameter CONTROL-PARAMETERS-LANGU when calling the function
module of the smartform.

2. A true type font like Courier New must be uploaded under font family
ZCOUR_I6 via report RSTXPDF2.

Thanks&Regards

Jie Bai

Former Member
0 Kudos

Hello Jie,

Thank you for your reply.

I have language parameter from form filled, also CONTROL-PARAMETERS-LANGU is filled.

The font I try to use is Gedinar Two (customer demand) and I uploaded it under font

family ZGEDIN.L via se73. The font is also created in printer fonts.

It might be a problem with the font metrics, but how can I correct this if all values here

appear to be hexadecimal? Any other suggestions?

Thank you,

Vlad.