On Mon, Jul 15, 2019 at 04:49:47AM +0000, Roderick wrote:
> 
> 
> On Sun, 14 Jul 2019, Adam Thompson wrote:
> 
> > Nearly every printer sold today (including cheap inkjets AND b&w
> > printers) have these tracking dots. [...]
> 
> > The absolute highest resolution graphics today are mostly printed using
> > ESC/P (if Epson), PCL3 (if HP), or whatever Canon uses (if Canon). [...]
> 
> Thanks for the nice review! I thing the OP was interested in unexpensive
> printing. There play some other factors a role: price of toner, price
> of drum, if the cartridge contain both or not, if there are other
> producers of the cartidge than the producer of the printer, etc.
> 
> Rodrigo
> 

Folks:

 Thanks for your helpful replies. I wanted to implement something like
this. These are the notes I made for printing on my old OpenBSD computer:

1) Go to http://openprinting.org/printer_list.cgi?make=HP
and look for the Deskjet 6940 *.ppd. Download the *.ppd from here:
http://openprinting.org/show_printer.cgi?recnum=HP-DeskJet_6940


2) Install a2ps from packages.
pkg_add ftp://ftp.openbsd.org/pub/OpenBSD/4.0/packages/i386/a2ps*.tgz
(where the *
denotes the appropriate version.

3) pkg_add
ftp://ftp.openbsd.org/pub/OpenBSD/4.0/packages/i386/hpijs*.tgz
to install the HP print driver

4) Copy HP-DeskJet_6940-hpijs.ppd to /usr/local/sbin/

5) Modify your /etc/printcap so that it looks like this:
lp|HP6940:\
:lp=/dev/ulpt0:\
:af=/usr/local/sbin/HP-DeskJet_6940-hpijs.ppd:\
:if=/usr/local/bin/foomatic-rip:\
:sd=/var/spool/output/lp:\
:lf=/var/spool/output/lp/log:\
:mx#0:\
:sh:
This assumes that you are using a USB printer.

6) Go to /var/spool/output
# cd /var/spool/output

do: #mkdir lp
then do: #chown daemon:daemon lp/
as root.

7) As root do:  # touch /var/spool/output/lp/log

8) edit /etc/rc.conf by changing the variable lpd_flags=NO to
lpd_flags=""

9) Add your hostname to /etc/hosts.lpd. Your entry should look similar
to this:
#       $OpenBSD: hosts.lpd,v 1.2 1996/07/20 00:28:28 deraadt Exp $
# as described in lpd(8), place one legal access hostname per line
my.computer.us

10) Reboot the computer and printing should be working.

Unfortunately, the package foomatic-rip is no longer available. Once
again, thanks for all the helpful advice.

Kind Regards,
Jonathan

Reply via email to