From: Frederik Caulier <aediks@gmail.com>
To: 9fans@9fans.net
Subject: [9fans] How to add djet500' driver to gs?
Date: Tue, 19 Jan 2010 03:30:06 +0000 [thread overview]
Message-ID: <cd6983821001181930p42e89a01u86c9527a1fa3279d@mail.gmail.com> (raw)
Hello 9fans
I'm currently trying to get my HP Deskjet 500 (/dev/lptr1data) working
in native Plan 9. Using 'lp -d hpdeskjet file' the printer works
basically; it takes in a sheet and starts printing.
But it prints only weird symbols and mishandles newlines etc..
I did a little research and found that there is a 'djet500' driver
(see /sys/src/cmd/gs/src/gdevdjet.c) available for gs but it is not
included in the stock gs binary according to the output of 'gs -?'. I
added the djet500 driver to /sys/src/cmd/gs/mkfile and run 'mk
fake-make' and then 'mk install' as described in the mkfile.
It builds with no error messages but the output of the freshly
compiled 'gs -?' still doesn't show the new djet500 driver.
What is the right/working procedure to add drivers to gs?
Suggestions on how to solve this are very welcome.
Best regards,
F. Caulier
next reply other threads:[~2010-01-19 3:30 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-19 3:30 Frederik Caulier [this message]
2010-01-19 15:14 ` Russ Cox
2010-01-20 2:20 ` Frederik Caulier
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=cd6983821001181930p42e89a01u86c9527a1fa3279d@mail.gmail.com \
--to=aediks@gmail.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).