LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-16-2007, 01:55 AM   #1
TL_CLD
Member
 
Registered: Sep 2006
Posts: 366

Rep: Reputation: 45
Slackware 12, CUPS and OpenOffice 2.3 [SOLVED]


As explained in this thread I'm having some weird problems with OpenOffice 2.3 freezing when being used.

This morning, by total luck, I figured out why it happens: When CUPS is running AND there's a printer configured (in my case a socket:// printer), OpenOffice 2.3 hangs. If CUPS is running with NO printer configured, OpenOffice 2.3 works like a charm.

I'm baffled..

What can I do to fix this very odd behavior? I haven't been able to find any other programs that exhibit similar behavior, so this problem is apparently tied to CUPS and OpenOffice.

I have tried both OpenOffice 2.3 and 2.2.1 - both hang when CUPS is running and there's a printer configured. Stop CUPS or remove the configured printer, and OpenOffice works once again.

I'm running stock Slackware 12 packages (not -current, just the regular stuff with the official patches applied). The OpenOffice packages are from slackbuilds.org, though I have tried both the linuxpackages.net package and I've tried downloading OpenOffice from openoffice.org and from that build my own "package" using rpm2tgz. They all exhibit the same behavior.

This is actual a make or break situation for me, as these machines are running in a corporate enviroment. We need to be able to print.

Hope someone can help,
Thomas

Last edited by TL_CLD; 11-16-2007 at 05:27 AM.
 
Old 11-16-2007, 02:21 AM   #2
TL_CLD
Member
 
Registered: Sep 2006
Posts: 366

Original Poster
Rep: Reputation: 45
I've just tried downgrading to cups package cups-1.2.11-i486-1.tgz from package cups-1.2.11-i486-2_slack12.0.tgz, but with no success. OpenOffice 2.3 still hangs.

So apparently this problem has nothing to do with the patched CUPS version.


Thomas
 
Old 11-16-2007, 03:23 AM   #3
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,371

Rep: Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748
You have my sympathy, but with my setup I am experiencing no problems.
OpenOffice 2.3 built from Slackbuild.org on Slackware-current.
CUPS is latest from Slackware-current.

My only suggestion is the printer driver that you are using within CUPS.
 
Old 11-16-2007, 04:09 AM   #4
TL_CLD
Member
 
Registered: Sep 2006
Posts: 366

Original Poster
Rep: Reputation: 45
Quote:
Originally Posted by allend View Post
You have my sympathy, but with my setup I am experiencing no problems.
OpenOffice 2.3 built from Slackbuild.org on Slackware-current.
CUPS is latest from Slackware-current.

My only suggestion is the printer driver that you are using within CUPS.
I'm not using anything from -current, but I will try the CUPS package. I can see it's quite a bit newer.

I'm not using any driver either, or rather I'm using either RAW or PostScript level 1. I'm fairly certain these two drivers shouldn't mess anything up.

Also worth noting is that it's ONLY OOo that craps out on me. All other programs print like there's no tomorrow!

Thomas
 
Old 11-16-2007, 04:26 AM   #5
TL_CLD
Member
 
Registered: Sep 2006
Posts: 366

Original Poster
Rep: Reputation: 45
Installing the -current cups-1.3.4-i486-1.tgz package does not fix the problem.

/

Thomas
 
Old 11-16-2007, 05:35 AM   #6
TL_CLD
Member
 
Registered: Sep 2006
Posts: 366

Original Poster
Rep: Reputation: 45
SOLVED!

Ok, this is what I had to do to get Open Office 2.3 to print:

Configure a printer in CUPS and make sure it works.
Start the OOo Printer Adm. tool.
Select the CUPS printer and click Properties.
Click the Device tab.
Select Postscript Level 1.
Select Color Grayscale.
Click OK.
Click Test Page.
If the Test Page is successfully printed, go back to the Device tab and reset Postscript Level and Color to From Driver.

That's it. I can now FINALLY print using OOo without crashing the whole damn thing.

Why this is necessary I don't know. Perhaps it's because all my printers are networked using socket://ip:9100? Oh well, as long as things are working..

Thomas
 
Old 11-17-2007, 07:10 AM   #7
psychicist
Member
 
Registered: Apr 2007
Posts: 80

Rep: Reputation: 15
I'm sorry I made you re-install an entire OS for nothing (at least you found the real problem ), but I've seen some CUPS printing slowness issues on Slackware 11.0 with the HPIJS drivers on a LaserJet 2420.

An installation of Slackware 12.0 didn't have that problem the last time I briefly tried, but I'll have a look at it soon too. It's annoying that a CUPS issue can bring an entire machine to its knees, even using the best distribution available.

I've never had any issues either with Slackware 11.0 or 12.0 with my HP LaserJet 4Plus on a JetDirect Ex print server, so it must be a problem with the particular PPD driver and/or Ghostscript too.

Last edited by psychicist; 11-17-2007 at 07:18 AM.
 
Old 11-17-2007, 10:05 AM   #8
TL_CLD
Member
 
Registered: Sep 2006
Posts: 366

Original Poster
Rep: Reputation: 45
Quote:
Originally Posted by psychicist View Post
I'm sorry I made you re-install an entire OS for nothing (at least you found the real problem ), but I've seen some CUPS printing slowness issues on Slackware 11.0 with the HPIJS drivers on a LaserJet 2420.
You have nothing to be sorry about. Your help help was what kept me going, and kept me from giving in and installing OpenSuse.

It's people like you who make the Slackware community so special.

Thank you,
Thomas
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mozilla, openoffice and cups gtk2 Debian 1 10-31-2004 02:33 PM
OpenOffice + CUPS chrisk5527 Linux - General 1 02-29-2004 05:02 PM
does OpenOffice support CUPS? jogurt666 Linux - Software 1 01-28-2004 09:40 AM
OpenOffice and CUPS paulorcrs Linux - Newbie 0 03-12-2003 03:36 AM
CUPS and OpenOffice 1.0 LinuxHaven Linux - Networking 2 08-14-2002 11:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:11 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration