Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Serving html "documents' instead of PDF or Docs

Reply
Thread Tools

Serving html "documents' instead of PDF or Docs

 
 
phil
Guest
Posts: n/a
 
      06-26-2004
We need to "serve" multi-page documents to website visitors. Documents
are personalized for the visitor with relevant JPG photos- 1 on each
page. Visitors will print these documents and enclose in a binder.

For these to print "nicely" am I correct in assuming we would have to
first dynamically merge into a pdf document using available software,
and serve it to site visitors for downloading, or can we get away
cheaper (software-wise) by just letting them print a dynamically
generated web page. Any way to improve on screen resolution of 72dpi
(?). I assume with a pdf we could control dpi of the documents we are
serving to insure quality printouts.

Can we do similar with Word, and would that be cheaper software? Can
word control dpi in final doc, as would pdf? Thanks.
 
Reply With Quote
 
 
 
 
Jan Harders
Guest
Posts: n/a
 
      06-26-2004
phil <(E-Mail Removed)> typed:
> We need to "serve" multi-page documents to website visitors. Documents
> are personalized for the visitor with relevant JPG photos- 1 on each
> page. Visitors will print these documents and enclose in a binder.
>
> For these to print "nicely" am I correct in assuming we would have to
> first dynamically merge into a pdf document using available software,
> and serve it to site visitors for downloading, or can we get away
> cheaper (software-wise) by just letting them print a dynamically
> generated web page. Any way to improve on screen resolution of 72dpi
> (?). I assume with a pdf we could control dpi of the documents we are
> serving to insure quality printouts.
>


I guess the dpi of images in html-pages (text is printed with dpi set in the
properties of the print anyhow, since it's not grafics, but digital
information) depends on the image itself, not so much on the filetype that
includes it. Long story short: putting no design-elements in that break the
print (e.g. table that is wider than a leaf of paper is) should work with
html, too.


 
Reply With Quote
 
 
 
 
Karl Groves
Guest
Posts: n/a
 
      06-26-2004

"phil" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed) om...
> We need to "serve" multi-page documents to website visitors. Documents
> are personalized for the visitor with relevant JPG photos- 1 on each
> page. Visitors will print these documents and enclose in a binder.


Can you go into more detail as to the context the visitor will be using the
website?
One of the biggest issues you're going to have to deal with is the amount of
data you're passing to the visitor.
No matter what format you use, if you're serving up a high-resolution image
(be that as part of a PDF, a jpg, or PSD), you're dealing with a lot of
data.
If this is a site on the web, you may want to rethink this idea (bear in
mind, I don't know the context).
So, perhaps with a little more detail, some ideas can be ferretted out.

-Karl


 
Reply With Quote
 
rf
Guest
Posts: n/a
 
      06-26-2004

"phil" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed) om...
> We need to "serve" multi-page documents to website visitors. Documents
> are personalized for the visitor with relevant JPG photos- 1 on each
> page. Visitors will print these documents and enclose in a binder.


This does not really sound like the kind of application a web page is
designed for.

Example?

--
Cheers
Richard.


 
Reply With Quote
 
Jeff Thies
Guest
Posts: n/a
 
      06-26-2004

"phil" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed) om...
> We need to "serve" multi-page documents to website visitors. Documents
> are personalized for the visitor with relevant JPG photos- 1 on each
> page. Visitors will print these documents and enclose in a binder.
>
> For these to print "nicely" am I correct in assuming we would have to
> first dynamically merge into a pdf document using available software,
> and serve it to site visitors for downloading, or can we get away
> cheaper (software-wise) by just letting them print a dynamically
> generated web page. Any way to improve on screen resolution of 72dpi
> (?). I assume with a pdf we could control dpi of the documents we are
> serving to insure quality printouts.


The resolution will affect only the image. Text will always print sharp.
The same is true with PDFs.

You can try this:

Let's say you have an image that will print 2 inches wide, 144 pixels. Use a
larger image and resize it with the image width.

<img width="144" ...>

Not tested...

Jeff

>
> Can we do similar with Word, and would that be cheaper software? Can
> word control dpi in final doc, as would pdf? Thanks.



 
Reply With Quote
 
phil
Guest
Posts: n/a
 
      06-26-2004
Karl and others:

Our requirement is that visitors log in, and a printable 8 page, 8.5 x
11 document of some type generates (either PDF, Word, or hopefully
just the printable web page so no additional software needed on
server, or downloading reqd by visitor). 8 Page document needs to
dynamically generate with a JPG photo, unique to that individual,
inserted on each page (sorry for being inexact, but "tell you but have
to kill you" type thing). There will also be some merging text into a
few spots on each of 8 pages. A basic template will be used for the 8
page document and stored on server, and the relevant, merging photo
and text will be stored in database on server & linked to the member
id.

This is a fee based service, so theoretically the bandwith usage will
grow in proportion to revenue, but any guidance on such costs would be
appreciated. I think that bandwith gets much cheaper as you get into
high volume...but I will check this. These will be "graphics-rich" 8
pages, with colorful borders, standard fonts, set at a dpi
(hopefully!) enough for home printing on typical color inkjet
printer...perhaps 125-150 dpi. I dont know typical final file
sizes...hope above helps.

At beginning perhaps we may serve out 100s of the 8 page documents
daily, eventually 1000s...

The colors and even size of printable image need be close to 8.5 x 11,
so it all fits on printed page, but need not be exact, which is why we
hope we can get away with html only, not PDF or Word. If we use PDF
files we will include target punches for 3 hole binders on left side
of page, but if html I assume different browsers will print slightly
differently in size, so we wont attempt this....but can we get it to
print to fit on 8.5 x 11 page with decent resolution?
 
Reply With Quote
 
Toby A Inkster
Guest
Posts: n/a
 
      06-26-2004
phil wrote:

> For these to print "nicely" am I correct in assuming we would have to
> first dynamically merge into a pdf document using available software,
> and serve it to site visitors for downloading, or can we get away
> cheaper (software-wise) by just letting them print a dynamically
> generated web page.


You could theoretically serve it as a web page -- CSS 2 allows you a great
amount of control over how a document is printed. In practice though,
Opera is the only browser that supports CSS 2 well enough.

--
Toby A Inkster BSc (Hons) ARCS
Contact Me - http://www.goddamn.co.uk/tobyink/?page=132

 
Reply With Quote
 
phil
Guest
Posts: n/a
 
      06-27-2004
I am reposting this at the bottom of the thread - also appears above-
I didnt realize responses to prior postings get inserted midway into
thread....
______________________________________

Karl and others:

Our requirement is that visitors log in, and a printable 8 page, 8.5 x
11 document of some type generates (either PDF, Word, or hopefully
just the printable web page so no additional software needed on
server, or downloading reqd by visitor). 8 Page document needs to
dynamically generate with a JPG photo, unique to that individual,
inserted on each page (sorry for being inexact, but "tell you but have
to kill you" type thing). There will also be some merging text into a
few spots on each of 8 pages. A basic template will be used for the 8
page document and stored on server, and the relevant, merging photo
and text will be stored in database on server & linked to the member
id.

This is a fee based service, so theoretically the bandwith usage will
grow in proportion to revenue, but any guidance on such costs would be
appreciated. I think that bandwith gets much cheaper as you get into
high volume...but I will check this. These will be "graphics-rich" 8
pages, with colorful borders, standard fonts, set at a dpi
(hopefully!) enough for home printing on typical color inkjet
printer...perhaps 125-150 dpi. I dont know typical final file
sizes...hope above helps.

At beginning perhaps we may serve out 100s of the 8 page documents
daily, eventually 1000s...

The colors and even size of printable image need be close to 8.5 x 11,
so it all fits on printed page, but need not be exact, which is why we
hope we can get away with html only, not PDF or Word. If we use PDF
files we will include target punches for 3 hole binders on left side
of page, but if html I assume different browsers will print slightly
differently in size, so we wont attempt this....but can we get it to
print to fit on 8.5 x 11 page with decent resolution?
 
Reply With Quote
 
rf
Guest
Posts: n/a
 
      06-27-2004

"phil" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed) om...
> I am reposting this at the bottom of the thread - also appears above-
> I didnt realize responses to prior postings get inserted midway into
> thread....
> ______________________________________
>
> Karl and others:


<snip>

Phil.

With all due respect you seem to be out of your depth. This is probably why
you are resorting to asking us.

Your explanation of your requirements does not actually make sense, probably
because, as you say, you will have to kill me.

I think it is about time to tell your superiors to hire a professional web
designer who will advise them on them on the errors in their ways. This
professional will give you answers far faster and better than you will get
here, after all you will be paying said professional.

I would also throw in a professional programmer, a database expert, a
graphic designer and probably a greenie to complain about the paper wastage


--
Cheers
Richard.


 
Reply With Quote
 
The Doormouse
Guest
Posts: n/a
 
      06-27-2004
http://www.velocityreviews.com/forums/(E-Mail Removed) (phil) wrote:

> 8 Page document needs to
> dynamically generate with a JPG photo, unique to that individual,
> inserted on each page (


Looks like you have some ASP programming ahead of you to generate web pages
from dynamic XML content.

The Doormouse

--
The Doormouse cannot be reached by e-mail without her permission.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Library to parse MS word docs & convert Word docs to PDF KYG C++ 2 08-18-2008 07:08 PM
[newgem] How to generate docs with rake docs ? Stéphane Wirtel Ruby 0 04-19-2007 02:46 PM
Do Printed Word Docs Look Any Differently From PDF Docs? Martin Computer Support 5 09-20-2006 11:06 PM
Why the Perl docs are so great was why the perl docs suck Al Perl Misc 1 10-16-2005 06:35 PM
Serving PDF from a servlet - blank screen in IE Alex Molochnikov Java 11 05-04-2004 02:43 PM



Advertisments