Gnome::Print
- From: Jens Luedicke <jens irs-net com>
- To: gtk-perl-list gnome org
- Subject: Gnome::Print
- Date: Thu, 25 Jan 2001 14:07:17 UT
Hi there ...
It seems that Gnome::Print doesn't accept
a newline when using something like ...
my $print_master = new Gnome::PrintMaster;
my $context = $print_master->get_context;
$context->beginpage("Print");
$context->stroke;
$context->setfont(Gnome::Font->new_closest("Courier", 'bold', 0, 12));
$context->gsave();
$context->moveto(15, 800);
$context->show("From: $from\n");
If I would use that I'll get a little square character at the end
of the line... Currently I'm using for every line a new $context->moveto ...
Is there a better way to do that?
--
with friendly regards....
jens luedicke <jens irs-net com>
PMC - Perl Mail Client
http://www.irs-net.com/
wget it: wget -m -nH ftp://ftp.irs-net.com/pmc
Bush jr: FOAD ... perversion of justice ...
--
If's Beste Freundin: Else
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]