Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 May 2002 08:33:49 -0700
From:      chip.wiegand@simrad.com
To:        drosih@rpi.edu
Cc:        chip.wiegand@simrad.com, freebsd-questions@FreeBSD.ORG
Subject:   Re: printing from NT to a FreeBSD printer via LPR fails
Message-ID:  <OF164F46AD.06108EE7-ON88256BB4.0052668F-88256BB4.00558AA6@simrad.no>

next in thread | raw e-mail | index | archive | help
Garance A Drosihn <drosih@rpi.edu> wrote on 05/08/2002 05:10:30 PM:
> I was hoping someone else could help you with this, as I do
> not have much experience with lpr-implementations on windows.
> But I did not see anyone else reply to you, so I'll give it
> a shot...
>
> Try starting lpd with the '-W' option.  You might need that.
>
> Also try starting lpd with the '-c' option.  This will cause
> connection-time errors to be written to syslog (and thus to
> /var/log/lpd-errs or /var/log/messages).  Usually lpd will
> only print such error messages back to the connecting host,
> but windows tends to hide those error messages from the user.
>
> Note that both of these options are fairly new.  Check
> 'man lpd' to see if the lpd on your system knows about them.
>
> --
> Garance Alistair Drosehn            =   gad@gilead.netel.rpi.edu

Thankyou Garance, it works great with those options. I've also added
those to the rc.conf lpd_flags for future reboots. One quirk I noticed
about the printer, hp952c, is that when a print job is finished
and the paper is fed out, the paper-feed light blinks red non-stop (so
far on all print jobs except from Star Office, which prints to a queue
called aps1, the others print to the default queue lp). Maybe there is
something unusual about my entry for lp? The printcap is listed below.
I just press the paper-feed button once and it stops blinking, no paper
is fed, and it's ready for the next print job.

lp|hp|952C|HP952C:\
:sh:\
:sd=/var/spool/lpd/hp:\
:lp=/dev/lpt0:\
:if=/usr/local/libexec/if-simple:
# APS1_BEGIN:printer1# - don't delete start label for apsfilter printer1
# - no other printer defines between BEGIN and END LABEL
aps1|stp/pcl-895;r=600x600;q=high;c=full;p=letter;m=auto:\
:lp=/dev/lpt0:\
:if=/usr/local/etc/apsfilter/basedir/bin/apsfilter:\
:sd=/var/spool/lpd/aps1:\
:lf=/var/spool/lpd/aps1/log:\
:af=/var/spool/lpd/aps1/acct:\
:mx#0:\
:sh:
# APS1_END - don't delete this

--
Chip Wiegand
Computer Services
Simrad, Inc
www.simradusa.com
chip.wiegand@simrad.com

"There is no reason anyone would want a computer in their home."
     --Ken Olson, president, chairman and founder of Digital Equipment
Corporation, 1977
 (They why do I have 9? Somebody help me!)




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?OF164F46AD.06108EE7-ON88256BB4.0052668F-88256BB4.00558AA6>