Application Development 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: 

Strikethrough option in Smartform

former_member227596
Participant
0 Kudos
465

Hi,

I have tried the setting  by creating a character format Underline with spacing as -1.00mm. Its shows the preview as Strikethrough, but when output taken on printer/PDF output, it shows as underline. HP LJ 1020+.

kindly help, I required the strikethrough for ARE1 format in india.

regards

Vikas Puri

1 ACCEPTED SOLUTION

DavidLY
Advisor
Advisor
0 Kudos
109

Hello,

The strikethrough print only works with some device types:

  1. The strikethrough print works correctly with postscript device type POST2.
  2. The strikethrough print works correctly with PDF device types PDF1 and PDFUC.
  3. Windows device types like SAPWIN or SWINCF only support to switch on and to switch off the underline. They don't support to set the position of the underline.
  4. The same applies to PCL device types like e.g. HPLJ4000.

Regards,

David

5 REPLIES 5

pranay570708
Active Contributor
0 Kudos
109

Hi,

Try this:

Create a dummy window with the Top Border only and place the window exactly on the word. This will give you the Strikethrough effect.

Like:

WINDOW1   

.... TEXT               .... this text has the word you want to have the strikethrough and the position of the word is fixed

WINDOW2    ... with TOP border on and "Always Draw BOx and Shading" on. Place this window on the word itself.

Former Member
0 Kudos
109

Hi Vikas,

Check and try this. Already discussed.

Regards,

Srinath

0 Kudos
109

Problem is during printing on Printer or PDF output. Strikethrough converts as underline.

regards

Vikas

DavidLY
Advisor
Advisor
0 Kudos
110

Hello,

The strikethrough print only works with some device types:

  1. The strikethrough print works correctly with postscript device type POST2.
  2. The strikethrough print works correctly with PDF device types PDF1 and PDFUC.
  3. Windows device types like SAPWIN or SWINCF only support to switch on and to switch off the underline. They don't support to set the position of the underline.
  4. The same applies to PCL device types like e.g. HPLJ4000.

Regards,

David

Juwin
Active Contributor
0 Kudos
109

If nothing works, import a font, which has strikethrough and use that for your Smartform.

9 Free Strikethrough Fonts · 1001 Fonts

Thanks,

Juwin