Dr . Sharukh K . R . Pavri . <[EMAIL PROTECTED]> may have typed [02/03/14 05:47]:
> 
> the error log shows the following, which makes me suspect it is a Latex
> error, but I may be wrong. I have *not* ever used or configured Latex on
> my machine. 
> 

<snip>

> Output written on mail.dvi (1 page, 2124 bytes). 

The log output shows that Latex worked fine and generated the .dvi
file.

> dvips: warning: no config file for `lp0'
> This is dvipsk 5.86 p1.5d Copyright 1996-2001 ASCII
> Corp.([EMAIL PROTECTED])
> based on dvipsk 5.86 Copyright 1999 Radical Eye Software
> (www.radicaleye.com)
> ' TeX output 2002.03.13:2028' -> | lpr -Plp0
> <texc.pro>. [1] Status Information:
> sending job 'spavri@localhost+402' to lp0@localhost
> connecting to 'localhost', attempt 1
> connected to 'localhost'
> requesting printer lp0@localhost
> job 'spavri@localhost+402' transfer to lp0@localhost failed
>  error 'NONZERO RFC1179 ERROR CODE FROM SERVER' with ack 'ACK_FAIL'
>  sending str '^Blp0' to lp0@localhost
> error msg: 'spool queue for 'lp0' does not exist on server
> localhost.localdoma$ error msg: '   non-existent printer or you need to
> run 'checkpc -f'' 

this part leads me to believe that dvips is trying to find and print
to the default printer lp0 without piping it to the stdout as you want
it to do.

man dvips gives the -f option to run it as a filter.

-f            Run  as a filter.  Read the .dvi file from standard
              input and write the PostScript to standard  output.
              The  standard  input must be seekable, so it cannot
              be a pipe.  If you must use a pipe, write  a  shell
              script  that  copies the pipe output to a temporary
              file and then points  dvips  at  this  file.   This
              option  also  disables the automatic reading of the
              PRINTER environment variable,  and  turns  off  the
              automatic  sending of control D if it was turned on
              with the -F option or in  the  configuration  file;
              use -F after this option if you want both.

so setting "dvips -f" might work.

HTH,
sridhar
-- 
Sridhar Srinivasan 
I'm not a complete idiot, some parts are missing!

Reply via email to