Date: Tue, 27 Dec 1994 23:33:04 +0059 (MET) From: Andreas Schulz <ats@g386bsd.first.gmd.de> To: steve@khoros.unm.edu (Steven Jorgensen) Cc: freebsd-questions@freebsd.org Subject: Re: Disk config problem Message-ID: <199412272233.XAA28892@g386bsd.first.gmd.de> In-Reply-To: <9412272140.AA08469@borris.khoros.unm.edu> from "Steven Jorgensen" at Dec 27, 94 02:40:27 pm
next in thread | previous in thread | raw e-mail | index | archive | help
> 3. Finally, I'm trying to set up my printcap to print to my Deskjet > 560c printer. I don't have my printcap entry available right > now, but I'm pretty sure it's set up correct (I had an example to > work from.) The problem is that when I lpr a file, takes the > file does nothing. No error is printed in the printer log, and > no error is given to stderr. I'm using the apsfilter script to > preprocess the file for my printer, and I suspect that may be > the problem. However, when I send a file to this script > by itself, and redirect the output to my parallel port device, > it seems to print just fine. Any ideas what I am doing > wrong? If you'd like to see the printcap, I'll email it > tonight when I get home. I know some answers for that part :-). apsfilter-1.11 doesn't work out of the box for FreeBSD-2.0 in the moment. First thing to change is the ECHO=echo line to a ECHO=printf line. Second thing, search for the calls of "pr". It uses the "-f" in these calls, but the FreeBSD 2.0 pr only knows a "-F" flag instead. And the last is is the "-o $INDENT". If you don't need it trhow it simply out of apsfilter. It gets a default of 0 for this, but pr doesn't like a "pr -o 0" and gives only an error message for that. I am just asking in our internal list, if i can relax the posix conformance for pr for these annoying features :-). Also you may need to convert a normal ascii file from a Linefeed only file to a Cariage Return/Linefeed file before printing. I have achieved that with a pipe of the "pr" output to: " | awk 'ORS=\r\n" { print } ' And if i now would only find out, why the Canon BJ10e driver in ghostscript uses slightly wrong paper-sizes and looses some pixels on the edge, i would be completely happy :-). ATS ( ats@first.gmd.de or ats@cs.tu-berlin.de ) Andreas Schulz GMD-FIRST 12489 Berlin-Adlershof Rudower Chaussee 5 Gebaeude 13.7 Tel: +49-30-6392-1856/+49-177-2134745 Germany/Europe
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199412272233.XAA28892>