9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "Aram Hăvărneanu" <aram.h@mgk.ro>
To: 9fans <9fans@9fans.net>
Subject: Re: [9fans] How to set up printing
Date: Sat, 28 Jun 2014 13:18:07 +0200	[thread overview]
Message-ID: <CAEAzY3-kpmqJq=Rh3vt9geTYm6qnZDxtopHBWkswi6b7ev6uaQ@mail.gmail.com> (raw)
In-Reply-To: <CAEAzY3-16h6Mc7agQCN9sD6-0D+QoVjrPVWtb9_irw279PnCmw@mail.gmail.com>

I have this in /sys/lib/lp/log/lexmarkx203n.s

connecting to tcp!-!printer
 trying from port 721...failed
 trying from port 722...failed
 trying from port 723...failed
 trying from port 724...failed
 trying from port 725...failed
 trying from port 726...failed
 trying from port 727...failed
 trying from port 728...failed
 trying from port 729...failed
 trying from port 730...failed
 trying from port 731...failed
Cannot open a valid port!
-  All source ports [721-731] may be busy.
-  Is recipient ready and online?
-  If all else fails, cycle the power!

That doesn't look right, so I changed /sys/lib/lp/devices to read

# Lexmark X203N
lexmarkx203n - x203n x203n - post+600dpigeneric generic lpdspool lpd - -

connecting to tcp!x203n!printer
 trying from port 721...connected
: 72.11% sent
: 100.00% sent
11360 bytes sent, status: waiting for end of job
11360 bytes sent, status: end of job

Now it did work!

However it prints a "helpful" first page with my name (this presumably
should contain details about the print job).  Can I disable this
feature?

Also, I tried to print a Plan 9 paper and the font is all wrong.  I
guess the printer doesn't have the correct fonts.  What to do in this
case?

Thanks,

-- 
Aram Hăvărneanu



  reply	other threads:[~2014-06-28 11:18 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-28 11:01 Aram Hăvărneanu
2014-06-28 11:18 ` Aram Hăvărneanu [this message]
2014-06-28 11:28   ` Aram Hăvărneanu
2014-06-28 11:29   ` David du Colombier

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='CAEAzY3-kpmqJq=Rh3vt9geTYm6qnZDxtopHBWkswi6b7ev6uaQ@mail.gmail.com' \
    --to=aram.h@mgk.ro \
    --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).