Find the answer to your Linux question:
Results 1 to 4 of 4
Hello, I'm using putty on an Ubuntu linux to connect to other linux servers. With the ubuntu desktop there is a local printer via an USB-RS232 adapter connected. This printer ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Feb 2013
    Posts
    6

    How to configure a local printer in linux based putty client?


    Hello,

    I'm using putty on an Ubuntu linux to connect to other linux servers. With the ubuntu desktop there is a local printer via an USB-RS232 adapter connected.

    This printer prints when I am do e.g. echo "Hello" > /dev/ttyUSB0

    But what do I have to put into the field of Putty "Remote-controlled printing" (in the Terminal section of Putty), to address this local printer?
    In windows I can simply choose from a dropdown. (and then the remote application on the linux server is printing on the windows printer)

    But what do I have to do on a Linux based Putty? The printer is a simple ascii only receipt printer.

    Cheers
    Tjareson

  2. #2
    Linux Enthusiast
    Join Date
    Jan 2005
    Location
    Saint Paul, MN
    Posts
    661
    Linux/UNIX systems normally use "cups" as a daemon (service) and it manages printer queues locally (and can route printouts to other machines and their queues).

    command line commands include:
    lpr
    lpq
    lprm
    lpstat
    cancel
    Use man to find out about the commands.

  3. #3
    Just Joined!
    Join Date
    Feb 2013
    Posts
    6
    Hi,
    probably there is a misunderstanding. The question is not how to print in general in linux. And sending data to print is general working already, as mentioned above.
    The question is, what to put in the Putty configuration dialog, to address either a local printer or simply send the data to /dev/xyz

    Bildschirmfoto-4.jpg

    The input field where you see "None (printing disabled)" is in the windows version a drop down field, where you can choose a printer. I would like here to put something like /dev/ttyUSB0. But unfortunately that doesn't work as expected. (even if it works on command line) I do not know, what Putty is expecting here in the Linux version.

    Cheers
    Tjareson

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined!
    Join Date
    Feb 2013
    Posts
    6
    Just solved it:
    a simple "cat > /dev/ttyUSB0" worked.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •