LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 04-24-2015, 06:52 AM   #1
dunnery
Member
 
Registered: May 2010
Location: East Stroudsburg
Distribution: Debian Jessie
Posts: 230

Rep: Reputation: 10
Terminal print command


Hey guys, I'm trying to send my text document to my printer but I'm not having too much luck.

I'm typing lpr -p hpprinter test.txt

In order to trouble shoot can you please advise me on.....

01. Should the -p be an uppercase P ?

02. How do I set the default printer?

I just want to make sure I have these right.

Thanks
 
Old 04-24-2015, 07:42 AM   #2
veerain
Senior Member
 
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
Which distro and version?

Which print spooler are you using? E.g. Cups

Have you setup your printer and print spooler?
 
Old 04-24-2015, 07:50 AM   #3
dunnery
Member
 
Registered: May 2010
Location: East Stroudsburg
Distribution: Debian Jessie
Posts: 230

Original Poster
Rep: Reputation: 10
I'm using ubuntu studio ( I'm a musician)
I know nothing about cups? Spooler?
I'm very new to terminal with no past experience.
I don't know how to set up the printer. I presumed the computer would automatically find it like it does On my way! Mac but I realize now that I'm I a different world with linux.
 
Old 04-24-2015, 08:20 AM   #4
veerain
Senior Member
 
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
These Ubuntu page1 and page2 may help.
 
Old 04-24-2015, 08:50 AM   #5
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 21 MATE, EndeavourOS, antiX, MX Linux
Posts: 3,972
Blog Entries: 32

Rep: Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465
What is the make and model of your printer?
 
Old 04-24-2015, 08:24 PM   #6
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,317
Blog Entries: 28

Rep: Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140
This link from the cups website should help: http://www.cups.org/documentation.php/options.html
 
  


Reply



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
[SOLVED] What command can be used to print outstanding print jobs? ABX Linux - Networking 2 01-18-2015 09:38 PM
how to run a terminal command that will open in a new terminal automatically floorripper Linux - General 5 06-18-2013 03:36 AM
How do I resize the terminal window from the command line in the gnome terminal QuIcKSpArK Linux - Newbie 5 04-21-2012 02:04 PM
terminal command to print current network? daweefolk Linux - Networking 1 01-24-2011 12:45 PM
Command to print to terminal emulator's default printer daniel7713 Linux - Newbie 2 07-08-2006 09:36 AM

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

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