> From [EMAIL PROTECTED] Fri Aug 11 23:26:40 2000
> Date: Fri, 11 Aug 2000 21:23:21 -0700 (PDT)
> From: John Johnson <[EMAIL PROTECTED]>
> Subject: LPRng: Configure LPRng 3.6.22, ifhp 3.3.19 for HP LaserJet 2100
> To: [EMAIL PROTECTED], [EMAIL PROTECTED]
>
> I'm trying to properly configure printing on my
> FreeBSD 4.1 box. I thought I had worked out all the
> kinks (thanks, Patrick, for all of your tips to
> date!), but I've discovered this evening that I can't
> print from within a browser (I have both Netscape and
> Amaya installed). I can print from other applications
> from within XFree86; KDE's simple text editor prints
> text files just fine.
>
Gee, this is strange because I just did this (literally)
a few seconds ago from Netscape.
Here is what I did to set this up:
a) used the Netscape ports entry:
From My Notes:
cd /usr/local/ports/www/netscape-*47* (or whatever)
make
curse and scream and downloaded the file by hand
(grrrrr... stupid legalities)
make
make install
rehash
netscape
curse and scream and edit .cshrc file,
remove the MOZILLA_HOME entry, unsetenv MOZILLA_HOME
netscape
b) netscape / print
select 'lpr'
file printed.
You can test this if you want:
1) set up /tmp/testlpr
#!/bin/sh
echo "It worked!" >/tmp/status
echo "$0" "$@" >>/tmp/status
cat >>/tmp/status
exit 0
chmod a+x /tmp/testlpr
Test it:
/tmp/testlpr v1 v2 </etc/motd
2) When you do printing from netscape, instead of 'lpr'
specify /tmp/testlpr
You can now see what happens.
Enjoy.
Patrick
-----------------------------------------------------------------------------
If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests) with the word 'help' in the body. For the impatient,
to subscribe to a list with name LIST, send mail to [EMAIL PROTECTED]
with: | example:
subscribe LIST <mailaddr> | subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST <mailaddr> | unsubscribe lprng [EMAIL PROTECTED]
If you have major problems, send email to [EMAIL PROTECTED] with the word
LPRNGLIST in the SUBJECT line.
-----------------------------------------------------------------------------