Printing pages

  • Thread starter Thread starter Mary Ann Hailey
  • Start date Start date
M

Mary Ann Hailey

Good morning! First, thank you for all your past help - you guys are
awesome!! I took over management of several websites, but none of them were
set up as CSS. I have some experience with HTML, but none with CSS. I have
several webpage "forms" that are derived from data entered into a database.
The form were custom built and basically puts the meat of the data into an
on-line report. In my research I have found that CSS print is the way to go.
Since none of the websites were set up as CSS I need help finding a solution.
I can rt click, 'select all', print, then select 'as laid out on screen' and
it prints beautifully, but this is too cumbersome to expect my customers to
do. I want these 'reports' to be user-printable, but it isn't feasible to go
back and rebuild 9 websites and hundreds of webpages. Is there a way to make
these pages printable without rebuilding? I am still in learining mode and
any help is very much appreciated. Thank you & have a great day.
Mary Ann
 
Mary Ann Hailey said:
Good morning! First, thank you for all your past help - you guys are
awesome!! I took over management of several websites, but none of them
were
set up as CSS. I have some experience with HTML, but none with CSS. I
have
several webpage "forms" that are derived from data entered into a
database.
The form were custom built and basically puts the meat of the data into an
on-line report. In my research I have found that CSS print is the way to
go.
Since none of the websites were set up as CSS I need help finding a
solution.
I can rt click, 'select all', print, then select 'as laid out on screen'
and
it prints beautifully, but this is too cumbersome to expect my customers
to
do. I want these 'reports' to be user-printable, but it isn't feasible to
go
back and rebuild 9 websites and hundreds of webpages. Is there a way to
make
these pages printable without rebuilding? I am still in learining mode and
any help is very much appreciated. Thank you & have a great day.

Hi Mary Ann,
Pages are not set up as CSS. CSS adds styles to existing HTML pages - it
does not replace the page.

I am not sure what the connection there is between CSS and printing, except
that you can add styles to CSS that apply only when pages are printed. These
styles can do things like change background colours, font styles, colours or
sizes or hide parts of the page (if they have certain classes or IDs ).

I don't quite follow "I can rt click, 'select all', print, then select 'as
laid out on screen'". For me (using IE7), it is not necessary to select all
and clicking the print icon calls my default printer. My printer does not
have any option 'as laid out on screen', so I am thinking that this must be
an option of your particular printer

You can add your own print button to use instead of the print icon
<input type="button" value="Print" onclick="window.print()">

This does exactly the same thing as the print icon. Well, not quite -
instead of going direct to my default printer, it gives me a screen to
select my printer (with the default highlighted). If you want this button on
all pages, I can't see any alternative but to add it to all.

You could try Find and Replace All Pages and replace
</body>
with
<input type="button" value="Print" onclick="window.print()"></body>

This would add the print button at the bottom of each page
 
Back
Top