From owner-freebsd-doc Tue May 1 21:50: 6 2001 Delivered-To: freebsd-doc@freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 372FB37B422 for ; Tue, 1 May 2001 21:50:04 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f424o4n57241; Tue, 1 May 2001 21:50:04 -0700 (PDT) (envelope-from gnats) Date: Tue, 1 May 2001 21:50:04 -0700 (PDT) Message-Id: <200105020450.f424o4n57241@freefall.freebsd.org> To: freebsd-doc@freebsd.org Cc: From: Dima Dorfman Subject: Re: docs/27004: add example for using PS test code Reply-To: Dima Dorfman Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR docs/27004; it has been noted by GNATS. From: Dima Dorfman To: dan@freebsdiary.org Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: docs/27004: add example for using PS test code Date: Tue, 01 May 2001 21:47:34 -0700 dan@freebsddiary.org writes: > >How-To-Repeat: > see http://www.freebsd.org/handbook/printing-intro-setup.html > under section 9.3.1.3.2. Checking Printer Communications An excerpt from the Handbook: --- 9.3.1.3.2.1. Checking a Parallel Printer This section tells you how to check if FreeBSD can communicate with a printer connected to a parallel port. To test a printer on a parallel port: 1. Become root with su(1). 2. Send data to the printer. + If the printer can print plain text, then use lptest(1). Type: # lptest > /dev/lptN Where N is the number of the parallel port, starting from zero. + If the printer understands PostScript or other printer language, then send a small program to the printer. Type: # cat > /dev/lptN Then, line by line, type the program carefully as you cannot edit a line once you have pressed RETURN or ENTER. When you have finished entering the program, press CONTROL+D, or whatever your end of file key is. Alternatively, you can put the program in a file and type: # cat file > /dev/lptN Where file is the name of the file containing the program you want to send to the printer. --- Isn't this what you wanted? Your fix looks just like the last two paragraphs combined. Perhaps the above could be changed to suggest that the sample program above that text be used, but I don't think it should be duplicated, much less be duplicated right above it! Regards, Dima Dorfman dima@unixfreak.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message