473,671 Members | 2,326 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

html for print

I have a club newsletter that is currently distributed as a PDF. I'm
considering converting this to html...

Several problems ensue.

1) PDF's can be formatted for a page to fit on a sheet of 8.5 * 11
paper. I'm not sure how to this in HTML.

2) A PDF can be set to print all pages. I'm not sure how to do this with
html either. Suggesting page breaks (in CSS) and having this as a single
document is one option. Where to set the page break is an educated
guess for me.

3) I don't think multicolumn support is common in CSS yet. (where a
column automatically flows to the next). At least I've never done that!

Any ideas?

Cheers,
Jeff
Jan 2 '06 #1
6 1876
Mon, 02 Jan 2006 05:00:00 GMT from Jeff Thies
<je**@spamalana dingong.com>:
I have a club newsletter that is currently distributed as a PDF. I'm
considering converting this to html...
Why? What benefit do you expect your users to get? Or what is wrong
with your present distribution in PDF? Too often people expend great
effort for no very clear benefit because they think they "should" be
using a particular sexy technology.
1) PDF's can be formatted for a page to fit on a sheet of 8.5 * 11
paper. I'm not sure how to this in HTML.
It's automatically done by the user's browser and print spooler --
not necessarily 8.5 by 11, of course, but the user's own selected
paper size.
2) A PDF can be set to print all pages. I'm not sure how to do this with
html either.
There's no way. Every browser that I know of gives you the option to
print specified pages. But then, so does Acrobat Reader, so I don't
understand why this is an issue for you.
Suggesting page breaks (in CSS) and having this as a single
document is one option. Where to set the page break is an educated
guess for me.
And you're more than likely to guess wrong, since you don't know the
user's point size and type face. Even if you specify them in CSS, the
user can override them -- a good thing for visually impaired folks.
3) I don't think multicolumn support is common in CSS yet. (where a
column automatically flows to the next).


This has been discussed extensively, and the short answer is that
there's no reliable way to do newspaper-style columns in HTML and
CSS.
I think you need to make up your mind whether you want to control the
appearance of the newsletter or not. If you do, continue with PDF. If
you want to transmit _information_ rather than page layouts, be
prepared to embrace the flexibility of Web browsers rather than try
to fight them.

--
Stan Brown, Oak Road Systems, Tompkins County, New York, USA
http://OakRoadSystems.com/
HTML 4.01 spec: http://www.w3.org/TR/html401/
validator: http://validator.w3.org/
CSS 2.1 spec: http://www.w3.org/TR/CSS21/
validator: http://jigsaw.w3.org/css-validator/
Why We Won't Help You:
http://diveintomark.org/archives/200..._wont_help_you
Jan 2 '06 #2
Stan Brown wrote:
Mon, 02 Jan 2006 05:00:00 GMT from Jeff Thies
<je**@spamalana dingong.com>:
I have a club newsletter that is currently distributed as a PDF. I'm
considering converting this to html...

Why? What benefit do you expect your users to get?


This is done in MS Publisher currently. I have little desire to learn it
or teach my girlfriend how to use it (who volunteered to take over the
newsletter). For me, setting this up to be edited in html is much easier.

Cheers,
Jeff
Or what is wrong
with your present distribution in PDF? Too often people expend great
effort for no very clear benefit because they think they "should" be
using a particular sexy technology.

1) PDF's can be formatted for a page to fit on a sheet of 8.5 * 11
paper. I'm not sure how to this in HTML.

It's automatically done by the user's browser and print spooler --
not necessarily 8.5 by 11, of course, but the user's own selected
paper size.

2) A PDF can be set to print all pages. I'm not sure how to do this with
html either.

There's no way. Every browser that I know of gives you the option to
print specified pages. But then, so does Acrobat Reader, so I don't
understand why this is an issue for you.

Suggesting page breaks (in CSS) and having this as a single
document is one option. Where to set the page break is an educated
guess for me.

And you're more than likely to guess wrong, since you don't know the
user's point size and type face. Even if you specify them in CSS, the
user can override them -- a good thing for visually impaired folks.

3) I don't think multicolumn support is common in CSS yet. (where a
column automatically flows to the next).

This has been discussed extensively, and the short answer is that
there's no reliable way to do newspaper-style columns in HTML and
CSS.
I think you need to make up your mind whether you want to control the
appearance of the newsletter or not. If you do, continue with PDF. If
you want to transmit _information_ rather than page layouts, be
prepared to embrace the flexibility of Web browsers rather than try
to fight them.

Jan 2 '06 #3
On Mon, 02 Jan 2006 06:00:00 +0100, Jeff Thies <je**@spamalana dingong.com>
wrote:
I have a club newsletter that is currently distributed as a PDF. I'm
considering converting this to html...

Several problems ensue.

1) PDF's can be formatted for a page to fit on a sheet of 8.5 * 11
paper. I'm not sure how to this in HTML.

2) A PDF can be set to print all pages. I'm not sure how to do this with
html either. Suggesting page breaks (in CSS) and having this as a single
document is one option. Where to set the page break is an educated
guess for me.

3) I don't think multicolumn support is common in CSS yet. (where a
column automatically flows to the next). At least I've never done that!

Any ideas?


Yep, sounds to me that PDF is the way to go, looking at what you want the
document to do/be. You could consider priting before distributing :-)

Seriously, if this is what you need/want from the document, use PDF.
That's what they're fore. Looking at your other post in this thread, the
reply to Stan Brown: just remember that it might be a lot more easy to
have someone learn how to use a program to create a nice looking PDF[1],
than to have the same person learn how to create a properly marked up html
document that works for everyone you intend it for.
--
,-- --<--@ -- PretLetters: 'woest wyf', met vele interesses: ----------.
| weblog | http://home.wanadoo.nl/b.de.zoete/_private/weblog.html |
| webontwerp | http://home.wanadoo.nl/b.de.zoete/html/webontwerp.html |
|zweefvliegen | http://home.wanadoo.nl/b.de.zoete/html/vliegen.html |
`-------------------------------------------------- --<--@ ------------'
Jan 2 '06 #4
__/ [Jeff Thies] on Monday 02 January 2006 08:15 \__
Stan Brown wrote:
Mon, 02 Jan 2006 05:00:00 GMT from Jeff Thies
<je**@spamalana dingong.com>:
I have a club newsletter that is currently distributed as a PDF. I'm
considerin g converting this to html...

Why? What benefit do you expect your users to get?

I can think of a few off the top of my head:

* Fast opening time

* Versatility

* Easy access to text

* Mobility (number of PDF readers for PDA's/mobile devices versus HTML
readers)

I once tried to do what the OP is after, but ended up frustrated. In case
this helps, here are (were) my fundings:

This is done in MS Publisher currently. I have little desire to learn it
or teach my girlfriend how to use it (who volunteered to take over the
newsletter). For me, setting this up to be edited in html is much easier.

Cheers,
Jeff
Or what is wrong
with your present distribution in PDF? Too often people expend great
effort for no very clear benefit because they think they "should" be
using a particular sexy technology.

1) PDF's can be formatted for a page to fit on a sheet of 8.5 * 11
paper. I'm not sure how to this in HTML.

It's automatically done by the user's browser and print spooler --
not necessarily 8.5 by 11, of course, but the user's own selected
paper size.

2) A PDF can be set to print all pages. I'm not sure how to do this with
html either.

There's no way. Every browser that I know of gives you the option to
print specified pages. But then, so does Acrobat Reader, so I don't
understand why this is an issue for you.

Suggesting page breaks (in CSS) and having this as a single
document is one option. Where to set the page break is an educated
guess for me.

And you're more than likely to guess wrong, since you don't know the
user's point size and type face. Even if you specify them in CSS, the
user can override them -- a good thing for visually impaired folks.

3) I don't think multicolumn support is common in CSS yet. (where a
column automatically flows to the next).

This has been discussed extensively, and the short answer is that
there's no reliable way to do newspaper-style columns in HTML and
CSS.
I think you need to make up your mind whether you want to control the
appearance of the newsletter or not. If you do, continue with PDF. If
you want to transmit _information_ rather than page layouts, be
prepared to embrace the flexibility of Web browsers rather than try
to fight them.


--
Roy S. Schestowitz | Useless fact: Florida is bigger than England
http://Schestowitz.com | SuSE Linux | PGP-Key: 0x74572E8E
11:05am up 22 days 18:16, 14 users, load average: 0.47, 0.46, 0.51
http://iuron.com - next generation of search paradigms
Jan 2 '06 #5
__/ [Jeff Thies] on Monday 02 January 2006 08:15 \__
Stan Brown wrote:
Mon, 02 Jan 2006 05:00:00 GMT from Jeff Thies
<je**@spamalana dingong.com>:
I have a club newsletter that is currently distributed as a PDF. I'm
considerin g converting this to html...

Why? What benefit do you expect your users to get?

I can think of a few. Off the top of my head:

* Fast opening time

* Versatility

* Easy access to text

* Mobility (number of PDF readers for PDA's/mobile devices versus HTML
readers)

I once tried to do what the OP is after, but ended up frustrated. In case
this helps, here are (were) my findings:

http://schestowitz.com/Weblog/archiv...4/pdf-to-html/

This is done in MS Publisher currently. I have little desire to learn it
or teach my girlfriend how to use it (who volunteered to take over the
newsletter). For me, setting this up to be edited in html is much easier.

Cheers,
Jeff

No need for MS publisher. PDF can be easily produced using LaTeX or a
front-end to LaTeX such as LyX or Kile. You can also convert HTML to very
clean PDF. It doesn't cost a dime and doesn't need Acrobat Pro. If you are a
home user, the financial aspect of this might become a factor that's more
than a PITA.

Or what is wrong
with your present distribution in PDF? Too often people expend great
effort for no very clear benefit because they think they "should" be
using a particular sexy technology.

1) PDF's can be formatted for a page to fit on a sheet of 8.5 * 11
paper. I'm not sure how to this in HTML.

It's automatically done by the user's browser and print spooler --
not necessarily 8.5 by 11, of course, but the user's own selected
paper size.

I believe that PDF's can be sent to the printer in a variety of alternative
forms. A4 (or another preset size) is not carved in stone.

2) A PDF can be set to print all pages. I'm not sure how to do this with
html either.

There's no way. Every browser that I know of gives you the option to
print specified pages. But then, so does Acrobat Reader, so I don't
understand why this is an issue for you.

Suggesting page breaks (in CSS) and having this as a single
document is one option. Where to set the page break is an educated
guess for me.

And you're more than likely to guess wrong, since you don't know the
user's point size and type face. Even if you specify them in CSS, the
user can override them -- a good thing for visually impaired folks.

Yes, the paper-inequivalence in HTML is a big issue. What about floats and
dynamic decisions as to where images should be placed? How can such a
monster be rendered on-the-fly to 'emulate' a PDF?

3) I don't think multicolumn support is common in CSS yet. (where a
column automatically flows to the next).

This has been discussed extensively, and the short answer is that
there's no reliable way to do newspaper-style columns in HTML and
CSS.

Newspaper Web sites are often criticised for stubbornly attempting to do
this. They deliver distracting content and very unappealing layout that
confuses the reader. They stick to what they learned and embraced over the
many decades.

I think you need to make up your mind whether you want to control the
appearance of the newsletter or not. If you do, continue with PDF. If
you want to transmit _information_ rather than page layouts, be
prepared to embrace the flexibility of Web browsers rather than try
to fight them.

Make both versions available. I try to convert many of my pages to PDF's (not
making them accessibly to crawlers because of duplication). I also try to
make PDF's available as HTML, which is easier if you achieve if you work in
LaTeX and then export. Given all the semantics (structure), you can export
to HTML using your favourite conversion. latex2html is my favourite. Then
you add your favourite stylesheets.

Best wishes,

Roy
Jan 2 '06 #6
In article <kr************ *****@newsread3 .news.atl.earth link.net>,
Jeff Thies <je**@spamalana dingong.com> wrote:
I don't think multicolumn support is common in CSS yet. (where a
column automatically flows to the next). At least I've never done that!


You seem to be under the mistaken assumption that web pages and printed
documents should have identical layouts. This is not only impossible (as
Stan pointed out); it's also undesirable.

The web is a flexible medium where the end user has a great deal of
control over the appearance of your content. Print layouts with fixed
font sizes and page widths just aren't suitable for the web.

You might want to consider using Adobe InDesign to produce your
newsletter. It can work from XML files, so you would be able to use the
same content in diferent layouts tailored for PDF and web output.

--
philronan [@] blueyonder [dot] co [dot] uk
Jan 2 '06 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
5978
by: Manu | last post by:
Hi there, I am using a perl script to generate this html page which just redirects users to my ftp server. The problem is I get a "page cannot be displayed" in IE 6.0 (haven't tried other browsers) when the redirection happens. But the redirection happens to the correct ftp location and on pressing "Refresh" the FTP login dialog bar appears and everything is fine. Here is the HTML in question.
0
1227
by: gertjan.nospam | last post by:
Hello, I hope you can help me with this issue. I am trying to build an application in C# that converts text from XML with an XSL to a HTML file and prints it according to some printersettings that can be made by an user interface. This application needs to run as an automatic process, so user intervention is not preferred.
2
1433
by: Dr. Who | last post by:
I have a tool that outputs data in either html or text output. Currently I'm writing chucnks like: if html: print '<html><body bgcolor="FFFFCC">' print '<table border="1" bgcolor="CCCCFF" width="800">' print '<tr><td colspan="2"><h2>' print 'Differences %s: %s' % (htypestr, lbl1) if html:
3
6117
by: needin4mation | last post by:
Hi, I have access 97. I can upgrade if I have to (but that will cost more money :)). If I want to read a row, parse that row, and then save the values to an HTML file, will VBA do that? Say I want to write: <html> <body>
2
6590
by: PapaRandy | last post by:
Hello, I am trying to validate the following .py webpage as HTML (through W3C). I put: ----------------------------------------------------------------------------- print "Content-type: text/html; charset=utf-8"
0
1752
by: supern | last post by:
#!c:/perl/bin/perl.exe $basedir="c:/program files/apache software foundation/apache2.2/cgi-bin"; $datafile="regstr.txt"; $name=$in{'login'}; $passwd=$in{'passwd'}; open(FH1,"+>>regstr.txt"); @input=<FH1>; print(@input); @input=($login,$password); close(FH1);
7
3378
by: Mariusf | last post by:
I am a novice Perl programmer and need to change a perl script that I use to create web pages with thumbnail images and some text. Currently the script created a web page for each artist / category with all the thumb images below one another in the table. Thus the table has one column with a row for each image. I am trying to change the script to have 3 columns in the table in the end (first testing with second column as in the attached...
1
2201
by: quartz | last post by:
Hello, I have one weather.txt file: city weatther Amsterdam mostly cloudy Zagreb havy reain ...
66
8163
by: happyse27 | last post by:
Hi All, my html code is sno 1) and perl code is sno 2). a) I tried to print $filename and it cant print out the value, only blank was displayed, and the file could not be uploaded. And it didnt display the html after the perl script executed. Using perl 5.1 and apache 2.2.9 version(apache installed and run without any errors and no warning, perl tested fine) b) Also, when i clicked the html code to submit the upload of the...
10
6961
by: happyse27 | last post by:
Hi All, I got this apache errors(see section A1 and A2 below) when I used a html(see section b below) to activate acctman.pl(see section c below). Section D below is part of the configuration of section c. Not sure where went wrong as the web page displayed internal server error. Also, what is the error 543? and error 2114. Where to find the list of errors in websites as it is not the standard apache error. I could not find...
0
8390
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8909
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8819
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
7428
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6222
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5690
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4221
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4399
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2806
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.