Portable text2eth0 printer?

Discussion in 'Linux Networking' started by Avoid9Pdf, Mar 15, 2014.

  1. Avoid9Pdf

    Avoid9Pdf Guest

    Presently I use rPi to listen to text-to-speech, by transfering the PC
    generated *.wav files via a USBstik, to the battery-powered rPi.

    Similarly, instead of finding some Windows-user, to print my text via
    their eth0 connection, I want to just plug my battery-powered rPi into
    the office ethernet that feeds the printer, and get the text on the
    USBstik, printed.

    The rPi will be hearderless: without any display + keyboard;
    like when it plays my text-to-speech files.

    So then I'd need to find out the printers IP?
    How do I do that?
    The 'one' user who may co-operate with my needs, would not know.

    Perhaps the HP-printer's name is standard for the product, and
    available via the net? But no; since it must be able to share
    the ethN with other same-make printers?

    What's the general syntax to drive the printer ?

    == TIA.
     
    Avoid9Pdf, Mar 15, 2014
    #1
    1. Advertisements

  2. You can always use ssh to log into the rpi from another computer, and
    use its keyboard and display.
    Is it the same always or does it change?
    You do not want to be changing the setup each time you do it, as you
    also then need to install the printer ppd file, edit /etc/cups/printers
    etc.
    What kind of printer is it?

    you tell us nothing about the printer.
     
    William Unruh, Mar 15, 2014
    #2
    1. Advertisements

  3. Avoid9Pdf

    Unknown Guest

    No. I listen to the battery-powered-TTS, lying-down, at a location with
    no electric supply. Similarly, I want to be able to just bring my
    portable rPi to the eth0 And get printed paper.
    I was thinking 1980's: you give a strean of bytes, and get the paper
    printed. Perhaps it's easier to just fax the text to the printer/fax
    combo?
     
    Unknown, Mar 21, 2014
    #3
  4. Avoid> Similarly, instead of finding some Windows-user, to print my text
    Avoid> via their eth0 connection, I want to just plug my battery-powered
    Avoid> rPi into the office ethernet that feeds the printer, and get the
    Avoid> text on the USBstik, printed.

    Joe> Your rPi will have to be configured with an IP address appropriate
    Joe> for the network with the printer. Hopefully the office has DHCP
    Joe> server so the rPi can auto-configure it's network settings. Once on
    Joe> the network you'll need the IP or hostname of the printer as well
    Joe> as the type/model ("HP" is not enough). Use that info to configure
    Joe> lpr or cups on the rPi. Once all that's done you can print with
    Joe> "lpr filename" or similar.

    There is a DHCP lpr-server datum. I don't expect many DHCP
    installations to provide it, though.

    Also, there is Bounjour aka Zeroconf aka Rendezvous. CUPS implements
    that via libavahi. So if the print spooler on the Pi is CUPS and the
    network provides Bonjour service you should be able to find the printer
    information automatically that way.

    --
    Please *no* private copies of mailing list or newsgroup messages.

    gpg public key: 2048R/984A8AE4
    fingerprint: 7953 ADA1 0E8E AB57 FB79 FFD2 360A 88B2 984A 8AE4
    Funny pic: http://bit.ly/ZNE2MX
     
    Ian Zimmerman, Mar 27, 2014
    #4
  5. Avoid9Pdf

    Unknown Guest

    Wow! And they call that progress.
    30 years ago, I could just send an ASCII string and get the printed paper.

    Why do you people allow yourself to be fooled?
     
    Unknown, Apr 7, 2014
    #5
  6. Avoid9Pdf

    Jerry Peters Guest

    Double sided, with graphics? A laser printer for USD 99? Oh and it's
    also a copier.
     
    Jerry Peters, Apr 7, 2014
    #6
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.