LinuxQuestions.org
Review your favorite Linux distribution.
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 06-09-2009, 07:33 PM   #16
jamescondron
Member
 
Registered: Jul 2007
Location: Scunthorpe, UK
Distribution: Ubuntu 8.10; Gentoo; Debian Lenny
Posts: 961

Rep: Reputation: 70

man page
 
Old 06-09-2009, 09:35 PM   #17
john test
Member
 
Registered: Jul 2008
Distribution: ubuntu 9.10
Posts: 527

Original Poster
Blog Entries: 1

Rep: Reputation: 35
might want to read the thread before you post.
 
Old 06-09-2009, 09:54 PM   #18
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Quote:
Originally Posted by john test View Post
TINKSTER Thanks for your help
as it happens, I got a call from a friend up in New Jersey who gave me lpoptions -d hp_LaserJet_1320_series which did the trick
In any event your suggested lpadmin -d went into notes


It does get better -- As it happens, the lpoptions -d command that set the default destination for lp and lpr also resolved the problem where the esc:ha command in vim across the ssh did not print anything. the HA command did work when I executed vim from the inux console ??? strange stuff
Thanks for your help
The difference between lpoptions and lpadmin is that the latter
makes a system-wide default queue, while lpoptions allows you to
set it on a per user basis. Both would have the same result - that
command-line tools can print.



Cheers,
Tink
 
Old 06-10-2009, 10:11 AM   #19
john test
Member
 
Registered: Jul 2008
Distribution: ubuntu 9.10
Posts: 527

Original Poster
Blog Entries: 1

Rep: Reputation: 35
Thank you for the clarification :-)
I will add the informatiion to my notes for lpadmin and lpoptions.
 
Old 06-15-2009, 08:08 AM   #20
hunternet93
Member
 
Registered: Jun 2009
Posts: 87

Rep: Reputation: 31
"pr" is a paginator. It will take a text file and insert a header like this:

2009-06-15 08:03 Page 1

It does some other stuff too, I think.

"print" has something to do with "mailcap". Mailcap is a file describing how non-text (ie pictures) should be displayed. If you type "see <insert picture name here>", it should open the picture. In my case it opened it in Firefox, it may be different on your computer.
 
  


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
cp command failing for large files - Input/Output error googs Linux - General 5 08-09-2012 12:28 PM
XEN installation failing with hg command not found priyophan Linux - Server 1 04-25-2009 01:59 PM
mount -o loop command failing in startup script for RH 5 dougkdp76 Linux - General 3 01-12-2008 11:04 AM
eth1 failing on boot, IEEE firewire card driver failing, help jackuss_169 Linux - Laptop and Netbook 5 03-05-2005 07:34 AM
pring option in DHCP salahuddin_66 Slackware 1 06-26-2004 03:50 AM

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

All times are GMT -5. The time now is 09:58 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