• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Devaka Cooray
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • Paul Clapham
Sheriffs:
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Saloon Keepers:
  • Tim Holloway
Bartenders:

Netscape Line Spacing when Printing

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I have developed a set of reports in JSP, which are accessed by the corporate standard broswer, netscape.
I have had to add support for page breaks when printing the reports, and I do this by counting the number of lines that will fit on a page.
Unfortunately, when printed some of the lines on the page get 1.5 line spacing rather than single spacing.
I am using tables to format the data on the reports.
I have checked the VALIGN statements on each of the cells and they are all consistent.
Would appreciate a response from anyone who has had similar problems in the past.
I will try and format up a few examples (minus the confidential information) and post them ASAP.
Thanks,
Andrew.
 
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm not sure why you may getting larger line spacing, but have you tried printing using PRE or TT tags? Using those tags will display your data in a fixed width font, and you probably wouldn't even have to use tables, you could just print the lines out with the appropriate tabs/spacing.
 
Everybody's invited. Except this tiny ad:
Paul Wheaton's 16th Kickstarter: Gardening playing cards for gardeners and homesteaders
https://coderanch.com/t/889615/Paul-Wheaton-Kickstarter-Gardening-playing
reply
    Bookmark Topic Watch Topic
  • New Topic