* Rem P Roberti <remeg...@comcast.net> [12-17-09 00:04]:
> I have just installed muttprint on a new FreeBSD box and am having a
> bit of difficulty getting it to work.  The printer is an HP Photosmart
> 7760 which has been installed via CUPS, and is otherwise working just
> fine.  The problem, I think, is that I have yet to land upon the correct
> command to be included with "PRINT_COMMAND" in my .muttprintrc.  No
> matter what I try I get this error message:
> 

in ~/.muttrc set
  set print_command="muttprint"
  
open an xterm box and do:
  lpstat -a
  
it will return the system name of your printer

then, in ~/.muttprintrc
  PRINTER=<result from above>
  PRINT_COMMAND="lpr -P$PRINTER"
  

That should allow you to print.  If you want to change the font or what
is included in the header, etc, look at the sample muttrpintrc files
provided in the package and "man muttprint".

my ~/.muttrpint is available for viewing at:
  http://wahoo.no-ip.org/~pat/muttrpintrc

note that I have made several changes and commented out previous lines.

gud luk,
-- 
Patrick Shanahan         Plainfield, Indiana, USA        HOG # US1244711
http://wahoo.no-ip.org     Photo Album:  http://wahoo.no-ip.org/gallery2
Registered Linux User #207535                    @ http://counter.li.org

Reply via email to