On Wed, 12 Jul 2006 14:49:22 +1000 Philip Rhoades <[EMAIL PROTECTED]> wrote:
> Andrius, Roderick, > > > > > On Tue, 11 Jul 2006 17:05:36 +1000 > > > Philip Rhoades <[EMAIL PROTECTED]> wrote: > > > > > > > People, > > > > > > > > How do I force OOo2 to use CUPS as the default printer instead > > > > of SGENPRT > > > > (/opt/openoffice.org2.0/share/psprint/driver/SGENPRT.PS)? > > > > > > > > Thanks, > > > > > > > > Phil. > > > > > > If I get you right: > > > run spadmin or oopadmin > > > (my is /usr/lib/openoffice/program/spadmin, yours may be > > > different), select an installed cups printer and click "default". > > > > > > Andrius > > > > > Why not do what others do, make a printer that will handle > > > postscript in CUPS and use that in OOo? You will need to > > > pre-process postscript with a tool such as gs. > > > > > > Roderick > > > I was not clear enough: > > spadmin only works for individuals - I want EVERY user instance of OO > to use CUPS as the system default NOT it's own SGENPRT. > The problem is: currently EVERY printer that is available to users > on the system via CUPS appears as type "SGENPRT" in OOo instead of say > "CUPS:s0" - as I have seen on one of our other servers - but I can't > see any difference between the setups on both servers! > > Thanks, > > Phil. I can only tell you how it works on my Debian box - maybe this will be of any help. The printers available via cups appear as type "CUPS:printer_name". It's not possible to _add_ a cups or any other printer via spadmin, only pdf converters or faxes can be added; but all installed cups printers are visible in spadmin and can be administered (at least set as default). There are two psprint.conf files: system-wide - /etc/poenoffice/psprint.conf user settings - ~/.openoffice.org2/psprint/psprint.conf All the changes I make with spadmin as a user are recorded only to the user psprint.conf file - as expected. here's the beginning of cups printer section in user psprint.conf file: [hp_usb_DESKJET_930C] Printer=CUPS:hp_usb_DESKJET_930C/hp_usb_DESKJET_930C DefaultPrinter=0 A guess - haven't tested: add the cups printer section to system-wide psprint.conf and set it as default. Another guess: there must be no other printer set as default in user's psprint.conf file. However, if the cups printer will still appear as SGENPRT (the system-wide psprint.conf default), I give up - then you may need to ask your distro's lists... --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
