Quantcast
Channel: SCN : Popular Discussions - SAP Crystal Reports, version for Eclipse
Viewing all articles
Browse latest Browse all 893

Help with printout ( run as a windows service)

$
0
0

Hi,

We encouter an exception  "com.crystaldecisions.sdk.occa.report.lib.ReportSDKPrinterNotFoundException"    using   the printout function. The message  is printer name could not be set ! 

 

We tried to create a specific printer "RICOTEST"   and trace the list of printers on the system  just before  using  this method, and the printer exists.

In fact it seems that  we should use "RICOTEST on e01". This is a non sense as "e01" isn't a machine  and the printer is a network printer defined localy.

If we run the program interactively (  from a desktop session)   all is ok, but our program is running  as a windows service and in this case it fail,  

We tried to print with native java print method and it work, it "seems" related to  crystal  method to assign printer.

 

The service is configured with a domain user ( local administrator), the same user the printer was created, the same we use interactively.

 

The really strange thing is that our environment is running  fine on lots of win2008R2  servers, the only difference seems in this case windows 2008 Std SP2  (despite probably  some  windows  security updates).

Were really stuck on this, does someone have any idea  on this please. 

 

 

Best regards,

Matthieu.


Viewing all articles
Browse latest Browse all 893

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>