G
gilles27
Hello all.
I am currently working on a project which will allow our users to
print invoices, delivery notes, etc. using Crystal Reports. The basic
premise is that the print job details are saved into the database and
then picked up by a windows service which polls the database
regularly.
The problem I have is that our application is deployed on our own
servers, which our customers then Remote Desktop to. Therefore the
windows service cannot "see" the user's printer when it comes time to
print.
The best solution I have so far is to place another service on the
customer's intranet, which can then see their printers. This service
would receive the print job via a TCP socket which it has opened.
The application is implemented in .NET so I have initially tried
sending the Crystal Report document object down the wire - however
this class is not serializable. I would also introduce a dependency on
Crystal at the customer's end, which I'd rather avoid.
I've also tried using Crystal to create a pdf document, then sending
the pdf down the wire. I can recreate the pdf at the other end but
then have no way to print it using .NET. I believe I can use Acrobat
via the command line but this introduces another dependency and seems
a bit messy.
If anyone has any suggestions as to how I might get around this
problem I'd be pleased to hear from them.
Regards,
Ross
I am currently working on a project which will allow our users to
print invoices, delivery notes, etc. using Crystal Reports. The basic
premise is that the print job details are saved into the database and
then picked up by a windows service which polls the database
regularly.
The problem I have is that our application is deployed on our own
servers, which our customers then Remote Desktop to. Therefore the
windows service cannot "see" the user's printer when it comes time to
print.
The best solution I have so far is to place another service on the
customer's intranet, which can then see their printers. This service
would receive the print job via a TCP socket which it has opened.
The application is implemented in .NET so I have initially tried
sending the Crystal Report document object down the wire - however
this class is not serializable. I would also introduce a dependency on
Crystal at the customer's end, which I'd rather avoid.
I've also tried using Crystal to create a pdf document, then sending
the pdf down the wire. I can recreate the pdf at the other end but
then have no way to print it using .NET. I believe I can use Acrobat
via the command line but this introduces another dependency and seems
a bit messy.
If anyone has any suggestions as to how I might get around this
problem I'd be pleased to hear from them.
Regards,
Ross