You are not logged in.
Pages: 1
I managed to solve the problem.
I was calling SetPrinter after calling BeginDoc.
I changed SetPrinter to before BeginDoc and the problem stopped.
Hi.
When I run DrawText with a large string I got the error "canvas does not allow drawing" on line result := TMetafileCanvas.Create(Page,fPtrHdl); of function TGDIPages.CreateMetafileCanvas(Page: TMetafile): TMetafileCanvas; function.
Pages: 1