Our customer want to print a number of documents within one print job. That way he can generate one PDF-file containing a patients whole journal. TWPRichEdit could come about that by checking if printer already was printing. Something like this:
Code
var
LocalJob: boolean;
begin
LocalJob := Printer.Printing;
if LocalJob then
Printer.BeginDoc;
try
...
finally
if LocalJob then
Printer.EndDoc;
end;
Alles anzeigen
This is how I think it could be done. A NewPage in the beginning or end is something the application must deal with. Is this something that could be considered or are there other ways to accomplish it?
tia/hrc