Perl Rob wrote:
Hi all,
I'd like to print inline bitmaps using the Win32::Printer module, but
I'm confused by the "$dc" in every one of the documentation examples:
I'm not familiar with Win32::Printer, but the $dc in the snippet you
look at below looks like a Win32::Printer object from a quick scan of
the Win32::Printer documentation.
Not sure I can be of more help than that.
Regards,
Rob.
#############################
$image_handle = $dc->Image($filename);
($image_handle, $original_width, $original_height) = $dc->Image($filename);
or
$image_handle = $dc->Image($filename, $x, $y, [$width, $height]);
($image_handle, $original_width, $original_height) =
$dc->Image($filename, $x, $y, [$width, $height]);
$dc->Image($image_handle, $x, $y, [$width, $height]);
or
($width, $height) = $dc->Image($image_handle);
#############################
What exactly is $dc, and how/where do I define it? Also...must I specify
a filename, or can $image_handle be an inline bitmap?
Thanks,
Rob
P.S. - A special thanks to Richard Noble for sending me a PPD of
Win32::Printer built with FreeImage support.
------------------------------------------------------------------------
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
------------------------------------------------------------------------
_______________________________________________
Perl-Win32-GUI-Users mailing list
Perl-Win32-GUI-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users
http://perl-win32-gui.sourceforge.net/