Report printing with a Network Printer(TCP/IP)

Stimulsoft Reports.WEB discussion
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Report printing with a Network Printer(TCP/IP)

Post by HighAley »

Hello.

Thank you for information. We need time to analyse it.

By the way, you print direct to winspool.Drv, but we use standard .Net Framework GDI+ methods.

Thank you.
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Report printing with a Network Printer(TCP/IP)

Post by HighAley »

Hello.

We've reproduced your issue and found out that it's a .Net Framework, Windows and printer driver problem.
Please, try to set the Printer Name with printer's local name on that host but not the network shared name. In this case printing time was very short.
Please, write us if it will help or not.

Thank you.
Chasoo
Posts: 40
Joined: Wed Oct 19, 2011 1:29 am

Report printing with a Network Printer(TCP/IP)

Post by Chasoo »

Hello,

Sorry for the delay. In our environment we do have a printer server which is controlling the printer.In order to access the printer we have to use printer server assigned name on network.i have try use the printer host name but then printersettings isvalid will return false.

in the other hand in our solution we have a printer table in the database where we store all the printers.and we are sending prints on run time next available printer by UNC name which is stored in the database.we dont have the control to change the printer name there.we will use printer unc name which has entered by the user when printing the report.

we are still stuck with the report printing time here.

tnx

Chaminda
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Report printing with a Network Printer(TCP/IP)

Post by HighAley »

Hello, Chaminda.
Chasoo wrote:Sorry for the delay. In our environment we do have a printer server which is controlling the printer.In order to access the printer we have to use printer server assigned name on network.i have try use the printer host name but then printersettings isvalid will return false.

in the other hand in our solution we have a printer table in the database where we store all the printers.and we are sending prints on run time next available printer by UNC name which is stored in the database.we dont have the control to change the printer name there.we will use printer unc name which has entered by the user when printing the report.

we are still stuck with the report printing time here.
We made an investigation in this way. When we used UNC printer name than there was a delay more than a minute. When we used in the UNC printer name its' local name on the server the printing began almost immediately.
We found the same problem here (http://social.msdn.microsoft.com/Forums ... 19cf1e5f61) but it isn't solved. If you could find the reason, we'll fix this problem.

Thank you.
Post Reply