From mbsd@pacbell.net  Sun Mar  6 04:00:03 2005
Return-Path: <mbsd@pacbell.net>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 332AD16A4D0
	for <FreeBSD-gnats-submit@freebsd.org>; Sun,  6 Mar 2005 04:00:03 +0000 (GMT)
Received: from ylpvm29.prodigy.net (ylpvm29-ext.prodigy.net [207.115.57.60])
	by mx1.FreeBSD.org (Postfix) with ESMTP id E6C5743D2F
	for <FreeBSD-gnats-submit@freebsd.org>; Sun,  6 Mar 2005 04:00:01 +0000 (GMT)
	(envelope-from mbsd@pacbell.net)
Received: from antec.home (adsl-64-168-24-254.dsl.snfc21.pacbell.net [64.168.24.254])
	by ylpvm29.prodigy.net (8.12.10 outbound/8.12.10) with ESMTP id j263xdRt010021
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 5 Mar 2005 22:59:39 -0500
Message-Id: <20050305195819.A693@antec.home>
Date: Sat, 5 Mar 2005 20:00:00 -0800 (PST)
From: =?ISO-8859-1?Q?Mikko_Ty=F6l=E4j=E4rvi?= <mbsd@pacbell.net>
To: FreeBSD-gnats-submit@freebsd.org
Subject: Networked printer setup unnecessarily complex in handbook

>Number:         78480
>Category:       docs
>Synopsis:       Networked printer setup unnecessarily complex in handbook
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-doc
>State:          closed
>Quarter:        
>Keywords:       handbook
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Mar 06 04:00:36 GMT 2005
>Closed-Date:    Fri Apr 11 16:42:22 UTC 2014
>Last-Modified:  Fri Apr 11 16:42:22 UTC 2014
>Originator:     Mikko Tyolajarvi
>Release:        FreeBSD 6.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD sotec.home 6.0-CURRENT FreeBSD 6.0-CURRENT #28: Sat Mar 5 16:58:15 PST 2005 mikko@sotec.home:/usr/obj/usr/src/sys/SOTEC i386

>Description:

Handbook section 9.4.3.2 "Printers with Networked Data Stream Interfaces"
describes how to send data to a printer that listens to a TCP/IP
port by using a filter script.

A much simpler way is to specify :lp=<port>@<host>: in /etc/printcap,
which will Just Work(tm), although the handbook claims there is no way
to do this :-)

The only gotcha is that the port has to be specified numerically; a
service name (e.g. "jetdirect") will not work.

This functionality has been around for at least five years, and is
even mentioned in printcap(5).

>How-To-Repeat:

Read handbook.  Read printcap(5).  Note discrepancy.

>Fix:

Replace or augment the section with some text explaining that
lp=port@host is sufficient in most cases, and that printers with a
"JetDirect" interface tend to listen to port 9100.
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: wblock 
State-Changed-When: Fri Apr 11 16:40:16 UTC 2014 
State-Changed-Why:  
The new (2014-04-11) Handbook chapter on printing shows port 9100 
printing. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=78480 
>Unformatted:
