Roderick,

On Fri, 2006-07-14 at 10:10 -0400, G. Roderick Singleton wrote:
> On Thu, 2006-07-13 at 02:35 +1000, Philip Rhoades wrote:
> > Andrius,
> > 
> > 
> > > > > > 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".
> > 
> > 
> > On the working server this is true but on the problem server I see:
> > 
> >     SGENPRT
> > 
> > 
> > > 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).
> > 
> > 
> > NOT on the problem server - when I run:
> > 
> >     /opt/openoffice.org2.0/program/spadmin
> > 
> > as root on the problem server I only see the generic printer listed - I
> > don't see any of the others that ARE listed with:
> > 
> >     system-config-printer
> > 
> > 
> > > There are two psprint.conf files:
> > > system-wide - /etc/poenoffice/psprint.conf
> > 
> > 
> > On RHEL4:
> > 
> >     /opt/openoffice.org2.0/share/psprint/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.
> > 
> > 
> > Correct.
> > 
> > 
> > > 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
> > 
> > 
> > "cups printer section" - what do you mean? there are only ppd files in:
> > 
> >     /etc/cups/ppd
> > 
> > 
> > >  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.
> > 
> > 
> > There is no psprint.conf file anywhere under:
> > 
> >     ~phil/.openoffice.org2
> > 
> > 
> > > However, if the cups printer will still appear as SGENPRT (the
> > > system-wide psprint.conf default),
> > 
> > 
> > That is the current situation . .
> > 
> > 
> > > I give up - then you may need to ask
> > > your distro's lists...  
> > 
> > 
> > There must be some simple solution - the two servers were installed in
> > much the same way (as far as I can remember) but on the working server
> > OO shows printer types of "CUPS:name" and on the problem server OO shows
> > "SGENPRT" and with spadmin on the working server all printers are listed
> > and on the problem one only the generic printer . .
> > 
> > Thanks,
> > 
> > Phil.
> 
> Please remember that OOo is basically a Postscript engine so you have to
> set CUPS to do its thing.


What?  All the printers on both the working and on the non-working
server are setup through:

        system-config-printer


> I have already mentioned that you need to find
> your printer in CUPS and set it up on the print server and then share
> it.


I think you have misunderstood - I am talking about DIFFERENT branch
servers - the problem is NOT one server sending a print job to another
server, although all the printers are shared.  As far as I know I set
all the branch servers up the same way - network printers in each branch
for each branch server were set up with:

        system-config-printer

In OO, in a NON-problem branch, I see printer types like:

        CUPS:s0

In OO, in a completely DIFFERENT but problem branch all the printer
types are:

        SGENPRT

As root using:

        /opt/openoffice.org2.0/program/spadmin

in a NON-problem branch I see all the printers that have been created
using system-config-printer but in the problem branch I only see the
generic printer.


> What you are trying to do is force OOo to do the work of CUPS and
> as you have found out it is not easy.


What? I don't know what you mean - what I want is for OO to use the
printers that have been setup by CUPS using system-config-printer in the
problem branch - just like in the other branches . .


> For a CUPS how-to, please see
> http://www.cups.org/ or 


This is not a CUPS problem - it is an OO problem, CUPS is fine.


> http://www.linuxprinting.org/cups-doc.html


This is not a linux printing problem it is an OO problem, linux printing
is fine.

Thanks,

Phil.
-- 
Philip Rhoades

Pricom Pty Limited  (ACN 003 252 275  ABN 91 003 252 275)
GPO Box 3411
Sydney NSW      2001
Australia
Mobile:  +61:0411-185-652
Fax:  +61:2:8923-5363
E-mail:  [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to