LinuxQuestions.org
Register a domain and help support LQ
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 07-08-2008, 09:38 AM   #1
m2azer
Member
 
Registered: Sep 2004
Location: USA
Distribution: red hat, fedora & centos
Posts: 202

Rep: Reputation: 30
Forwarding local printer with ssh to print pine emails


Hello


I am using ssh to login into our mail server then pine to check my mail. How do I print my email on the server to my local printer attached to my client machine?

does ssh have a "printer forward" option? like "-X" to forward X - or how is it done?
any way to map my local printer to the server so when i print email on the server it prints to my local printer?

Thanks for your time

Last edited by m2azer; 07-08-2008 at 12:08 PM.
 
Old 07-09-2008, 06:30 PM   #2
Mr. C.
Senior Member
 
Registered: Jun 2008
Posts: 2,529

Rep: Reputation: 59
What type of interface or protocols does the printer support (and are active)?
 
Old 07-10-2008, 09:03 AM   #3
m2azer
Member
 
Registered: Sep 2004
Location: USA
Distribution: red hat, fedora & centos
Posts: 202

Original Poster
Rep: Reputation: 30
MY client machine:
ubuntu 7 and the printer is connect through usb

The "mail Server" redhat 3

I ssh to the server to run pine to check email. Now if I want to print some emails to my local printer, that is connect via usb to my client machine, how would i do? or is it possible?

when i ssh to the server do i need to pass any "keys" like "-X" so all printing jobs are re-routed to my local printer.

Thanks
 
Old 07-10-2008, 12:29 PM   #4
Mr. C.
Senior Member
 
Registered: Jun 2008
Posts: 2,529

Rep: Reputation: 59
How is your printer setup on the local machine ?
I know *what* you want to do.
Now you need to tell us *how* the system is currently configured.

There are so many ways this can be accomplished, I won't guess at which is correct for your situation. So help us narrow down the choices by describing how your LOCAL printer is configured to print.
 
Old 07-14-2008, 01:33 PM   #5
m2azer
Member
 
Registered: Sep 2004
Location: USA
Distribution: red hat, fedora & centos
Posts: 202

Original Poster
Rep: Reputation: 30
Thanks for your reply. The printer was configured through the web cups interface and here is the printer.conf part for the hp lj6mp which the printer i have the question about:

<DefaultPrinter ljg>
Info HP LaserJet 6MP
Location Local Printer
DeviceURI hp:/par/HP_LaserJet_6MP?device=/dev/parport0
State Idle
StateTime 1207768352
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy retry-job
</Printer>

Description: HP LaserJet 6MP
Location: Local Printer
Printer Driver: HP LaserJet 6MP - CUPS+Gutenprint v5.0.1
Printer State: idle, accepting jobs, published.
Device URI: hp:/par/HP_LaserJet_6MP?device=/dev/parport0

Please let me know if I answered your question

again thanks for your help
 
  


Reply

Tags
port forwarding, ssh forwarding


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
How to configure ssh local / remote forwarding at parmanent label. linuxjamil Linux - Server 1 02-21-2008 06:26 AM
Problem with SSH local port forwarding suhas! Linux - Security 3 07-25-2007 10:06 AM
X forwarding video with ssh and using local sound card dr_zayus69 Linux - Networking 2 03-01-2006 09:57 PM
Can't print to local printer pingu Debian 1 08-02-2005 03:22 AM
sshd/ssh config for local forwarding ewlnxnewB Linux - Networking 2 11-04-2003 02:09 PM


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