[Xprint] No default spool command defined (Solaris & Mozilla)

Roland Mainz roland.mainz at nrubsig.org
Fri Mar 26 04:19:26 EST 2004


Hana Skoumalova wrote:
> after I edited the Xprinters file so that Xprint doesn't augment the
> list of printers and lists only printers defined by me:
> 
> Augment_Printer_List %none%
> Printer lj2200
> Printer lj2200d
> 
> I am not able to print at all (from Mozilla). I get this message:
> 
> XpSubmitJob: No default spool command defined.
> 
> When I comment out the line Augment_Printer_List %none% everything works
> again. What is happening here? And how can I get rid of this problem?

Ouch... I guess this is a regression from the "autoselect
spooler"-feature. In theory the Xprint server should automatically
figure-out which spooler is being used and selects that (this feature is
mainly used on Linux to autodetect "CUPS" or "LPRng"... but it can be
used to select another spooler system on other platforms, too (like
using "CUPS" or "LPRng" instead of the normal Solaris spooler)) ... but
"Augment_Printer_List %none%" may turn-off autoselection... and
accidently doesn't set a default either.

1. Can you please file a bug for that issue
(http://xprint.freedesktop.org/cgi-bin/bugzilla/enter_bug.cgi?product=xprint)
?
2. Can you try whether the following patch for /etc/init.d/xprint solves
the issue for you:
-- snip --
--- /etc/init.d/xprint.original Fri Mar 26 04:11:18 2004
+++ /etc/init.d/xprint  Fri Mar 26 04:12:52 2004
@@ -645,6 +645,7 @@
             (
               "${xpstart_xprt_binary[$curr]}" \
                   ${xpstart_options[$curr]} \
+                 -XpSpoolerType "solaris" \
                   ${curr_xpfile} ${curr_audit} \
                   -fp ${curr_fp} \
                   :${xpstart_displayid[$curr]} &
-- snip --

----

Bye,
Roland

-- 
  __ .  . __
 (o.\ \/ /.o) roland.mainz at nrubsig.org
  \__\/\/__/  MPEG specialist, C&&JAVA&&Sun&&Unix programmer
  /O /==\ O\  TEL +49 2426 901568 FAX +49 2426 901569
 (;O/ \/ \O;)


More information about the Xprint mailing list