LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-22-2004, 04:50 PM   #1
chestnut
Member
 
Registered: Jan 2004
Location: Sydney, Australia
Distribution: FC3, Ubuntu (Hoary)
Posts: 86

Rep: Reputation: 15
CUPS and Slackware 9.1


Hi

I have been trying to get a printer setup on Slackware 9.1/CUPS. I have setup printer (HP Deskjet 690C) via browser - localhost:631, on which I have to log-into as root. Printing a test page from here works OK.

However, when using, say for example, Abiword (as a non-root user), nothing seems to happen when I print.

Can any one point me in the right direction. Being not so technical, the CUPS documentation doesn't really mean that much to me.

Thank you
 
Old 01-22-2004, 09:24 PM   #2
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,939

Rep: Reputation: 129Reputation: 129
Re: CUPS and Slackware 9.1

Quote:
Originally posted by chestnut
Hi

I have been trying to get a printer setup on Slackware 9.1/CUPS. I have setup printer (HP Deskjet 690C) via browser - localhost:631, on which I have to log-into as root. Printing a test page from here works OK.

However, when using, say for example, Abiword (as a non-root user), nothing seems to happen when I print.

Can any one point me in the right direction. Being not so technical, the CUPS documentation doesn't really mean that much to me.

Thank you
I just opened Abiword for the first time ever, and it printed fine. I'm using Slack 9.1 with an HP DeskJet 920C (look in hcl for how I did it) and CUPS. I've stuggled with printer problems also, and read several threads which said to uninstall lprng and cups and reinstall cups. I've done that, and some programs that didn't print now do print.

Sorry I can't be of more help, but Abiword is printing fine for me.
 
Old 01-23-2004, 02:30 PM   #3
chestnut
Member
 
Registered: Jan 2004
Location: Sydney, Australia
Distribution: FC3, Ubuntu (Hoary)
Posts: 86

Original Poster
Rep: Reputation: 15
thanks, I'll give it a go
 
Old 01-24-2004, 10:03 PM   #4
chestnut
Member
 
Registered: Jan 2004
Location: Sydney, Australia
Distribution: FC3, Ubuntu (Hoary)
Posts: 86

Original Poster
Rep: Reputation: 15
'uninstall lprng and cups and reinstall cups' - tried this, still no joy. When I open up Aboword from a terminal, I get the following text output to terminal when I print:

"Status Information, attempt 1 of 3:
sending job 'user@chestnut+692' to HP690C@localhost
connecting to 'localhost', attempt 1
cannot open connection to localhost - No such file or directory
Make sure the remote host supports the LPD protocol
and accepts connections from this host and from non-privileged (>1023) ports
Waiting 10 seconds before retry"

This doesn't mean much to me! Any ideas?

thanx
 
Old 01-24-2004, 10:45 PM   #5
chestnut
Member
 
Registered: Jan 2004
Location: Sydney, Australia
Distribution: FC3, Ubuntu (Hoary)
Posts: 86

Original Poster
Rep: Reputation: 15
Problem solved. Found a previous thread that dealt with same problem

Re-cap on solution for others
1) Remove lprng & service (via pkgtool)
2) Remove printer via browser - localhost:631
3) Remove cups & service (via pkgtool)
4) Reboot
5) Re-install cups & re-initiate cupsd
6) Add printer back via browser - localhost:631

I then tried printing from both Openoffice 1.1 & Abiword - both worked fine. I think this problem occured because I just initially installed every package in slackware 9.1 :- Cups cannot sit happily along lprng.

Cheers
 
Old 01-26-2004, 12:20 AM   #6
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,939

Rep: Reputation: 129Reputation: 129
There are still some problems I'm having, after having done this little
dog and pony show to get CUPS only. I can't print with PageMaker
through Wine, and I can't print with GIMP. There is a GIMP print plugin,
but even the latest alpha version's info says, "The Print plug-in for the
GIMP requires the GIMP 1.2 (more recent versions of the GIMP, such
as 1.3, are not supported at present). I'm using GIMP 1.3.23 and was
just wondering if you're using the GIMP, which version, and can you
print with it? If you have the default version that comes with Slack 9.1
then you're using version 1.2 something or another, though I can't tell
because I did an upgradepkg to get the new version.

I'm glad to hear that solution worked for printing with you, and thanks for
posting such verbose instructions for others who search and find this thread :}
 
Old 01-26-2004, 01:43 AM   #7
chestnut
Member
 
Registered: Jan 2004
Location: Sydney, Australia
Distribution: FC3, Ubuntu (Hoary)
Posts: 86

Original Poster
Rep: Reputation: 15
hmm., Gimp. Just tried to print an image. All I got was one page as follows:

%!PS-Adobe-3.0
%%Creator: Print plug-in V4.2 for GIMP/Gimp-Print 4.2.5 (24 Jan 20


and numerous blank pages

I'll have to investigate this furthur!

Regards
 
Old 01-26-2004, 01:53 AM   #8
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,939

Rep: Reputation: 129Reputation: 129
You got more than me. All I get is a progress box in GIMP *as if* it's sending
data to the printer, but nothing ever happens past that. I am at the moment going
through posts in the GUG Forum (GIMP Users Group).
 
Old 01-26-2004, 04:05 AM   #9
chestnut
Member
 
Registered: Jan 2004
Location: Sydney, Australia
Distribution: FC3, Ubuntu (Hoary)
Posts: 86

Original Poster
Rep: Reputation: 15
Tried printing in Gimp (1.2.5) & xpdf viewer

=> Managed to get xpdf working with printer command lpr
=> Managed to get Gimp to print, changing drop-down menu in setup printer (top right hand of print plug-in) from postscript to my printer model.

Try changing setup printer (if you haven't already). I'll also look into your problem

Regards
 
Old 01-26-2004, 04:16 AM   #10
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,939

Rep: Reputation: 129Reputation: 129
Quote:
Originally posted by chestnut
Tried printing in Gimp (1.2.5) & xpdf viewer

=> Managed to get xpdf working with printer command lpr
=> Managed to get Gimp to print, changing drop-down menu in setup printer (top right hand of print plug-in) from postscript to my printer model.

Try changing setup printer (if you haven't already). I'll also look into your problem

Regards
That's exactly what I've done with GIMP, and just doing it again right now.
It still refuses to print.
 
Old 01-26-2004, 04:26 AM   #11
chestnut
Member
 
Registered: Jan 2004
Location: Sydney, Australia
Distribution: FC3, Ubuntu (Hoary)
Posts: 86

Original Poster
Rep: Reputation: 15
One other thing to look at (assuming you are using a parallel printer)

I had to go into directory
/etc/rc.d
edit as root the file
rc.modules

removing comments (#) around scripts for parallel printer support. I then re-booted the system to enable this module....... this was not enabled on a default slack 9.1 install
 
Old 01-26-2004, 04:32 AM   #12
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,939

Rep: Reputation: 129Reputation: 129
Thanks, but I'm using USB. My printer works fine on some programs, just
not with Wine and not with The GIMP.
 
Old 01-26-2004, 09:39 PM   #13
chestnut
Member
 
Registered: Jan 2004
Location: Sydney, Australia
Distribution: FC3, Ubuntu (Hoary)
Posts: 86

Original Poster
Rep: Reputation: 15
I'd say it was a problem with the version of Gimp you are using.. seems to be the case with all versions of Gimp-Print.

You may have to downgrade!!

"The Print plugin for the Gimp requires the Gimp 1.2 (later versions of
the Gimp are not supported). You may need to install a package named
"gimp-devel" or the like on many distributions.

The CUPS driver requires CUPS 1.1.15 or higher. You may need to
install a package named "cups-devel" or the like on many
distributions. We strongly recommend using CUPS with Gimp-Print as a
general-purpose printing solution."
 
Old 01-26-2004, 09:43 PM   #14
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,939

Rep: Reputation: 129Reputation: 129
Quote:
Originally posted by chestnut
I'd say it was a problem with the version of Gimp you are using.. seems to be the case with all versions of Gimp-Print.

You may have to downgrade!!

"The Print plugin for the Gimp requires the Gimp 1.2 (later versions of
the Gimp are not supported). You may need to install a package named
"gimp-devel" or the like on many distributions.

The CUPS driver requires CUPS 1.1.15 or higher. You may need to
install a package named "cups-devel" or the like on many
distributions. We strongly recommend using CUPS with Gimp-Print as a
general-purpose printing solution."
I'll look into the "gimp-devel" issue. I'm current on CUPS. Maybe I'll try to install a GIMP 1.2 that came with Slack on another partition and see if it'll print. Thanks for your help.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Using CUPS in Slackware 10.0 SG_1 Slackware 2 10-31-2004 02:42 AM
Installing CUPS on Slackware J0nathan Linux - Newbie 5 02-08-2004 12:33 AM
Slackware 9 and CUPS (CUPS=crap) - printing carboncopy Slackware 21 07-29-2003 03:27 PM
cups and slackware 9 deNiro Slackware 6 07-07-2003 12:31 AM
Slackware 8.1 and CUPS lordjaggy Slackware 7 10-09-2002 11:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:02 AM.

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