[open-beos-printing] Re: Print Kit Progress Report

  • From: Michael Pfeiffer <michael.pfeiffer@xxxxxxxxx>
  • To: open-beos-printing@xxxxxxxxxxxxx
  • Date: Wed, 23 Oct 2002 08:33:13 -0700

23.10.2002 02:47:11, Philippe Houdoin <philippe.houdoin@xxxxxxx> 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



Other related posts: