ss7thirty
Well-known member
Hi Fellow Programmers,
I have an issue with an application used to print crystal report documents. In my windows application in VB.NET 2005 I am looking to be able to send a Crystal Report to a printer specified by the user.
There is a function in the CRAXDDRT object called SelectPrinter(devicename, drivername, port) I am looking to be able to have the user select a printer from a combo box which I populated using the strings in InstalledPrinters.
I would like to be able to dynamically print to a printer selected by the user. However, in order to pass parameters to the crystal report and then print I am stuck using their function which requires a drivername as well as a port. Can anyone provide me assistance in how to accomplish this?
I have an issue with an application used to print crystal report documents. In my windows application in VB.NET 2005 I am looking to be able to send a Crystal Report to a printer specified by the user.
There is a function in the CRAXDDRT object called SelectPrinter(devicename, drivername, port) I am looking to be able to have the user select a printer from a combo box which I populated using the strings in InstalledPrinters.
I would like to be able to dynamically print to a printer selected by the user. However, in order to pass parameters to the crystal report and then print I am stuck using their function which requires a drivername as well as a port. Can anyone provide me assistance in how to accomplish this?