User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the HTML and CSS section within the Web Development category of DaniWeb, a massive community of 397,802 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,445 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our HTML and CSS advertiser: Lunarpages Web Hosting
Views: 4320 | Replies: 2
Reply
Join Date: Sep 2006
Posts: 1
Reputation: ink is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
ink ink is offline Offline
Newbie Poster

HTML, printing out a Table ( A4?)

  #1  
Sep 27th, 2006
Hello,

I came across a nice API called iText which is able to produce PDF-documents from my java-code, this API makes it also possible to create an HTML document.
I want these document to look the 'same', as far as possible.
And I am satisfied with the look.

What I would like to do though is to let the table fill out my
page when I hit the Print button, Am I able to do that ?
Can I set my HTML document or Table to be exactly as wide and as long as an A4-doc ?

best regards, i
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Oct 2006
Location: India
Posts: 1,289
Reputation: vishesh is on a distinguished road 
Rep Power: 4
Solved Threads: 32
vishesh's Avatar
vishesh vishesh is offline Offline
Nearly a Posting Virtuoso

Re: HTML, printing out a Table ( A4?)

  #2  
Oct 18th, 2006
with HTML there's no problem, i suppose if so use can use some good softwares somtimes shipped with your priter such as Cannon WebPrint. With pdf make sure that the dimensions is matching with the page if it is check borders in the print option
Reply With Quote  
Join Date: Dec 2004
Posts: 1,590
Reputation: tgreer is an unknown quantity at this point 
Rep Power: 7
Solved Threads: 34
Colleague
tgreer tgreer is offline Offline
Made Her Cry

Re: HTML, printing out a Table ( A4?)

  #3  
Oct 19th, 2006
It depends on the structure of your HTML. It is possible to size container elements, such as tables and DIVs, using CSS.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb HTML and CSS Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the HTML and CSS Forum

All times are GMT -4. The time now is 6:07 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC