From owner-freebsd-questions Thu May 9 8:33:15 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mail.simrad.no (mail.simrad.no [193.69.73.2]) by hub.freebsd.org (Postfix) with ESMTP id B223237B40F for ; Thu, 9 May 2002 08:33:08 -0700 (PDT) From: chip.wiegand@simrad.com Subject: Re: printing from NT to a FreeBSD printer via LPR fails To: drosih@rpi.edu Cc: chip.wiegand@simrad.com, freebsd-questions@FreeBSD.ORG X-Mailer: Lotus Notes Build M12_02042002 Pre-release 1 February 04, 2002 Message-ID: Date: Thu, 9 May 2002 08:33:49 -0700 X-MIMETrack: Serialize by Router on S_INET01/S_EXT(Release 5.0.6a |January 17, 2001) at 09.05.2002 17:33:55 MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Garance A Drosihn 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