Hi,
i try to print out an image using the backgound image function of the superprint component.
I use a bitmap of about 500 x 400 px and the following code to print.
Whatever try, superprint is ignoring the background.
Does anybody know what to do?
Code
Printer.BeginDoc;
WPSuperPrint1.Paint(
Printer.Canvas,
-GetDeviceCaps(Printer.Handle, PHYSICALOFFSETX), // Offset in pixels
-GetDeviceCaps(Printer.Handle, PHYSICALOFFSETy), // Offset in pixels
GetDeviceCaps(Printer.Handle, LOGPIXELSY) / 1440, // Multiplicator for Parameters
[]); // Options
Printer.EndDoc;