This should be entirely feasible using CSS2. We built a
print-on-demand system in 2003 that was linked to a content-management
system. Consider using the CSS media specifications for print and
screen (You could have a 300dpi image for printing, but a 72 dpi for
display in the browser). Some old browsers (IE5, Netscape 4-6) will
not support this, but IE6, Safari and Firefox will work.
Some things to look out for:
* background images. You need to tell users to turn on
background-image printing if you use these. I'm not sure that Mac
Firefox can print background images.
* page setup for printing. Although you can use
javascript:window.print() to emulate hitting the print button, you
won't be able to script the page setup (except on security-compromised
platforms such as Windows). A user will have to choose the page setup
(orientation, etc.); the same should apply to pdf.
bill
On Monday, June 13, 2005, at 11:16 AM, Alan Wolfe wrote:
Hey everyone,
Is it feasible to print out envelopes from a web page?
What we are looking to do is something like have the user select a
vendor, checkmarks and address then hits ok and make it so they can
print out an envelope addressed to the chosen vendor.
I have researched doing landscape mode with CSS but there wasnt any
browser support for it as far as i could find.
Does anyone know of any technique to make this happen? (:
Alan
_______________________________________________________________________
_
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf