From owner-freebsd-questions@FreeBSD.ORG Fri Aug 29 15:47:32 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 72C12CC3 for ; Fri, 29 Aug 2014 15:47:32 +0000 (UTC) Received: from fly.hiwaay.net (fly.hiwaay.net [216.180.54.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3E0B11DD5 for ; Fri, 29 Aug 2014 15:47:31 +0000 (UTC) Received: from [192.168.0.27] (rbn1-216-180-19-34.adsl.hiwaay.net [216.180.19.34]) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id s7TFlUVj022008 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Fri, 29 Aug 2014 10:47:30 -0500 Message-ID: <5400A209.7030103@hiwaay.net> Date: Fri, 29 Aug 2014 10:53:45 -0500 From: "William A. Mahaffey III" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.0 MIME-Version: 1.0 To: "FreeBSD Questions !!!!" Subject: printing problems .... Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Aug 2014 15:47:32 -0000 I am trying to get printing working under FBSD 9.3. I cribbed printcap info from https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/printing.html#printing-quick-start & tried it out: [root@kabini1, /etc, 10:48:04am] 458 % service lpd status lpd is running as pid 27062. [root@kabini1, /etc, 10:48:06am] 459 % printf "From jaguar:\n1. This printer can print.\n2. This is the second line.\n" | lpr [root@kabini1, /etc, 10:48:36am] 460 % lpq no entries [root@kabini1, /etc, 10:48:38am] 461 % (tail printcap ) # :lp=/dev/lpt0:sd=/var/spool/output/lpd:lf=/var/log/lpd-errs: # # ... following cribbed from Athlon-cube, FC14 ;-) .... # # printer|Xerox Phaser 6130N:rm=jaguar.cfd.com:rp=printer: # Cups-PDF|Cups-PDF:rm=jaguar.cfd.com:rp=Cups-PDF: # # ... following cribbed from online FBSD LP docs .... # lp:lp=:rm=printer:rp=raw:sh:mx#0:sd=/var/spool/lpd/lp:lf=/var/log/lpd-errs: [root@kabini1, /etc, 10:48:59am] 462 % ping printer PING printer (192.168.0.24): 56 data bytes 64 bytes from 192.168.0.24: icmp_seq=0 ttl=255 time=0.638 ms 64 bytes from 192.168.0.24: icmp_seq=1 ttl=255 time=0.632 ms 64 bytes from 192.168.0.24: icmp_seq=2 ttl=255 time=0.623 ms 64 bytes from 192.168.0.24: icmp_seq=3 ttl=255 time=0.634 ms 64 bytes from 192.168.0.24: icmp_seq=4 ttl=255 time=0.631 ms 64 bytes from 192.168.0.24: icmp_seq=5 ttl=255 time=0.640 ms 64 bytes from 192.168.0.24: icmp_seq=6 ttl=255 time=0.769 ms 64 bytes from 192.168.0.24: icmp_seq=7 ttl=255 time=0.622 ms 64 bytes from 192.168.0.24: icmp_seq=8 ttl=255 time=0.758 ms 64 bytes from 192.168.0.24: icmp_seq=9 ttl=255 time=0.634 ms --- printer ping statistics --- 10 packets transmitted, 10 packets received, 0.0% packet loss round-trip min/avg/max/stddev = 0.622/0.658/0.769/0.053 ms [root@kabini1, /etc, 10:49:41am] 463 % Nothing ever comes out of the printer, thought it does light up, it seems to know it got something .... The same printf stuff above works from the shell CLI on other Linux boxen (CUPS), so the printer can handle straight ASCII text .... TIA for any clues .... -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr.