* 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,

I guess we are making progress. I did all of the above (I already had .muttrc set correctly) and now when I try and print I get this nice blue sysinstall-like window telling me:

Line 636: Error while running dvips
No such file or directory

Now it is true, there is no dvips installed on the box. So I thought that going to /usr/ports/print/dvips and doing an install would solve the problem. However when I try and do that I get a lengthy error message. If dvips is indeed necessary, and you would like to see the error message, I will send it along.

Thanks for your help.

Rem

Reply via email to