9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "Wolfgang Kunz" <woku@hush.com>
To: "9fans" <9fans@9fans.net>
Subject: [9fans] Printing to PS printer - solution
Date: Sun,  7 Feb 2010 17:56:09 +0100	[thread overview]
Message-ID: <20100207165609.A8C812803F@smtp.hushmail.com> (raw)

Hi,

here are my notes on how I got my postscript printer working:

Printer: OKI B430dn (Network printer)

Working printing configuration:

1. Add printer to /lib/ndb/local
sys=okidr ip=192.168.2.191

okidr=Name for the printer
ip= IP Address of the printer

check with: ip/ping okidr

2. Add printer entry to /sys/lib/lp/devices
oki2    office    okidr    raw    - post2+600dpi+nohead    generic
  lpdspool    lpd    -    -    FIFO

3. Check
lp -q -doki2 (this works only as user bootes on my system)

It should show you:
transmission log:
: 100.00% sent
9232 bytes sent, status: waiting for end of job
9232 bytes sent, status: end of job

printer queue:
connecting to tcp!okidr!printer
 trying from port 721...connected
Ready
no entires

4. Print Postscript files:

lp -doki2 test.ps


Regadrs,
Wolfgang




             reply	other threads:[~2010-02-07 16:56 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-07 16:56 Wolfgang Kunz [this message]
2010-08-12 12:44 ` Rudolf Sykora
2010-08-15 15:39 ` Rudolf Sykora

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=20100207165609.A8C812803F@smtp.hushmail.com \
    --to=woku@hush.com \
    --cc=9fans@9fans.net \
    /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;
as well as URLs for NNTP newsgroup(s).