Skip to main content.

2005-Sep-20

Used /cdrom/Driver/PS/WIN2K_XP/ENGLISH/BR5150_2.ppd from Brother CD. Placed it under /usr/local/lib/.

Installed foomatic-filters from package (3.0.2) which also installed mpage-2.5, ghostscript-gnu-8.15, ghostscript-fonts-8.11, and png-1.2.8.

Made spool directory: /var/spool/output/lpd/Brother_HL-5150D.

Using foomatic-filter using NetBSD's lpr/lpd didn't work as you can't pass options to it.

Use pdq, but under NetBSD it failed due to some "REG_EMPTY" issue. It worked under Linux. I created a pdq file with:

foomatic-rip --ppd BR5150_2.ppd  --genpdq BR5150_2.ppd.pdq
I used xpdq to add new printer. I printed double-sided with:
pdq -oDuplex_DuplexNoTumble file
(Tumble means that it is printed upside down on second side.)

env MAKEOBJDIRPREFIX=/home/reed/obj DESTDIR=/build/reed.jail.preview make installworld
cd etc
env DESTDIR=/build/reed.jail.preview MAKEOBJDIRPREFIX=/home/reed/obj make distribution -DNO_MAKEDEV_RUN
cd /build/reed.jail.preview/dev/
sh MAKEDEV jail
cd ../
ln -sf dev/null kernel