LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 03-22-2004, 01:25 PM   #1
intense
LQ Newbie
 
Registered: Nov 2003
Location: Belgium
Distribution: Slackware / Ubuntu
Posts: 25

Rep: Reputation: 15
cups: test page prints fine but other programs don't


I know there has been a similar post butt I have a different problem, i think.
I have a HP Deskjet 930c and installed hpijs drivers as documented here
I've set up cups from localhost:631 and printed a test page and it worke fine, but when I want to print something from abiword or other programs nothing happens.

Also when i trie the lpr command console returns this:
screenshot
first there is some error output from the lpr command and then it says to run 'checkpc -f' when I do that is says no entry for 'sd' or 'client' found

greetz

Last edited by intense; 03-22-2004 at 01:27 PM.
 
Old 03-22-2004, 02:51 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,962
Blog Entries: 11

Rep: Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865
Is lprng installed too, by any chance?


Tink
 
Old 03-22-2004, 03:55 PM   #3
urka58
Member
 
Registered: Nov 2003
Distribution: slackware 14
Posts: 530

Rep: Reputation: 30
Try lpr-cups. I'm not an expertise at gnome but that is the right command if you're using cups.
Hope this helps
Cioa
 
Old 03-22-2004, 09:03 PM   #4
justwantin
Member
 
Registered: Aug 2003
Location: Melbourne, Australia
Distribution: Slackware, Slackware ARM, Salix and Porteus
Posts: 549

Rep: Reputation: 43
I have an hp930c and use KDE and when you print for the first time you will have to select CUPS in the selection list at the bottom of the kprinter pop up window. All KDE aps will then default to CUPS.

For some aps like OpenOffice and Acroread, you have to nominate kprinter in the print setup of the application. Netscape seems to do without making this change but I think I had to do it in Mozilla.

In O.O. there is a special ap in the tO.O. menu, the name of which eludes me, and I'm at work on win2k. Once in that setup thingo you can load True Type Fonts or setup/change printer. Hit properties and enter kprinter instead of lpr or default or whatever is there. Acroread was the same but you just did it from the acroread print pop up window.

What will happen is after you hit print in say O.O. kprinter will then pop up and you can change settings or just print.

To make it simple for folks in my house I have my hp930c setup up twice in CUPS. Once configured for black and white (930-bw and once as colour (hp-colour) and hp-bw is default.
 
Old 03-22-2004, 11:20 PM   #5
verdeboy2k
Member
 
Registered: Jan 2004
Location: /dev/random
Distribution: Gentoo amd64, CrunchBang amd64
Posts: 350

Rep: Reputation: 32
Similar problem, different error: When i use 'lpr' (which is symlinked to 'lpr-cups') absolutely nothing happens, no error messages, no nothing. The CUPS system says no new job was posted, and I am left hanging. The test page printed fine. My printer is Postscript native using 'raw' drivers.
 
Old 03-23-2004, 08:15 AM   #6
intense
LQ Newbie
 
Registered: Nov 2003
Location: Belgium
Distribution: Slackware / Ubuntu
Posts: 25

Original Poster
Rep: Reputation: 15
lpr-cups works great, weird cause when i tried lpr-cups yesterday it did'nt do anything.

thx alot.
 
Old 03-23-2004, 08:36 AM   #7
failure_man
Member
 
Registered: Mar 2004
Location: Chicago
Distribution: Slackware
Posts: 60

Rep: Reputation: 16
It took me awhile to figure it out when I first moved to Slackware but here's the problem: Slackware's setup scripts will allow you to install LPR and CUPS at the same time. The spoolers use some of the same file names. They CANNOT be installed simultaneously.

What you need to do is use pkgtool to remove them both and then install one of them.
 
Old 03-23-2004, 01:24 PM   #8
verdeboy2k
Member
 
Registered: Jan 2004
Location: /dev/random
Distribution: Gentoo amd64, CrunchBang amd64
Posts: 350

Rep: Reputation: 32
Actually, all you have to do is change the lp. lpq, lpr, lprm, and lpstat symlinks from pointing to *-lprng to *-cups. It worked on my system.
 
Old 03-30-2004, 06:55 AM   #9
webvandals
Member
 
Registered: Aug 2003
Posts: 105

Rep: Reputation: 15
Using Debian and KDE 3.2.1, it seemed like everything was printing great except Open Office. OOo's spadmin utility was basically fruitless -- until I found the suggestion above to change the lpr command in spadmin to --> kprinter

Now Open Office prints like a charm! Thanks justwantin!
 
Old 03-30-2004, 09:57 PM   #10
akshunj
Member
 
Registered: Sep 2002
Location: Atlanta, GA
Distribution: Linux Mint Gloria, Slackware 12.2
Posts: 165

Rep: Reputation: 30
things to remember

Or rather things that I have forgotten... :-)

Remember to restart the cups daemon
Remember to make rc.cups executable so that the daemon starts on reboot

--Akshun J
 
Old 03-30-2004, 10:26 PM   #11
adamjaskie
Member
 
Registered: Feb 2004
Posts: 32

Rep: Reputation: 15
I had the same problem. IIRC, I fixed it with a swaret --reinstall cups or something of that sort. It was kinda weird.
 
  


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
CUPS only prints the test page mldqj *BSD 1 04-07-2005 09:21 AM
CUPS Test Page prints, not from firefox andymadigan Debian 16 08-26-2004 11:37 PM
CUPS: prints test page, can't print otherwise anders_ant Slackware 1 08-11-2004 11:31 AM
CUPS test page sethgeekx86 Linux - Software 7 05-05-2004 06:43 PM
Programs are not using my printer (even though test page in cups works) TheOneAndOnlySM Slackware 4 10-14-2003 08:04 PM


All times are GMT -5. The time now is 07:21 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration