public inbox for linux-newbie@vger.kernel.org
 help / color / mirror / Atom feed
From: Ray Olszewski <ray@comarre.com>
To: linux-newbie@vger.kernel.org
Subject: Re: How to I print to a TCP/IP Port.
Date: Wed, 12 Jan 2005 18:37:16 -0800	[thread overview]
Message-ID: <5.1.0.14.1.20050112183000.02a9fe40@celine> (raw)
In-Reply-To: <20050112202320.M55098@celticblues.com>

At 03:23 PM 1/12/2005 -0500, linux wrote:

>I recently migrated from WinXP to Linux (SuSE 9.2 Pro). I need some help
>setting up my new linux box to print.  My old WinXP box printed to a network
>printer.  If I open my printer properties dialog in WinXP I would see the
>printer listed with an IP address.   How do I set up my SuSE linux to print to
>this same printer.  I guess what I am asking is, how to I print to a TCP/IP
>Port.  Thanks,


The answer depends a bit on what the printer expects in the way of input. 
Usually (in my experience), networked printers include embedded "lp" 
servers (listening on port 515/tcp). If you have one like that, you can 
access it by running an lp daemon on your Linux system, and configuring it 
to access a remote printer.

I don't know SuSE specifically, so I don't know which of several lpd 
implementations it runs. The package I use here is lprng. Using it, you 
configure access to the remote printer via an entry in /etc/printcap, for 
example one like this:

         caxton|caxton|raw:\
                 :lp=:\
                 :rm=caxton:\
                 :rp=raw:\
                 :sd=/var/spool/lpd/caxton-raw:\
                 :sh:sf

The "rm=" line supplies the printer's address (in the example, "caxton" is 
a hostname that the Linux host can resolve).




-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.6.10 - Release Date: 1/10/2005


-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

  reply	other threads:[~2005-01-13  2:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-12 20:23 How to I print to a TCP/IP Port linux
2005-01-13  2:37 ` Ray Olszewski [this message]
     [not found] ` <200501142223.02445.edgaralwers@gmx.de>
     [not found]   ` <20050114222158.M25348@celticblues.com>
2005-01-15 10:37     ` Dr.Edgar Alwers
  -- strict thread matches above, loose matches on Subject: below --
2005-01-14 21:14 Dr.Edgar Alwers

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5.1.0.14.1.20050112183000.02a9fe40@celine \
    --to=ray@comarre.com \
    --cc=linux-newbie@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox