Package: muttprint
Version: 0.72c-2
Severity: important
When printing with DUPLEX="on" option the even pages aren't printed and
appear the message "Line ...: Error while running lpr: ". The problem is
on perl script because the file is deleted before the print !!! The
working solution is wait the second print before return from print
subroutine.
For understand my solution I correct the script for use of CUPS, only
the printDuplexCups() subroutine but the problem is the same also with
printDuplexNoCups() subroutine.
My changes to the program are:
Solution 1
~# diff /usr/bin/muttprint /var/tmp/muttprint.ok
814a815
> sleep ($timeBetween + 10);
Solution 2
~# diff /usr/bin/muttprint /var/tmp/muttprint
809,811c809,812
< if (!defined($childPid = fork())) {
< fatalError "Couldn't fork:\n$!";
< } elsif ($childPid) {
---
> my $printCommandIn = $printCommand;
> # if (!defined($childPid = fork())) {
> # fatalError "Couldn't fork:\n$!";
> # } elsif ($childPid) {
815c816,817
< } else {
---
> # } else {
> $printCommand = $printCommandIn;
821c823
< }
---
> # }
-- System Information:
Debian Release: 3.1
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.4.27-2-686-smp
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)
Versions of packages muttprint depends on:
ii debconf [debconf-2.0] 1.4.30.11 Debian configuration management sy
ii libtext-iconv-perl 1.2-3 Convert between character sets in
ii perl 5.8.4-8 Larry Wall's Practical Extraction
ii tetex-extra 2.0.2c-7 Additional library files of teTeX
-- debconf information:
* muttprint/moved_pics:
muttprint/utf8:
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]