On Fri, Jan 30, 2009 at 12:11:51PM -0700, Michael wrote: > On Fri, Jan 30, 2009 at 06:15:13PM +0000, Arthur Dent wrote: > > On Fri, Jan 30, 2009 at 06:47:07PM +0100, Joost Kremers wrote: > > > On Fri, Jan 30, 2009 at 04:24:41PM +0000, Arthur Dent wrote: > > I'm working on different computer, so I may have missed, but what do you have > in .muttrc for print_command? OK, In .muttrc I have the following: set print_command="muttprint" #set print="yes" set print_split macro index p "<display-toggle-weed> <print-message> <display-toggle-weed> <exit>" macro pager p "<display-toggle-weed> <print-message> <display-toggle-weed>" (Mind the line-wrap) in .muttprintrc I have the following: PRINT_COMMAND="lpr -P$PRINTER" This gave an error: lpr: The printer or class was not found. Muttprint Version 0.72d -- Error ====================================================================== Line 759: Could not print with lpr -Plp: So I changed it to: PRINT_COMMAND="CUPS" Which also gave an error - this time: Muttprint Version 0.72d -- Error ====================================================================== Line 759: Could not print with lpr -P lp -o media=A4 : Not sure where I am going wrong... Thanks for your help so far. Mark
Attachment:
pgpVwJODvX8dm.pgp
Description: PGP signature