Unix Technical Forum

How to take printout of linux file from windows xp using putty?

This is a discussion on How to take printout of linux file from windows xp using putty? within the Linux Operating System forums, part of the Unix Operating Systems category; --> Friends, I have installed Putty in my windows xp pc. I am connecting the RHEL AS 3 server using ...


Go Back   Unix Technical Forum > Unix Operating Systems > Linux Operating System

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-18-2008, 07:31 PM
sathyguy@gmail.com
 
Posts: n/a
Default How to take printout of linux file from windows xp using putty?

Friends,

I have installed Putty in my windows xp pc. I am connecting the RHEL
AS 3 server using putty from my windows xp. My printer is connected to
my windows xp.
Now, i want to print text.txt of RHEL AS 3.0 in my windows xp printer
through putty.

For Example:
my pc ip is 117.23.2.55
our RHEL AS 3 is 117.23.2.1
my printer is SAMSUNG - ML-1520

what i have to configure and how can i take a printout of the files
from linux?



Thanks
Sathyguy

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-18-2008, 07:31 PM
zoot
 
Posts: n/a
Default Re: How to take printout of linux file from windows xp using putty?

On 20 fév, 06:28, sathy...@gmail.com wrote:
> Friends,
>
> I have installed Putty in my windows xp pc. I am connecting the RHEL
> AS 3 server using putty from my windows xp. My printer is connected to
> my windows xp.
> Now, i want to print text.txt of RHEL AS 3.0 in my windows xp printer
> through putty.
>
> For Example:
> my pc ip is 117.23.2.55
> our RHEL AS 3 is 117.23.2.1
> my printer is SAMSUNG - ML-1520
>
> what i have to configure and how can i take a printout of the files
> from linux?
>
> Thanks
> Sathyguy


You have to install your printer also on your LINUX.
see the manual.
or you can try to install the printer from the setup prigrm ( as
root )
Zoot

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-18-2008, 07:32 PM
xask
 
Posts: n/a
Default Re: How to take printout of linux file from windows xp using putty?

On Feb 20, 10:28 am, sathy...@gmail.com wrote:
> Friends,
>
> I have installed Putty in my windows xp pc. I am connecting the RHEL
> AS 3 server using putty from my windows xp. My printer is connected to
> my windows xp.
> Now, i want to print text.txt of RHEL AS 3.0 in my windows xp printer
> through putty.
>
> For Example:
> my pc ip is 117.23.2.55
> our RHEL AS 3 is 117.23.2.1
> my printer is SAMSUNG - ML-1520
>
> what i have to configure and how can i take a printout of the files
> from linux?
>
> Thanks
> Sathyguy


why dont you just copy the file text.txt from the RHEL server using
ftp ??
and simply print it on the winxp machine ?


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-18-2008, 07:32 PM
Chris Cox
 
Posts: n/a
Default Re: How to take printout of linux file from windows xp using putty?

sathyguy@gmail.com wrote:
> Friends,
>
> I have installed Putty in my windows xp pc. I am connecting the RHEL
> AS 3 server using putty from my windows xp. My printer is connected to
> my windows xp.
> Now, i want to print text.txt of RHEL AS 3.0 in my windows xp printer
> through putty.
>
> For Example:
> my pc ip is 117.23.2.55
> our RHEL AS 3 is 117.23.2.1
> my printer is SAMSUNG - ML-1520
>
> what i have to configure and how can i take a printout of the files
> from linux?


This sort of thing dates back to olden days when the printer was
tied to the ascii terminal. In PuTTY you can configure a print device.
Then you use a shift-in/shift-out sequence to take the data
coming to your TTY (e.g. the PuTTY window) and have it redirected
to the print device. Obviously, while this is happening, you
won't have anything happening screen-wise on your PuTTY session.

Is that enough to go on? Do a man on terminfo and find
the key sequence for mc4 and mc5, those are the printer
on/off sequences... you'll need a terminal definition with
those entries in it.

You can use infocmp to see your current terminal capabilities.

You can then define a script to do the:
tput mc5
cat filename
tput mc4


To send the filename to your printer.


>
>
>
> Thanks
> Sathyguy
>

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 01-18-2008, 07:32 PM
Laurent-jan
 
Posts: n/a
Default Re: How to take printout of linux file from windows xp using putty?

sathyguy@gmail.com wrote:

> Friends,
>
> I have installed Putty in my windows xp pc. I am connecting the RHEL
> AS 3 server using putty from my windows xp. My printer is connected to
> my windows xp.
> Now, i want to print text.txt of RHEL AS 3.0 in my windows xp printer
> through putty.
>
> For Example:
> my pc ip is 117.23.2.55
> our RHEL AS 3 is 117.23.2.1
> my printer is SAMSUNG - ML-1520
>
> what i have to configure and how can i take a printout of the files
> from linux?
>
>
>
> Thanks
> Sathyguy


If it is just text you want to print, use the possibilities of putty.
Otherwise:
- on your xp-box: share your printer. As I am not a Windows-man, you need to
figure out how to do that yourself.
- look at
http://www.yolinux.com/TUTORIALS/Lin...t ml#PRINTING


ljm
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 12:49 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com