Hi all !
I'm working in web application, so I have to use FPImage to get some jpg pictures.
The problem is that i am working with TFPMemoryImage and i need to send a Bitmap to the printer.
begin
Printer.BeginDoc;
Printer.Title:=job_name;
Printer.Canvas.StretchDraw(Rect(0, 0, Printer.PageWidth, Printer.PageHeight),imageToPrint);
Printer.EndDoc;
end;
I cannot use imageToPrint like TFPMemoryImage, because the Printer.Canvas.StrechDraw expect a graphic component.
So, what can I do ?
Thanks in advance.
Nico.