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:
 
#############################
 
$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.

Reply via email to