LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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-21-2009, 02:12 PM   #1
ds10415
LQ Newbie
 
Registered: Apr 2009
Location: Cleveland, OH
Posts: 1

Rep: Reputation: 0
Exclamation Damn i need help haha


Ok people before i ask for your help thank you for helping me out.
i have two questions. I am running REDHAT

Which commands can you use from the command line to send a file to the default printer?

which commands list your outstanding print jobs?

again thank you for your help in this matter
 
Old 04-21-2009, 02:22 PM   #2
farouqp
LQ Newbie
 
Registered: Apr 2009
Location: Johannesburg South Africa
Distribution: Suse 11 & RedHat Enterprise 5.3
Posts: 11

Rep: Reputation: 0
to see waiting jobs you can try lpq and that will show print jobs that are waiting

to send a file to print via command lpr.

i recon though the best way is to go to the file location run cat (filename) | lpr
 
Old 04-21-2009, 05:35 PM   #3
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,087

Rep: Reputation: 407Reputation: 407Reputation: 407Reputation: 407Reputation: 407
Quote:
which commands list your outstanding print jobs?
lpq if I recall correctly.

If you are not sure which command to use, try the apropos command eg apropos queue gives me this:
Code:
tred@vaio:~$ apropos queue
at (1)               - queue, examine or delete jobs for later execution
atd (8)              - run jobs queued for later execution
atq (1)              - queue, examine or delete jobs for later execution
atrm (1)             - queue, examine or delete jobs for later execution
batch (1)            - queue, examine or delete jobs for later execution
ipcrm (1)            - remove a message queue, semaphore set or shared memory id
lpq (1)              - show printer queue status
mq_overview (7)      - Overview of POSIX message queues
SDL_PeepEvents (3)   - Checks the event queue for messages and optionally ret...
SDL_PushEvent (3)    - Pushes an event onto the event queue
SDL_SetEventFilter (3) - Sets up a filter to process all events before they a...
tc-bfifo (8)         - Packet limited First In, First Out queue
tc-cbq (8)           - Class Based Queueing
tc-cbq-details (8)   - Class Based Queueing
tc-pfifo (8)         - Packet limited First In, First Out queue
tc-pfifo_fast (8)    - three-band first in, first out queue
tc-sfq (8)           - Stochastic Fairness Queueing
XAllowEvents (3)     - release queued events
XCheckIfEvent (3)    - check the event queue with a predicate procedure
XEventsQueued (3)    - handle output buffer or event queue
XFlush (3)           - handle output buffer or event queue
XIfEvent (3)         - check the event queue with a predicate procedure
XPeekIfEvent (3)     - check the event queue with a predicate procedure
XPending (3)         - handle output buffer or event queue
XPutBackEvent (3)    - put events back on the queue
XSync (3)            - handle output buffer or event queue
tred@vaio:~$
apropos queue | grep print would save you some reading, but is more typing:
Code:
tred@vaio:~$ apropos queue | grep print
lpq (1)              - show printer queue status
tred@vaio:~$
 
  


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
Damn Small, damn annoying with d-link DWA-130 wireless N USB freezerburn666 Linux - Hardware 5 09-09-2008 06:28 PM
Well it would appear that even Bill Gates has given up on Vista haha SkittleLinux18 General 16 04-21-2008 01:56 PM
Hi,everybody!I'm a new one here,and i love u all.haha! mylq_720 LinuxQuestions.org Member Intro 1 03-26-2008 11:08 PM
Linux exposed... haha audibel General 7 03-07-2005 03:43 PM
haha lol @ ms rverlander General 5 07-28-2002 07:52 PM

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

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