473,396 Members | 2,011 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.

Envelope printing

st
Hi,

We've a C#/ASP1.1 system that largely mirrors a VB one. The VB system
has a function that simply uses Word.Document to send a mailing address
to a printer for printing on an envelope. With one click an envelope
gets printed.

We'd like a similar function in the ASP system. I know the ties to Word
are a lot less tight but is this achievable?

Many thanks,

Simon Lane

Nov 19 '05 #1
2 2075
Hi Simon,

You may want to look at Microsoft.Office.Interop.Word.* namespace. Some
reference: http://msdn.microsoft.com/office/understanding/vsto/

It is achievable to call Word in .NET object (as well as ASP.NET object),
however, if it is a web form application, it may not be feasible to directly
call Word to print the printout directly to client computer thru browser.

Regards,
Jack Li
MVP (ASP.NET)

<st@jpa.co.jp> wrote in message
news:11*********************@f14g2000cwb.googlegro ups.com...
Hi,

We've a C#/ASP1.1 system that largely mirrors a VB one. The VB system
has a function that simply uses Word.Document to send a mailing address
to a printer for printing on an envelope. With one click an envelope
gets printed.

We'd like a similar function in the ASP system. I know the ties to Word
are a lot less tight but is this achievable?

Many thanks,

Simon Lane

Nov 19 '05 #2
It's doable.

Warning: ASP.NET is running under another account and that account does not have any printers installed (by default)
You might have to find an KB article in MSDN something like "How to print from NT service".

George.
<st@jpa.co.jp> wrote in message news:11*********************@f14g2000cwb.googlegro ups.com...
Hi,

We've a C#/ASP1.1 system that largely mirrors a VB one. The VB system
has a function that simply uses Word.Document to send a mailing address
to a printer for printing on an envelope. With one click an envelope
gets printed.

We'd like a similar function in the ASP system. I know the ties to Word
are a lot less tight but is this achievable?

Many thanks,

Simon Lane

Nov 19 '05 #3

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

Similar topics

0
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...
0
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...
1
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...
4
by: dgk | last post by:
Anybody have any code for selecting an appropriate printer and printing an envelope? Greatly appreciated.
0
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...
0
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...
2
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...
2
by: monsalvo | last post by:
What's so wrong with my code? This line is part of a VBScript soap client part of a DTS wich is functional in a 90 percent. strText = .responseXML.selectSingleNode("//" login "loginReturn") ...
0
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
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...
0
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...
0
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,...

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.