cancel
Showing results for 
Search instead for 
Did you mean: 

Strike through text in smartform is not appearing when taking print

Former Member
0 Kudos

Hi all ,

My requirement in Smartform is , under the main window i am passing the internal table data to one row where i have to strike through that passed value .

I have used a character format style in that enabled the underlined checkbox where defined the font with spacing as 3.00- PT. After applying this character format style, the text appears as strike out text in Print Prieview mode .

But when i taking print out, it displaying as underlined.

I have not found any solution , i checked all forums related to this post .

Please help.

Accepted Solutions (1)

Accepted Solutions (1)

david_liu1
Advisor
Advisor
0 Kudos

Hi,

If I'm right you use an underline for it: When you define a character

format in the Smartstyle, you can set the flag 'underline'.

On the right side of this flag there is the button 'Multiple

selection', by which you can change the spacing, thickness and

brightness of the underline. If you select a negative spacing,

the underline is printed as strike-through.

The problem with this way is that it only works, if you use

a printer language, which allows to change the position of

the underline. In most printer languages the spacing of the

underline is fixed and cannot be changed. So here the underline

is always printed as normal underline.

The change of the spacing of the underline works in the print

preview, with printer language Postscript and in the PDF conversion.

It does not work e.g. with printer language PCL and the SAPWIN

device types.

To get a strike-through which is more independent of the printer

language, you should use a different way: You should define a

paragraph format with line spacing 0,5 LN. Then you should print

two lines, both using this paragraph format: The first line with

'_____' characters and the second line with the text. Because

of the line spacing the '_____' are printed on top of the text

and therefore as strike-through.

Regards,

David

Answers (2)

Answers (2)

prakashjasti
Contributor
0 Kudos

Instead of it design a template ata that position and draw the line

or template with lower border at that position

Abhijit74
Active Contributor
0 Kudos

Hi,

[Check this thread |;

[Check this thread.|]

Abhijit