Re: Muttprint

2009-12-17 Thread Ionel Mugurel Ciobica
On 16-12-2009, at 21h 01'56, Rem P Roberti wrote about Muttprint
 [...] 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:

Hi,

I have this line in my .muttrc:

 set print_command=muttprint

I have no .muttprintrc file, and in /etc/Muttprintrc I can see:

 PRINT_COMMAND=lpr

In other words, it is all default.

 
 Press any key to continue...dvips: not found

Do you have a working setup of LaTeX installed in your box?

Ionel


Re: replies with umlauts garbled

2009-12-17 Thread Christian Brabandt
On Wed, December 16, 2009 2:04 pm, Jan-Herbert Damm wrote:
 Christoph Kukulies wrote on 16.12.09:
 When I compose an email (using vi under ubuntu), and send that
 email, the recipients tell me
 that the umlauts are fine. But when I reply - in the course of
 follwups - to that email (that has made
 one turn-around), the umlauts come out garbled. Newly typed umlauts
 seem to be ok. Excerpt of my .muttrc:
 (it's a different mail account, not this one).

 Seemingly by coincidence there is a similar issue that arose in
 vim_use.  There it is probably an issue of googlegroups but i thought
 a mention could do no harm:

 in the vim_use mailinglist it is this recent thread:

 Garbled mail on list. Was: Text replacing question

 Sorry for not being able to write anything substantial about the
 matter.

As I have been involved in the garbled mail on vim_use I thought I need
to comment. I first thought, this was an issue with mutt, but now I
think it's googlegroups that is seriously messing with mails. The reason
I believe this are:

 - my linux system has been setup for use of UTF-8 for years and so far
   has been working seamlessly.
 - I had never issues before, though I usually do not use subscripts a
   lot but every once in a while on the couple of mailing lists I am
   involved in.
 - the garbled mail in my sent-box looks alright (and while this does
   not mean anything by itself, I saw that the same mail received on the
   list has had a changed encoding and content-transfer-encoding.
 - since this happened to 2 mutt users on the vim_use list in the last
   time (and I don't remember that this happened before), this might
   mean that google changed something within their configuration
   currently. (But who really knows?)

This only seems to happen, if two special chars are following right
after each other, subscripts separated by whitespace on each side seems
not affected (because I could reproduce it that way).

I think setting :set allow_8bit=no within mutt could help prevent this,
but this is just a guess.

@Christoph: you should show us the source of the mail (including
headers), so we are able to tell you, whether this is an issue with
mutt, your editor or the MUA of your recipients. As you have also set
allow_8bit, you might give set allow_8bit=no a try to force
quoted-printable encoding (which seems to suit the robustness principle
better).

regards,
Christian
-- 
:wq



Re: Muttprint

2009-12-17 Thread Patrick Shanahan
* 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, USAHOG # US1244711
http://wahoo.no-ip.org Photo Album:  http://wahoo.no-ip.org/gallery2
Registered Linux User #207535@ http://counter.li.org


Re: Muttprint

2009-12-17 Thread Rem P Roberti



* 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


Re: Muttprint

2009-12-17 Thread Patrick Shanahan
* Rem P Roberti remeg...@comcast.net [12-17-09 12:38]:
 
 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.

Well, you are on a different distro that I, openSUSE 11.2.  I suspect you
need to install texlive-latex or some combination of texlive and latex as
the dvips binary is needed:
  dvips - convert a TeX DVI file to PostScript

14:56 wahoo:~  rpm -q --requires muttprint
  LaTeX  
  psutils  
  perl  
  perl-Text-Iconv  
  perl-TimeDate  
  rpmlib(PayloadFilesHavePrefix) = 4.0-1
  rpmlib(CompressedFileNames) = 3.0.4-1
  /usr/bin/env  { from coreutils }
  libc.so.6()(64bit)  
  libc.so.6(GLIBC_2.2.5)(64bit)  
  libc.so.6(GLIBC_2.3)(64bit)  
  libc.so.6(GLIBC_2.3.4)(64bit)  
  rpmlib(PayloadIsLzma) = 4.4.6-1

your system's requirements will be different as you do not use rpm.  I
suspect you are on a debian derivative, synaptics *should* provide a list
of the required supporting packages.  I don't know how you installed
muttprint, but I would have expected your system to have complained that
a required package was missing.

let me know if I can help more.
-- 
Patrick Shanahan Plainfield, Indiana, USAHOG # US1244711
http://wahoo.no-ip.org Photo Album:  http://wahoo.no-ip.org/gallery2
Registered Linux User #207535@ http://counter.li.org


Re: Muttprint

2009-12-17 Thread Rem P Roberti
On 2009.12.17 15:00:49 +, Patrick Shanahan wrote:
 * Rem P Roberti remeg...@comcast.net [12-17-09 12:38]:
  
  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.
 
 Well, you are on a different distro that I, openSUSE 11.2.  I suspect you
 need to install texlive-latex or some combination of texlive and latex as
 the dvips binary is needed:
   dvips - convert a TeX DVI file to PostScript
   
 14:56 wahoo:~  rpm -q --requires muttprint
   LaTeX  
   psutils  
   perl  
   perl-Text-Iconv  
   perl-TimeDate  
   rpmlib(PayloadFilesHavePrefix) = 4.0-1
   rpmlib(CompressedFileNames) = 3.0.4-1
   /usr/bin/env  { from coreutils }
   libc.so.6()(64bit)  
   libc.so.6(GLIBC_2.2.5)(64bit)  
   libc.so.6(GLIBC_2.3)(64bit)  
   libc.so.6(GLIBC_2.3.4)(64bit)  
   rpmlib(PayloadIsLzma) = 4.4.6-1
 
 your system's requirements will be different as you do not use rpm.  I
 suspect you are on a debian derivative, synaptics *should* provide a list
 of the required supporting packages.  I don't know how you installed
 muttprint, but I would have expected your system to have complained that
 a required package was missing.
 
 let me know if I can help more.

Well this is getting a bit more convoluted. I went and checked
the dependencies list and there were indeed some that were missing. So I 
manually installed them. Now when I try to print I get the blue window 
telling me this:

Line 759: Could not print with lpr -Plp
No such file or directory

I'm stumped

Rem




Re: Muttprint

2009-12-17 Thread Rem P Roberti
On 2009.12.17 16:18:15 +, Rem P Roberti wrote:
 On 2009.12.17 15:00:49 +, Patrick Shanahan wrote:
  * Rem P Roberti remeg...@comcast.net [12-17-09 12:38]:
   
   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.
  
  Well, you are on a different distro that I, openSUSE 11.2.  I suspect you
  need to install texlive-latex or some combination of texlive and latex as
  the dvips binary is needed:
dvips - convert a TeX DVI file to PostScript
  
  14:56 wahoo:~  rpm -q --requires muttprint
LaTeX  
psutils  
perl  
perl-Text-Iconv  
perl-TimeDate  
rpmlib(PayloadFilesHavePrefix) = 4.0-1
rpmlib(CompressedFileNames) = 3.0.4-1
/usr/bin/env  { from coreutils }
libc.so.6()(64bit)  
libc.so.6(GLIBC_2.2.5)(64bit)  
libc.so.6(GLIBC_2.3)(64bit)  
libc.so.6(GLIBC_2.3.4)(64bit)  
rpmlib(PayloadIsLzma) = 4.4.6-1
  
  your system's requirements will be different as you do not use rpm.  I
  suspect you are on a debian derivative, synaptics *should* provide a list
  of the required supporting packages.  I don't know how you installed
  muttprint, but I would have expected your system to have complained that
  a required package was missing.
  
  let me know if I can help more.
 
 Well this is getting a bit more convoluted. I went and checked
 the dependencies list and there were indeed some that were missing. So I 
 manually installed them. Now when I try to print I get the blue window 
 telling me this:
 
 Line 759: Could not print with lpr -Plp
 No such file or directory
 
 I'm stumped
 
 Rem

Oops.  I thought the first send failed.  Sorry for the duplication.

Rem 


Re: Muttprint

2009-12-17 Thread Patrick Shanahan
* Rem P Roberti remeg...@comcast.net [12-17-09 19:20]:
 On 2009.12.17 15:00:49 +, Patrick Shanahan wrote:
  
  your system's requirements will be different as you do not use rpm.  I
  suspect you are on a debian derivative, synaptics *should* provide a list
  of the required supporting packages.  I don't know how you installed
  muttprint, but I would have expected your system to have complained that
  a required package was missing.
  
  let me know if I can help more.
 
 Well this is getting a bit more convoluted. I went and checked
 the dependencies list and there were indeed some that were missing. So I 
 manually installed them. Now when I try to print I get the blue window 
 telling me this:
 
 Line 759: Could not print with lpr -Plp
 No such file or directory
 
 I'm stumped

Sounds like a lot of problems.  Why are you manually installing
packages when you have apps specifically designed to handle the
dependency problems you are having?

What system are you on and how are you installing?
What dependencies were missing?

You may need to reinstall lp/cups (my lp* cmds are provided by
cups-client).

what does lpstat -a yield?

Do you have cups installed?

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


Re: Muttprint

2009-12-17 Thread Patrick Shanahan
* Patrick Shanahan ptilopt...@gmail.com [12-17-09 19:34]:
 * Rem P Roberti remeg...@comcast.net [12-17-09 19:20]:
  On 2009.12.17 15:00:49 +, Patrick Shanahan wrote:
   
   your system's requirements will be different as you do not use rpm.  I
   suspect you are on a debian derivative, synaptics *should* provide a list
   of the required supporting packages.  I don't know how you installed
   muttprint, but I would have expected your system to have complained that
   a required package was missing.
   
   let me know if I can help more.
  
  Well this is getting a bit more convoluted. I went and checked
  the dependencies list and there were indeed some that were missing. So I 
  manually installed them. Now when I try to print I get the blue window 
  telling me this:
  
  Line 759: Could not print with lpr -Plp
  No such file or directory
  
  I'm stumped
 
 Sounds like a lot of problems.  Why are you manually installing
 packages when you have apps specifically designed to handle the
 dependency problems you are having?
 
 What system are you on and how are you installing?
 What dependencies were missing?
 
 You may need to reinstall lp/cups (my lp* cmds are provided by
 cups-client).
 
 what does lpstat -a yield?
 
 Do you have cups installed?


Did you install/reinstall part of cups and, if you did, did you restart
the cups daemon?

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


Re: Muttprint

2009-12-17 Thread Rem P Roberti
On 2009.12.17 19:31:40 +, Patrick Shanahan wrote:
 * Rem P Roberti remeg...@comcast.net [12-17-09 19:20]:
  On 2009.12.17 15:00:49 +, Patrick Shanahan wrote:
   
   your system's requirements will be different as you do not use rpm.  I
   suspect you are on a debian derivative, synaptics *should* provide a list
   of the required supporting packages.  I don't know how you installed
   muttprint, but I would have expected your system to have complained that
   a required package was missing.
   
   let me know if I can help more.
  
  Well this is getting a bit more convoluted. I went and checked
  the dependencies list and there were indeed some that were missing. So I 
  manually installed them. Now when I try to print I get the blue window 
  telling me this:
  
  Line 759: Could not print with lpr -Plp
  No such file or directory
  
  I'm stumped
 
 Sounds like a lot of problems.  Why are you manually installing
 packages when you have apps specifically designed to handle the
 dependency problems you are having?
Good question. This is a FreeBSD box and I have never had to do this
before.
 
 What system are you on and how are you installing?
 What dependencies were missing?
divipsk-tetex and open-motif. There may have been one more.


 You may need to reinstall lp/cups (my lp* cmds are provided by
 cups-client).
 
 what does lpstat -a yield?
lpstat -a yields Photosmart7760 accepting requests since Dec 11 12:21:13
2009

 
 Do you have cups installed?
Cups is installed and working perfectly. The named printer is working
perfectly, and was installed via CUPS.

Rem


Re: Muttprint

2009-12-17 Thread Rem P Roberti
On 2009.12.17 16:43:03 +, Rem P Roberti wrote:
 On 2009.12.17 19:31:40 +, Patrick Shanahan wrote:
  * Rem P Roberti remeg...@comcast.net [12-17-09 19:20]:
   On 2009.12.17 15:00:49 +, Patrick Shanahan wrote:

your system's requirements will be different as you do not use rpm.  I
suspect you are on a debian derivative, synaptics *should* provide a 
list
of the required supporting packages.  I don't know how you installed
muttprint, but I would have expected your system to have complained that
a required package was missing.

let me know if I can help more.
   
   Well this is getting a bit more convoluted. I went and checked
   the dependencies list and there were indeed some that were missing. So I 
   manually installed them. Now when I try to print I get the blue window 
   telling me this:
   
   Line 759: Could not print with lpr -Plp
   No such file or directory
   
   I'm stumped
  
  Sounds like a lot of problems.  Why are you manually installing
  packages when you have apps specifically designed to handle the
  dependency problems you are having?
 Good question. This is a FreeBSD box and I have never had to do this
 before.
  
  What system are you on and how are you installing?
  What dependencies were missing?
 divipsk-tetex and open-motif. There may have been one more.
 
 
  You may need to reinstall lp/cups (my lp* cmds are provided by
  cups-client).
  
  what does lpstat -a yield?
 lpstat -a yields Photosmart7760 accepting requests since Dec 11 12:21:13
 2009
 
  
  Do you have cups installed?
 Cups is installed and working perfectly. The named printer is working
 perfectly, and was installed via CUPS.

All is well! One of the dependencies that was missing was teTeX, but I
couldn't install it either directly from the ports or via portupgrade
-rR of muttprint itself. Then I got the bright idea of using portmaster
instead of portupgrade and portmaster installed teTeX and another
dependency that muttprint needed.  Now everthing is working and the
print output looks great.

Rem 


Re: Muttprint

2009-12-17 Thread Patrick Shanahan
* Rem P Roberti remeg...@comcast.net [12-17-09 19:44]:
  
  Sounds like a lot of problems.  Why are you manually installing
  packages when you have apps specifically designed to handle the
  dependency problems you are having?

 Good question. This is a FreeBSD box and I have never had to do this
 before.
  
  What system are you on and how are you installing?
  What dependencies were missing?

 divipsk-tetex and open-motif. There may have been one more.


I don't understand open-motif, but 

 
  You may need to reinstall lp/cups (my lp* cmds are provided by
  cups-client).
  
  what does lpstat -a yield?
 lpstat -a yields Photosmart7760 accepting requests since Dec 11 12:21:13
 2009
 

and you have in ~/.muttprintrc:
  PRINTER=Photosmart7760
  PRINT_COMMAND=lpr -P$PRINTER
  
I suspect after re-reading your previous reply that the error msg:
  Line 759: Could not print with lpr -Plp
  No such file or directory
indicates you failed to include the $ in: 
  PRINT_COMMAND=lpr -P$PRINTER
or the quotation marks.

Please review.

gud luk,

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


Re: Muttprint

2009-12-17 Thread Patrick Shanahan
* Rem P Roberti remeg...@comcast.net [12-17-09 21:04]:
 All is well! One of the dependencies that was missing was teTeX, but I
 couldn't install it either directly from the ports or via portupgrade
 -rR of muttprint itself. Then I got the bright idea of using portmaster
 instead of portupgrade and portmaster installed teTeX and another
 dependency that muttprint needed.  Now everthing is working and the
 print output looks great.
 

Das Gud  :^)
-- 
Patrick Shanahan Plainfield, Indiana, USAHOG # US1244711
http://wahoo.no-ip.org Photo Album:  http://wahoo.no-ip.org/gallery2
Registered Linux User #207535@ http://counter.li.org