Printing from ASP/NT Service

G

GTi

I have googled around trying to find a simple example of how to print
a document to a printer spooler located on the server. But I'm unable
to find anything.

I have a application running on the server desktop (this will be a NT
service in time) and a ASP page that communicate with this
application.
When the user click on a button on the ASP page a command is sent to
the desktop application. The desktop application receives this command
(all this is working just fine)

Now to my problem:
This application will then print a document (receipt) to a predefined
printer that is connected to the server.
So I cant have a "select printer dialog" (I already know the printer
name) and then print the document.
Can anyone please redirect my to any page with examples of using this
or (preferred) give me any tips of
Setting up the printer (correct printer)
How to actual print the document.

Best regards
G
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,584
Members
45,076
Latest member
OrderKetoBeez

Latest Threads

Top