Fw: error w/ muttprint (or Latex)
I am using mutt 1.3.27 w/ muttprint. Previously I used set print_command=lpr which worked quite fine. I downloaded muttprint, installed it, copied over the default .muttprintrc and made minimal changes to it to get it to work. But, on trying to print, though it gives a message: Messages printed; nothing is actually printed. 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. ---excerpts from error log- Overfull \vbox (12.49998pt too high) has occurred while \output is active LaTeX Warning: Reference `LastPage' on page 1 undefined on input line 82. [1] (mail.aux) LaTeX Warning: There were undefined references. LaTeX Warning: Label(s) may have changed. Rerun to get cross-references right. ) (see the transcript file for additional information) Output written on mail.dvi (1 page, 2124 bytes). snip Output written on mail.dvi (1 page, 2076 bytes). Transcript written on mail.log. 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'' --end of excerpt from error log- can someone please help, regards, Sharukh. -- Dr. Sharukh K. R. Pavri. Mumbai, India.
Re: Fw: error w/ muttprint (or Latex)
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. -fRun 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!