LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
LinkBack Search this Thread
Old 01-27-2010, 11:55 AM   #1
CNBarnes
Member
 
Registered: Apr 2004
Location: Texas
Distribution: Debian
Posts: 41

Rep: Reputation: 15
lpr command brings up a GUI with the "OK" button greyed out


Running Debian lenny.

If I use the lpr command from a regular ssh client (ie. not using xterm), I get a printout from a IP printer without problems.

But if I am using an xterm and issue the exact same command, a window named "LPR GUI" pops up. The problem with the gui window is that the "OK" button is greyed out and nothing I do seems to allow me to print.


Help?
 
Old 01-27-2010, 12:53 PM   #2
CNBarnes
Member
 
Registered: Apr 2004
Location: Texas
Distribution: Debian
Posts: 41

Original Poster
Rep: Reputation: 15
I guess it's good that there are now 21 views here - at least that means people are looking.


I am really baffled by this - even my best google-skills aren't able to come up with anyone else with a similar question.


I guess I should say this:
(1) yes, CUPS is installed (in fact, CUPS is how the printers are installed). Printing from cups works.

(2) I have the same problem with the lpr command from both normal user accounts as well as root. Meaning, this doesn't seem to be a permissions issue...
 
Old 04-19-2010, 12:20 PM   #3
CNBarnes
Member
 
Registered: Apr 2004
Location: Texas
Distribution: Debian
Posts: 41

Original Poster
Rep: Reputation: 15
Just checking back in on this thread after 3 months.

Any ideas?
 
Old 04-19-2010, 01:00 PM   #4
devnull10
Member
 
Registered: Jan 2010
Location: Lancashire
Distribution: Slackware Stable
Posts: 547

Rep: Reputation: 115Reputation: 115
post the output of:
Code:
which lpr
and
Code:
alias lpr
 
Old 01-14-2011, 12:04 PM   #5
elucches
Member
 
Registered: Jan 2011
Posts: 82

Rep: Reputation: 7
Check that /usr/bin/lpr-cups isn't a link but an executable, and use that command.
 
  


Reply

Tags
gui, lpr, printing


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 On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to read "identify" button press event, or state of "identify" blue led with IPMI? iav Linux - Server 0 01-27-2009 01:13 PM
Standard commands give "-bash: open: command not found" even in "su -" and "su root" mibo12 Linux - General 4 11-11-2007 10:18 PM
file format why difference between "command line and GUI interface" hocheetiong Linux - Newbie 3 09-17-2007 07:19 AM
Terminal command for GUI command "Remove to trash" GunSkit Linux - General 3 06-29-2004 01:50 PM
<input type="button" disabled="true" > does not work in ns4.7 or 4.9 cybercop12us Programming 2 11-29-2002 08:31 AM


All times are GMT -5. The time now is 10:17 AM.

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