cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Smartform table empty line on some printers

JoshGn_zzz
Explorer
0 Kudos
357

Hi

We are printing our quotations using smartforms.

For displaying the item details, we use a table. When all the items fit within a page, we are good. When we print out/preview quotations where the item table spans across two pages, i get a blank line at the end of the first page. This happens only when printing through specific printers.

I tried with the below printers, configured in the system

  • Windows default printer - blank line appears
  • ZPDF - blank line appears
  • LP01 - no blank line appears

Please note there are no blank lines in the internal table containing the data. Just on the output.

After much search, i found this solution https://community.sap.com/t5/application-development-discussions/space-rows-in-table-on-smartforms/m... 

During my analysis, i have discovered that when i alter the font size of my paragraph, depending on the printer it works.

I have figured out how i can get the details of the printer selected for printing. I have also figured out how i can update the form style at runtime or use a control variable to use texts with different paragraph formats, depending on the printer used. For example: I can do a mapping saying, "if device is LP01 use the style/format with font size 9 pts. If device is ZPDF use the style/format with font size 10 pts". This will work, in the current state of the system.

But, i would like to know if there is a specific parameter of the printer can i look at, to specifically understand if this parameter is in this range, use style with font size N etc., For example: (Please forgive me if the terms i use are incorrect/invalid) If the DPI of the printer is 100-200, use the style with font size 9, If the DPI of the printer is 201-300, use the style with font size 10 etc., In this example, DPI is the parameter. And it will be helpful, if anyone can point out how to retrieve this parameter. 

Meanwhile, I am currently diving through various RSPO* FMs and the structures in their packages, to see if there is any way to retrieve the printer properties. 

Your help is much needed and appreciated.

Thank you. 

 

 

Accepted Solutions (0)

Answers (0)