Not sure why you get 31 seconds.  There is a hardcoded 15 second wait in 
psm-lpd.so when it attempts to connect to a remote print service. 

    -Norm

Ghee Teo wrote:
> Hi,
>
> I have a queue which is to access a remote print server, but the remote 
> print server has since
> been re-installed, the host still exits, but the print service it set up 
> no longer exist.
>
> So when I call papiServiceCreate (0 on that queue, it took 31 seconds,
>
> ./test-queue-state pdub0407-tcp
> getting queue state of pdub0407-tcp
> time used in papiServiceCreate(): 0.000012
> printer offline/Unknown
> Queue pdub0407-tcp is at 0
> Time elapsed = 31.052967
>
> While I may be doing a shorter time out on the calling side, it is not 
> too bad with CLI, but
> dreadful with GUI. Any way of changing this on PAPI?
>
> -Ghee
>
> _______________________________________________
> printing-discuss mailing list
> printing-discuss at opensolaris.org
>   


Reply via email to