473,396 Members | 1,933 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

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 2692
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

19
by: dcrespo | last post by:
Hi all... Is there a way to print a PDF file directly from Python without having Acrobat installed? I know about ReportLab. It's a python module that lets you create almost any PDF document, but I...
9
by: Jody Gelowitz | last post by:
I am trying to find the definition of "Safe Printing" and cannot find out exactly what this entitles. The reason is that I am trying to print contents from a single textbox to no avail using the...
5
by: Patrick De Ridder | last post by:
How can I turn what I want to print 90 degrees using the logic below? Please tell me the code with which to make the modification. Many thanks, Patrick. using System.ComponentModel; using...
4
by: Suzanka | last post by:
Hello, I have an application written in C# on visual studio .NET. It is a web aplication. The application consists of many different forms, that users occassionaly want to print out for filing....
4
by: Arif | last post by:
I C# code prints very slow as compared to a third party barcode printing software. That software prints approximately 10 labels in 2 seconds while my C# code prints 10 labels in 5 to 6 seconds. And...
0
by: James Doughty | last post by:
Hello, My user's needs a solution to generate letter and envelope from my database the letter and envelope are unique to each record. The letter could be handled by a pdf but I'm not sure about...
1
by: Stu Lock | last post by:
Hi, We have a SQL Server database with a database (~5000 user adresses) hosted off site. At the clinets I need to be able to pull various groups out of the db and print their details on to...
0
by: Jordan Richard | last post by:
I'm designing a new .NET 2.0 Windows Forms application to support users who, amongst other things, need to print letters and envelopes. They currently do such printing by manually managing a...
4
ADezii
by: ADezii | last post by:
Recently, there seems to be several questions specifically related to Printers and changing Printing characteristics for Forms and Reports. For this reason alone, I decided to dedicate this week's...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
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,...
0
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.