Community Forum

printing html table - gridlines disappear

Profile Image 2 Posts 2 Karma
utka posted this 17 June 2014

I have an intranet site with a dynamically created list, developped as a html table. In case the list is long, the gridlines disappear misteryously...

From page 13 on the horizontal line of the last row disappears, from page 23 on the horizontal gridline of the last two rows, from page 33 on the horizontal gridline of the last three rows etc (43 - 4, 53 - 5, 63 -6).

I tried several printers and pdf-printers but the result was the same.

I updated locally to the latest version 7.0.4.8 of ScriptX, but no change.

I appreciate any help or hint.

Profile Image 189 Posts 189 Karma
Jerry posted this 17 June 2014

Hi

 

What are you using ScriptX to do? Header | Footer | Margins, what?

 

Do the grid lines show up when you Preview the same content?

 

Is everything OK when you print the same content from IE *without* using ScriptX.

 

How about if you go to IE | Page Setup and DE-select "Shrink to fit" and try again?

 

CHeers

 

Jerry

 

 

Profile Image 2 Posts 2 Karma
utka posted this 02 July 2014

ScriptX is used in a simple manner. There are two buttons on the html page to choose portrait or landscape with javascript functions:

 function soforthoch()
 {
  factory.printing.portrait = true;     
  factory.printing.Print()
 } 
 function sofortquer()
 {
  factory.printing.portrait = false;    
  factory.printing.Print()
 }

The table itself is formatted with css:

<style type="text/css">
table,tr,th,td {font-family:verdana; font-size:small; font-weight:normal; color:#000000; border-collapse:collapse; border:solid 1pt black;}
thead {display: table-header-group;}
tfoot {display: table-footer-group;}
@media print
{
input{display:none;}
}
</style>

Yes, the problem occurs also with IE print preview only. I tried IE 8-11. Firefox works fine.

I don't understand what is happening. In 2008, when I implemented ScriptX and tested thoroughly (with IE6 or IE7), it worked fine.

Profile Image 189 Posts 189 Karma
Jerry posted this 02 July 2014

HI

 

Does this happen in IE on the same content *without* ScriptX?

 

What version of ScriptX are you using?

 

If you DE-select IE | File menu | Page Setup | Enable Shrink to Fit does it make a difference?