Writing Code
 Crystal Reports Forum : Crystal Reports for Visual Studio 2005 and Newer : Writing Code
Message Icon Topic: printtoprinter from a windows service Post Reply Post New Topic
Author Message
StuartC
Newbie
Newbie
Avatar

Joined: 29 May 2009
Location: Canada
Online Status: Offline
Posts: 2
Quote StuartC Replybullet Topic: printtoprinter from a windows service
    Posted: 29 May 2009 at 12:29pm
hi,
 
I can't figure out how to get my program to print the crystal report from a windows service mode using the printtoprinter function. If i switch it to window mode the program prints the report properly.
I am logging under administrator as I have tried localsystem and it fails to work there as well.
 
Any help would be appriated.
 
Thanks
 
Stuart
IP IP Logged
StuartC
Newbie
Newbie
Avatar

Joined: 29 May 2009
Location: Canada
Online Status: Offline
Posts: 2
Quote StuartC Replybullet Posted: 29 May 2009 at 1:52pm
So I figured it out.
You have to set the printer name therefore you can't rely on the default printer and has to be set in the my.settings.
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.018 seconds.