469,609 Members | 1,713 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,609 developers. It's quick & easy.

Printing Envelopes From the Web

We have clients asking that we provide an easy way to print envelops
from within our web applications. These envelopes need to be pretty
advanced, and need to include a bar code and maybe even a logo. My
boss wants a solution where we simply "push" the Word or ODF file to
the client's computer and it automatically prints on their printer.
I actually think that is what our clients are hoping for as well.
I've told him I am pretty darn sure that can't be done, because both
Word and Open Office files may contain viruses.

My suggestion has been to generate a Word or ODF file that the user
can download, open and then print. Alternatively, we could probably
generate a PDF to accomplish the same thing. These solutions might
involve extra steps, but I know they are possible.

I want to make sure there isn't some other alternative we haven't
considered, so I thought I would email this group and see if anyone
has some suggestions as to how they would approach this problem. Also,
comments on the approaches discussed above would be appreciated.

Thanks,
Matt

Jun 7 '07 #1
2 2415
Matt wrote:
We have clients asking that we provide an easy way to print envelops
from within our web applications. These envelopes need to be pretty
advanced, and need to include a bar code and maybe even a logo. My
boss wants a solution where we simply "push" the Word or ODF file to
the client's computer and it automatically prints on their printer.
I actually think that is what our clients are hoping for as well.
I've told him I am pretty darn sure that can't be done, because both
Word and Open Office files may contain viruses.

My suggestion has been to generate a Word or ODF file that the user
can download, open and then print. Alternatively, we could probably
generate a PDF to accomplish the same thing. These solutions might
involve extra steps, but I know they are possible.

I want to make sure there isn't some other alternative we haven't
considered, so I thought I would email this group and see if anyone
has some suggestions as to how they would approach this problem. Also,
comments on the approaches discussed above would be appreciated.
This should sum it up for you: http://jibbering.com/faq/#FAQ4_23

--
-Lost
Remove the extra words to reply by e-mail. Don't e-mail me. I am
kidding. No I am not.
Jun 7 '07 #2
Matt <ml*******@data-management.comwrote in news:1181249577.759899.36850
@o5g2000hsb.googlegroups.com:
We have clients asking that we provide an easy way to print envelops
from within our web applications. These envelopes need to be pretty
advanced, and need to include a bar code and maybe even a logo. My
boss wants a solution where we simply "push" the Word or ODF file to
the client's computer and it automatically prints on their printer.
I actually think that is what our clients are hoping for as well.
I've told him I am pretty darn sure that can't be done, because both
Word and Open Office files may contain viruses.

My suggestion has been to generate a Word or ODF file that the user
can download, open and then print. Alternatively, we could probably
generate a PDF to accomplish the same thing. These solutions might
involve extra steps, but I know they are possible.
By far, the best way to make documents required for printing is to create
PDFs. Nothing else lets you constrain the document width etc, which is
necessary for precision printing (ie: printing envelopes, labels, etc)

Of course, this must be done via the backend. I'm not sure about .NET, but
PHP offers several options for PDF creation, including a free class at
fpdf.org.

I have used the FPDF class for generating both envelopes and labels, and
though some trial and error is initially required, it's a great solution
that guarantees consistent printing across multiple computers and OSs.

.... though not connected to javascript in any way.
Jun 7 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

19 posts views Thread by dcrespo | last post: by
9 posts views Thread by Jody Gelowitz | last post: by
5 posts views Thread by Patrick De Ridder | last post: by
4 posts views Thread by Arif | last post: by
reply views Thread by James Doughty | last post: by
1 post views Thread by Stu Lock | last post: by
reply views Thread by Solution2021 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.