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

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,819
Latest member
masterdaster

Latest Threads

Top