Bug 27004

Summary: The handbook supplies a PS program, but doesn't show how to use it.
Product: Documentation Reporter: dan <dan>
Component: Books & ArticlesAssignee: freebsd-doc (Nobody) <doc>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description dan 2001-05-01 04:10:00 UTC
	When I getting my PS printer going, I had no idea how to send it a test page.
	The handbook does have a sample postscript program, but it doesn't show you
	how to use the sample.

How-To-Repeat: 	see http://www.freebsd.org/handbook/printing-intro-setup.html
	under section 9.3.1.3.2. Checking Printer Communications
Comment 1 dima 2001-05-02 05:47:34 UTC
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
Comment 2 dd freebsd_committer freebsd_triage 2001-05-02 08:09:17 UTC
State Changed
From-To: open->closed

Patch committed as we discussed.  Thanks!