nroff and printing
Kenneth Brody
both at hvcomputer.com
Tue May 15 06:20:27 PDT 2007
Quoting Dennis Malen (Mon, 14 May 2007 18:34:32 -0400):
> When passing an nroff file (where the underlying file was created in
> filepro) off to the printer must I have the printer set to any
> particular configuration? When passed through to a PCL or ASCII
> printer, the carriage return does not work. The end of the line is
> continued at the next column but on the next line down.
I assume you mean that
it looks like this, with
each line starting at
the column
where it was left at the
end of the previous line?
It sounds like nroff is sending LF at the end of each line, but your
printer needs CR+LF.
> I am using the following:
>
> nroff {name of file created by filepro} | lp -d{name of printer} -s
[...]
Perhaps there is a flag to "lp" to convert LF to CR+LF? Perhaps there
is a setting in your printer to do it automatically? Perhaps you can
have "nroff ... | xtod | lp ..." as the output instead? (Assuming
your system has an "xtod" utility, which it probably won't if it's
not SCO. In that case, see if it includes a program which converts
from Unix to DOS formatting on text files.)
--
Kenneth Brody
Hudson Valley Computer Associates, Inc.
More information about the Filepro-list
mailing list