473,748 Members | 2,274 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Print an envelope?

dgk
Anybody have any code for selecting an appropriate printer and
printing an envelope? Greatly appreciated.
Mar 29 '06 #1
4 2832

"dgk" <so*********@ze ro-spam-hotmail.com> wrote in message
news:jd******** *************** *********@4ax.c om...
Anybody have any code for selecting an appropriate printer and
printing an envelope? Greatly appreciated.


Have you looked at "101 Samples - How-To Do Simple Printing" ??

Apr 1 '06 #2
dgk
On Sat, 01 Apr 2006 22:24:10 GMT, "Homer J Simpson"
<no****@nowhere .com> wrote:

"dgk" <so*********@ze ro-spam-hotmail.com> wrote in message
news:jd******* *************** **********@4ax. com...
Anybody have any code for selecting an appropriate printer and
printing an envelope? Greatly appreciated.


Have you looked at "101 Samples - How-To Do Simple Printing" ??

There is a new one out for 2005 but I vaguely recall how to use the
printdocument. It's one of the few areas where I think that VB6 was
simply tons better. I just like the printer object; it made a lot of
sense. Having an event called to print a page doesn't seem to work as
well for me as a procedural style. Maybe it's just a case of getting
used to it.

Rather than do that I've been using the ReportViewer for simple to
medium complex reports.

Printing envelopes isn't quite the same as printing other things
though. It's going to require a particular type of feed rather than a
tray, and different sizes of envelopes likey have standard printing
locations. Rather than try to reinvent envelope printing I figured
that I'd ask for whatever knowledge folks have picked up on the
subject. Thanks for replying though.
Apr 8 '06 #3

"dgk" <No*****@MailsA nonymous.com> wrote in message
news:e3******** *************** *********@4ax.c om...
Printing envelopes isn't quite the same as printing other things
though. It's going to require a particular type of feed rather than a
tray, and different sizes of envelopes likey have standard printing
locations. Rather than try to reinvent envelope printing I figured
that I'd ask for whatever knowledge folks have picked up on the
subject. Thanks for replying though.


I'd tend to write one as the very last resort. Even MS Works will do this
fine - for $10!

Apr 8 '06 #4
dgk
On Sat, 08 Apr 2006 01:11:12 GMT, "Homer J Simpson"
<no****@nowhere .com> wrote:

"dgk" <No*****@MailsA nonymous.com> wrote in message
news:e3******* *************** **********@4ax. com...
Printing envelopes isn't quite the same as printing other things
though. It's going to require a particular type of feed rather than a
tray, and different sizes of envelopes likey have standard printing
locations. Rather than try to reinvent envelope printing I figured
that I'd ask for whatever knowledge folks have picked up on the
subject. Thanks for replying though.


I'd tend to write one as the very last resort. Even MS Works will do this
fine - for $10!


Oh yes, quite. But I want it as part of the integrated app. Sending
out a letter is part of the workflow and offering to print the
envelope would be a nice thing to do. Right now whenever I need to
print an envelope I start up Word. That's really overkill.
Apr 8 '06 #5

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

Similar topics

0
6903
by: Stephen Chell | last post by:
I'm using SAAJ 1.2 (from jwsdp-1.3) and JDK 1.4.2_03. I've written a client application that uses the SAAJ api to send a SOAP message to a servlet. The servlet successfully receives the message and returns a SOAP response containing a single element in the SOAP body. The client receives the response and writes its content to standard out via the SOAPMessage.writeTo() method. The response received looks correct: <SOAP-ENV:Envelope...
10
2869
by: David C | last post by:
We have a classic ASP intranet web site that has been around for a while. Our customer wants to be able to print an envelope from the contact name and address table. We have other reports that we display and print from the HTML generated by our ASP code, but have not been able to find any way to format a page and print to an envelope. Can anyone help? Thanks. David
0
1151
by: Markus Stehle | last post by:
Hi all! I need to create an soap envelope that will be sent to an external service using HTTP POST. I created the required classes which are serialized using XmlSerializer. The envelope should look like this: <Envelope xmlns="http://www.w3.org/2001/12/soap-envelope" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.w3.org/2001/12/soap-envelope soap-envelope.xsd">
5
14455
by: Fred Nelson | last post by:
Hi: I'm trying to write a program that will print envelopes using a HP Laserjet 4 that has three trays. In the future this program will work with other printers so I don't want to "hard code" (or send raw output) to accomplish this. I'm trying to figure out how to set the PaperSource property and haven't had any luck! I've searched MSDN and Google and can't find a single example.
1
2194
by: Ben Crinion | last post by:
I dont think my generated classes are creating a correctly formatted soap envelope I have entered the WSDL into the WebServices Studio app (app is from here http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=65a1d4ea-0f7a-41bd-8494-e916ebc4159c) and used the Studio to invoke the service. It gives you the option to view the envelope and it looks like this:- <?xml version="1.0" encoding="utf-16"?>
0
3601
by: Patrick Brunmayr | last post by:
Hello I have a big Problem with validating a Soap Envelope. I have downloaded the xsd for a soap envelope from http://schemas.xmlsoap.org/soap/envelope/ The validation succeeds as lonng as i don't use elements in body with a xsi:type attribute! The Problem is that foo:person is an abstract type and foo:driver is dervived from it. So using a foo:person is not allowed until specifing
0
3061
by: broersen | last post by:
Hello, Does someone know how to create manually the header for an SOAP message, without having an WSDL? I also use an X509 certificate for connecting to the webservice. Can anyone help me to get on the right road. I have to talk to an old Java webservice, so that's why I don't have an WSDL. I'm sending it with HTTPWebRequest or HTTPSWebRequest with VB but I needed a header like this: Request:
2
9795
by: Zvi | last post by:
Hi All, Can someone tell me why id the following not working? I have a soap response envelope, for test purpose it's just a string and I create ElementTree from it. Then I try to find Response tag, but I get None. data = """<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/ soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
0
2086
by: snowyan | last post by:
We are using an application to print a letter and its envelope to the printer. The application was performing properly till we upgraded our printers to Canon 3225/1555. The envelopes gets processed from the regular tray instead of the feeder tray. this how we set the envelop Code in PrintEnvelope_BeginPrint event With PrintEnvelope.DefaultPageSettings .PaperSize = New...
0
8991
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9376
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
9249
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8245
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
6796
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
4607
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
4877
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2787
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2215
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.