|
From: Tero A. <te...@pr...> - 2005-06-28 22:14:17
|
To print from a pdf viewer is one solution, but same time if somebody is
printing continuously it is one more step to go. Optimal is have both
posibilities. I have Sql-ledger running also in Mandrake-server and there
funktionality is perfect, but this Windows XP instalation...
I believe that many of Sql-ledger users have had this same problem, there was
at least on thread ( at the beginning of this year ) where was exactly the
same situation. Unfortunatelly it is still flagged as not fully solved.
I think that the error begins from Form.pm file line 786 ( version 2.5.1 )
# launch application
print qq|Content-Type: application/$self->{format}
Content-Disposition: attachment; filename="$self->{tmpfile}"\n\n|;
unless (open(OUT, ">-")) {
$err = $!;
$self->cleanup;
$self->error("STDOUT : $err");
}
}
binmode(OUT);
while (<IN>) {
print OUT $_;
}
close(OUT);
Because after executing this part it gives out oe.pl file. When I open that
file there is first an Windows error - message concerning right syntax to
use when printing to network printer :
Error message:
lpr [-S ServerID] -P PrinterName [-C BannerContent] [-J JobName] [{-o | -o l}]
[-d] [-x] FileName
After that there is:
Html code + variables of that page where you push print button
I'm not sure but I believe that this shows that lpr - information was not
delivered as Windows except.
|