473,472 Members | 2,191 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Print at Server using Web Services

Is it possible to print on the server using Web Services? I have a CE app
that reads and writes to the database using Web Service. I would like to
print a Summary of each transaction after it is done. Since I cannot print
from the CE device, I would like to print it on the Server by passing the
transaction number to the Web Service. I would preferably like to use a
Crystal report since formating will be easier but any other way would help as
well. Is this possible?
Jan 31 '06 #1
2 1665
Hello,

I havent done it my self but I believe its do-able. You can use crystal
reports if you want to. You will have to create an instance of report (class
associated with rpt file) and then you will have to assign data source to the
report class (based on the parameters / state that you have pass from your CE
environment). Then you can call print method on report class (by either
specifying printer or using default one).

I hope it helps.

cheers!
Hammad Rajjoub
MVP (XML Web Services)
http://dotnetwizards.blogspot.com
"Speedydooo" wrote:
Is it possible to print on the server using Web Services? I have a CE app
that reads and writes to the database using Web Service. I would like to
print a Summary of each transaction after it is done. Since I cannot print
from the CE device, I would like to print it on the Server by passing the
transaction number to the Web Service. I would preferably like to use a
Crystal report since formating will be easier but any other way would help as
well. Is this possible?

Feb 1 '06 #2
I am doing something like this. I made a class library that handles the
printing and simply call this on a new thread from the web service. Right
now my problem is that it is creating the document but it is hanging at the
printer, all it does is just sit there spooling.

Tim

"Hammad Rajjoub" wrote:
Hello,

I havent done it my self but I believe its do-able. You can use crystal
reports if you want to. You will have to create an instance of report (class
associated with rpt file) and then you will have to assign data source to the
report class (based on the parameters / state that you have pass from your CE
environment). Then you can call print method on report class (by either
specifying printer or using default one).

I hope it helps.

cheers!
Hammad Rajjoub
MVP (XML Web Services)
http://dotnetwizards.blogspot.com
"Speedydooo" wrote:
Is it possible to print on the server using Web Services? I have a CE app
that reads and writes to the database using Web Service. I would like to
print a Summary of each transaction after it is done. Since I cannot print
from the CE device, I would like to print it on the Server by passing the
transaction number to the Web Service. I would preferably like to use a
Crystal report since formating will be easier but any other way would help as
well. Is this possible?

Mar 9 '06 #3

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

Similar topics

0
by: Rich Sweeny | last post by:
Hi, I am working in Mac OSX 10.3.7 with SDK 1.4_2. When my Print Dialog box comes up just about everything is disabled except selecting from the 4 printers I have and being able to set the page...
5
by: Tony | last post by:
Every 10 seconds I need to search a SQL table for orders to print. The orders are created through WebForms on ASP.NET clients. The orders should not print until 10 minutes before they are due. ...
9
by: Scott M | last post by:
I'm printing a directory of about 500 multi-page tifs to a high speed printer and the spooler process is killing me!!! here is a little code..... Public Function PrintImage(ByVal...
2
by: Jobs | last post by:
Download the JAVA , .NET and SQL Server interview with answers Download the JAVA , .NET and SQL Server interview sheet and rate yourself. This will help you judge yourself are you really worth of...
2
by: Brad Pears | last post by:
I have a vb.net 2005 application and am using the print preview screen. This screen has a printer icon on it that the user can use to print the document currently being viewed. It uses the default...
18
by: =?Utf-8?B?SGVyYg==?= | last post by:
I'm using a ReportViewer in ASP.NET. From the development environment it works fine. When published and I try to open the page with the ReportViewer I get the error: An internal error occurred...
5
by: prakashturkar | last post by:
Hi, I am Prakash.... I have tried to print an MS Word file using the basic print utilities provided in JAVA.But while asking for printing through my own code i am getting proble for example..."The...
0
by: =?Utf-8?B?Sm9obg==?= | last post by:
If I'm posting in the wrong group please let me know. We've been experiencing issues with the print spooler service on our print server running Windows Server 2003 SP2. Occasionally the service...
0
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,...
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
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,...
1
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...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.