[csw-users] Problem with OpenOffice 2.2.0

Jeffery Small jeff at cjsa.com
Tue Oct 9 21:08:20 CEST 2007


James Lee <james at blastwave.org> writes:

>> I never heard of spadmin and there is no manual page for it.  I'm pretty
>> sure I never ran this command before.

>It's been there since at least version 5.  (StarOffice 5, pre OOo.)
>search for spadmin the OOo help and there are some docs.  (If your
>help is working).

Some help is there but any attempt at F1 context sensitive help results in:

	Could not find Help page.
	Help ID: text%2Fswriter%2Fmain0000.xhp

The same message is displayed when I type "spadmin" into the Find tab!
Is there a "help" module that is not installed here?  Here is what I have:

	ooocommon
	ooocore
	ooodictenus
	ooouienus
	openofficeenus


>> The Printer Administration window shows the ps (Default printer) has
>> the command "lp -s" and the Driver is listed as "ps (CUPS:ps)".

>For me the default printer has a driver of "SGENPRT".

>Try "New Printer", "Add a printer".  When you add new printers what
>drivers does each offer?

When I run spadmin as either my normal self or as root, when I click on
"New Printer" the Add Printer dialog pops up and the "Add a printer" and
"Import printers from StarOffice installation" are both greyed out!  I'm
not going to add a printer this way!

>The drivers correspond to files in
>    /opt/csw/OpenOffice.org/share/psprint/driver
>I can't find any reference to CUPS here.

I grepped this directory and also do not find any reference to cups.


>The users settings are stored in:
>    ~/.openoffice.org2/user/psprint/psprint.conf

>Mine starts:
>[Generic Printer]
>Printer=SGENPRT/Generic Printer
>DefaultPrinter=1
>Location=
>Comment=
>Command=lp
>-d laser

Ok, this is the source of the problem.  Here is my file:
--------------------------------------------------------------------------
[Generic Printer]
Printer=SGENPRT/Generic Printer
DefaultPrinter=0
Location=
Comment=
Command=lp -s
Features=
Copies=1
Scale=100
Orientation=Portrait
PSLevel=0
ColorDevice=0
ColorDepth=24
MarginAdjust=-1,-1,-1,-1
PPD_PageSize=Letter
PerformFontSubstitution=true
SubstFont_Arial=Helvetica
SubstFont_Times New Roman=Times
SubstFont_Cumberland=Courier
SubstFont_Timmons=Times
SubstFont_Helmet=Helvetica
SubstFont_Thorndale=Times
SubstFont_Albany=Helvetica
SubstFont_Courier New=Courier

[ps]
Printer=CUPS:ps/ps
DefaultPrinter=1
Location=
Comment=
Command=lp -s
Features=
Copies=1
Orientation=Portrait
PSLevel=2
ColorDevice=-1
ColorDepth=24
MarginAdjust=-1,-1,-1,-1
PerformFontSubstitution=true
SubstFont_Arial=Helvetica
SubstFont_Times New Roman=Times
SubstFont_Cumberland=Courier
SubstFont_Timmons=Times
SubstFont_Helmet=Helvetica
SubstFont_Thorndale=Times
SubstFont_Albany=Helvetica
SubstFont_Courier New=Courier
--------------------------------------------------------------------------

So I deleted the entire entry for the [ps] printer, restarted spadmin and
it still reports my three printers from lpadmin (ps, hpgl and hp755) and
shows all of them as CUPS drivers.  Apparently the way this OO package is
compiled up, it doesn't understand the lpadmin system and treats it as
CUPS.  I would look in the code and see if there is a switch to add support
for lpadmin.

As I said previously, I have been using the OO implementation from the
OpenOffice.org site without problems and only decided to try the blastwave
package after upgrading to Solaris 10.  So there must be a method of
configuring the software to support lpadmin.  (Unless there is something
screwy with Solaris 10 vs. Solaris 9!)  

Regards,
-- 
Jeff

C. Jeffery Small           CJSA LLC                       206-232-3338
jeff at cjsa.com              7000 E Mercer Way, Mercer Island, WA  98040




More information about the users mailing list