Package Details: muttprint 0.73_4-3

Git Clone URL: (read-only)
Package Base: muttprint
Description: An app to print email from CLI mail clients, mutt in particular
Upstream URL:
Licenses: GPL
Submitter: None
Maintainer: jasonwryan
Last Packager: jasonwryan
Votes: 56
Popularity: 0.368159
First Submitted: 2006-01-07 14:55
Last Updated: 2016-05-05 02:03

Latest Comments

1 2 3 4 Next › Last »

benoliver999 commented on 2019-04-07 05:55

Struggling to get the build to work, getting the following:

/home/ben/.cache/yay/muttprint/PKGBUILD: line 25: 13329 Aborted                 (core dumped) convert -flop BabyTuX.eps BabyTuX.eps

Seems like ImageMagick is causing a core dump when flipping the eps file.

This happens on an old machine (x200), but not on a newer one. Anyone else getting this issue?

EDIT: Just a bad coincidence, works with ImageMagick 7.0.8-39 but was broken with 7.0.8-38. If you are having this error, upgrade ImageMagick.

jasonwryan commented on 2019-02-23 08:04

@lenormf you can just comment out the EPS variable in the policy file at /etc/IMageMagic-7/policy.xml. Apparently, the next version of IM will fix this.

lenormf commented on 2019-02-23 07:33

Got the following errors, during the preparation phase:

convert: attempt to perform an operation not allowed by the security policy `EPS' @ error/constitute.c/IsCoderAuthorized/408.
convert: no images defined `BabyTuX.eps' @ error/convert.c/ConvertImageCommand/3300. 

To work around that, I ran convert -debug configure logo: null: to find out where ImageMagick gets the user policy from, then copied the system one to there:

$ convert -debug configure logo: null:
$ mkdir ~/.config/ImageMagick
$ cp /etc/ImageMagick-7/policy.xml ~/.config/ImageMagick

There's a line in that file that prevents the convertion:

<policy domain="coder" rights="none" pattern="{PS,PS2,PS3,EPS,PDF,XPS}" />

Replace none by all, install the package, remove the ~/.config/ImageMagick directory.

jasonwryan commented on 2018-03-20 20:50

@HamishTPB Have you openend a bug report upstream? I'm reluctant to patch in perpetuity...

HamishTPB commented on 2018-03-20 03:38

There seems to be a typo in the default settings file /etc/Muttprintrc


should be


If you do not override the system-wide config with your own then this will bring up the error:

Press any key to write error: Broken pipe

The uppercase "P" is listed as paper size in the man page where lowercase "p" is the printer name.

robb commented on 2016-12-21 19:46

> I have set muttprint in my muttrc but I get the following error:
> Press any key to write error: Broken pipe
I had the same issue. I was able to debug the problem a bit without involving mutt, by doing just "cat file | muttprint". This returned the following error:
lpr: The printer or class does not exist.

Which seems odd since the lpq command knows the printer, it returns:
"hpc_5180 is ready". And echo $PRINTER returns: "hpc_5180"

Anyway I was able to (mutt)print successfully by adding the following to my muttrc file:
set print_command="muttprint -P A4 -p $PRINTER"

(It seems that it should also be possible to set the printer via a muttprintrc file. See the muttprint manual page.)

Shibumi commented on 2016-12-16 19:00

I have set muttprint in my muttrc but I get the following error:

Press any key to write error: Broken pipe

jasonwryan commented on 2016-05-05 02:04

@dtbaumann - thanks: added your patch

dtbaumann commented on 2016-05-04 06:15

Hi, it seems that the settings for duplex printing are mixed up. For papersave mode (two pages on one landscape sheet) the binding is short edge and vice versa.

--- a/muttprint 2016-05-04 08:00:34.253412690 +0200
+++ b/muttprint 2016-05-04 08:04:04.371149272 +0200
@@ -643,14 +643,14 @@
if ($Config{PAPERSAVE} eq "on") {
if ($useCups) {
- s/\$CUPS_OPTIONS/ -o sides=two-sided-long-edge \$CUPS_OPTIONS/;
+ s/\$CUPS_OPTIONS/ -o sides=two-sided-short-edge \$CUPS_OPTIONS/;
} else { # no cups
} else { # no papersave
if ($useCups) {
- s/\$CUPS_OPTIONS/ -o sides=two-sided-short-edge \$CUPS_OPTIONS/;
+ s/\$CUPS_OPTIONS/ -o sides=two-sided-long-edge \$CUPS_OPTIONS/;
} else { # no cups

cachereturn commented on 2016-02-18 18:19

Please change url=( -> url=

makepkg is failing with error "url should not be an array."