Date: Tue, 1 May 2001 21:50:04 -0700 (PDT) From: Dima Dorfman <dima@unixfreak.org> To: freebsd-doc@freebsd.org Subject: Re: docs/27004: add example for using PS test code Message-ID: <200105020450.f424o4n57241@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR docs/27004; it has been noted by GNATS. From: Dima Dorfman <dima@unixfreak.org> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200105020450.f424o4n57241>