LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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
 
Search this Thread
Old 06-13-2004, 10:10 PM   #1
itsjustme
Senior Member
 
Registered: Mar 2003
Location: Earth
Distribution: Slackware, Ubuntu, Smoothwall
Posts: 1,571

Rep: Reputation: 45
print from command line, normally use cups


I have cups working on my slackware machine and I can print to my network printer from X apps, like mozilla and such. But, if I don't startx, and want to send a text file to that printer, how do I do that?

Thanks.
 
Old 06-14-2004, 09:44 AM   #2
herbc
Member
 
Registered: May 2004
Location: United States
Distribution: Slackware 10.0
Posts: 72

Rep: Reputation: 15
lpr <filename>

works fine on my Slack, provided the textfile is straight ASCII.
 
Old 06-14-2004, 12:14 PM   #3
itsjustme
Senior Member
 
Registered: Mar 2003
Location: Earth
Distribution: Slackware, Ubuntu, Smoothwall
Posts: 1,571

Original Poster
Rep: Reputation: 45
lpr won't do it.

But, in searching around further I found that lpr-cups will do it.
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Slack 10; HP 3845; CUPS; Unable to print from command line chrisidaho Linux - Hardware 5 04-27-2005 02:21 AM
CUPS Command Line zaicheke Linux - Software 1 11-25-2004 04:26 PM
CUPS + command line chrisk5527 Linux - Software 1 03-01-2004 01:05 AM
Where is Command line utility for Cups and command tutorial mossy Linux - Software 8 01-16-2004 01:24 AM
Print from command line cli_man Linux - Newbie 4 06-16-2002 10:57 PM


All times are GMT -5. The time now is 02:34 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration