Re: Print Kit Progress Report

Michael Pfeiffer <[email protected]> Wed, 23 Oct 2002 08:33:13 -0700
Newsgroups gmane.os.openbeos.printing
Message-ID <B6ZU42US1YKIF2WTQ41OMXSPKMJS72.3db6c139@name-sgc3h6xcx5>
23.10.2002 02:47:11, Philippe Houdoin <[email protected]> wrote:

>
>> The Be print_server, when called from Terminal, does not start
>> twice if it is already running. OBOS print_server behaves the
>> same. This is handled in main() (PrintServerApp.cpp).
>> It checks if an instance of print_server is already running and exits if so.
>> For some reason, if started from Tracker, it seems that it blocks somewhere
>> in main() (probably in be_roster->IsRunning(PSRV_SIGNATURE_TYPE)).
>> Any help how this should be done correctly is appreciated.
>
>I can't check it here from office, but did you set print_server's "
>Background App" application flag? Oh, and the "Single Launch" mode, too?

The flags are set correctly.

I have removed the code that checks if the print_server is already running
and now everything works as expected. I had added this code, because
the print_server could be start several times from Terminal on my machine. 

- Michael