advice for creating document on server

F

Franck

Hello,
I need to implement the following features:
I need to create a document on whatever format word, pdf …
A simple one; few field taken from a DB.
This document should be printed on a client specified printer (on intranet)
and may not be stored.
I thought about going on to crystal report but it seems sort of
complicated as I start from scratch

I also thought about generate de file on a server directory,
Command the printing choosing in a list of client’s printer as I’m on
the same intranet network.
But is it possible to get the list of the available printer on client side?

Thank you for your advice
 
K

Kevin Spencer

Hi Franck,
I need to create a document on whatever format word, pdf …
A simple one; few field taken from a DB.

A simple document is a text document. For anything else, you either need a
..Net class or COM object to create the document, or you need to know the
document file format and create it from scratch.
This document should be printed on a client specified printer (on
intranet)
and may not be stored.

To do this without a client app would not be possible. Browsers download
documents. An ActiveX control, embedded Windows form control, Java applet,
or SWF, hosted in the client browser could do this.
I thought about going on to crystal report but it seems sort of
complicated as I start from scratch

According to your requirements, it's going to be complicated regardless.
I also thought about generate de file on a server directory,
Command the printing choosing in a list of client’s printer as I’m on the
same intranet network.

If your server machine has access to the printer, you could certainly print
the document directly to the printer. You would not need to save the
document to disk. This would be an additional unnecessary step. Documents
are not sent to printers; streams are.
But is it possible to get the list of the available printer on client
side?

You would have to ask your Network Administrator that question.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Ambiguity has a certain quality to it.
 

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
474,319
Messages
2,571,661
Members
48,472
Latest member
BeginEngine

Latest Threads

Top