Arun K. Khan wrote:
An elaboration on the subject line: I have a Intel Netport print server with a HP 6MP (PS) printer. I have SuSE 5.1. After reading thru the man page for a2ps and the docs on apsfilter as well using apsfilter with network printers on SuSE SDB, I have a working setup with a couple of minor settings that I have not been able to figure out as follows:
1. "a2ps -l -2 -nH <filename>" produces no output on stdout. Per the a2ps man page, a2ps is supposed to output to stdout w/o the -P <dest printer> OR pipe to lpr tool. Instead, I notice a job is queued to the "network" printer and it prints there shortly. Can't figure out why a print job gets spooled when I don't give any printer destination OR pipe it to lpr. In fact the following command line from the a2ps man page "a2ps -l -2 -nH infile > outfile" creates a 0 length outfile with a job getting spooled to the network printer!! Seems like a bug.
I noticed this as well, but never made anything from it, because I wanted to print and this was one step less. ;-)) from aps manpage: ... input. The output is sent to lpr or to stdout. The format used is nice and compact: normally two pages on each phys ical page, borders surrounding pages, headers with useful ... and from 'a2ps -h': -i -ni INTERPRET (don't interpret) tab, bs and ff chars -Pprinter -nP SEND (don't send) directly to the printer (with options '-l' and -Pprinter) o try a2ps with the -nP option Jürgen -- ========================================== __ _ Juergen Braukmann mail: brauki@cityweb.de| / / (_)__ __ ____ __ Tel: 0201-743648 dk4jb@db0qs.#nrw.deu.eu| / /__/ / _ \/ // /\ \/ / ========================================== /____/_/_//_/\_,_/ /_/\_\ - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e