#1 PDF Engine » Duplex printing issue? » 2022-10-17 22:12:21

skamradt
Replies: 2

I have noticed that when duplex printing (printing on both sides of the paper) directly from the .ShowPreviewForm it will not clear the second page before printing on it.  The text from the first page will appear duplicated on the second page if the text for the second page does not fully cover the second page. I tried this on two separate printers (Brother 2395 laser printer & Epson 8550 ink jet) and both behave identically.  Exporting to PDF and then printing duplex does not show the problem so I believe it has something to do with the internal print logic.

#2 Re: PDF Engine » TGDIPages.AppendRichEdit() doesn't import some PNG images » 2022-09-16 20:26:10

Some oddness going on for sure.  The RichEdit (vanilla from Delphi 11 components) appears to be rendering the png images properly on the screen, its just when it goes to insert into the report that the png images are getting removed. Unfortunately I'm not able to change the format of what is in the RTF fragments, most of the time they are pasted in screen shots and I have records going back several years.  The fast report export was working, but it renders everything as an image (including text) which breaks the ability to do a text search on the document or feed the pdf through a screen reader.

#3 PDF Engine » TGDIPages.AppendRichEdit() doesn't import some PNG images » 2022-09-15 19:55:41

skamradt
Replies: 5

I am using AppendRichEdit to print some RTF blobs, and I'm noticing that images which were added to the RTF as a png are not being converted, yet images added as a JPEG are.  Is there some magic that has to occur that I'm missing to allow png images to render properly?  The not working images are stored in the RTF as ...\pngblip\..., the working images are stored in the RTF as ...\jpegblip\...

The images render properly to the screen if I load the blob into a TRichEdit control, and also print if I use a FastReport report.

Board footer

Powered by FluxBB