BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Crystal Reports Cant Find Default Printer In Service

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Third Party Tools)
View previous topic :: View next topic  
Author Message
JP
Guest





PostPosted: Mon Aug 09, 2004 10:53 pm    Post subject: Crystal Reports Cant Find Default Printer In Service Reply with quote



When i try to use Crystal Reports in a service it
cannot find my default printer..
(I do have a default printer)
I tried finding it with GetDefaultPrinter(char *, dword)
but that also failed. Im wondering if it is possible to print
from a service


Back to top
JP
Guest





PostPosted: Tue Aug 10, 2004 5:49 pm    Post subject: Re: Crystal Reports Cant Find Default Printer In Service Reply with quote



I found my error.. for anyone interested

When you would like to use a printer in a service
you have to log on as someone in your service settings
I had to log onto my computer as myself, local system account
doesnt work! for me it had to be SERVERNAMEusername




"JP" <plowman_ (AT) hotmail (DOT) com> wrote

Quote:
When i try to use Crystal Reports in a service it
cannot find my default printer..
(I do have a default printer)
I tried finding it with GetDefaultPrinter(char *, dword)
but that also failed. Im wondering if it is possible to print
from a service





Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Third Party Tools) All times are GMT
Page 1 of 1

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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.