Printing a report to a Print Server
I would like to know if it is possible to direct outout
from a ReportBuilder report to a print server queue/share
without the need to "create" the printer entry first on a
client workstation.
It's really an administrative headache that I'm trying to
avoid.
We have one print server that manages many print queues.
The client (win32) application out on the network may
need to print to any one of the managed print queues. The
application itself decides which print queue to go to...it's
not up to the user to select. There is a table used by the
application that defines which queue to print to based on
certain criteria.
I'm trying to avoid the need to create individual printer
entries on the CLIENT workstation for each of the printer
queues. My hope was that I could use the UNC (\\server\printershare)
as the output "device" versus specifying the printer name
itself. Is this possible?
So far, we have only succeeded in printing to this network
printer IF an entry has been created first on the client.
John
This discussion has been closed.
Comments
ReportBuilder calls the EnumPrinters Windows API method to get all the
printers currently installed or connected to the local computer. We made
the conscious decision not to poll the network for other printers due to the
fact that this would slow the process down immensely. You can take a look
at the TppPrinterList.BuildPrinterList to see where we do this. It would
probably be possible to change this code to look for printers on your
network. See the EnumPrinters help topic in the Windows API help.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com