|
| Report based on form - quality of preprinted image |
| Iniciado por guest, 02,mar. 2016 14:10 - 5 respuestas |
| |
| | | |
|
| |
| Publicado el 02,marzo 2016 - 14:10 |
Is there a way to improve print quality of image printed as background of report?
I tested vector PDF, 600dpi PNG, jpg, etc, but bg. image is allways "rendered" in lower res. (lower quality then orig. used file)
Thanks! |
| |
| |
| | | |
|
| | |
| |
| Publicado el 02,marzo 2016 - 16:50 |
Hi
there is... you need to use the EXACT correct size for your image. And for that, you need to: - Get the size of the printed area (ie paper size-technical margins) - Get the DPI of the printer (300, 600, etc) - calculate the resulting number of pixels that will be printed - resize your image accordingly - THEN print it
Best regards |
| |
| |
| | | |
|
| | |
| |
| Publicado el 03,marzo 2016 - 14:54 |
Thanks,
I do not understand whether you mean on using the background image in the Report properties, or print using iPrintImage() function?
Is it possible to set higher quality printing without the use of iPrintImage() function, by simply selecting a background image in the Report properties? |
| |
| |
| | | |
|
| | |
| |
| Publicado el 03,marzo 2016 - 16:14 |
Hi again
anything that you select once and for all in the report editor will have a fixed size.
Wen you change printer (or even printer driver version), the size of the technical margin may change, which means that the image WILL HAVE TO BE RESIZED by the printing system, hence the lower quality.
If you want higher quality, you have to control it by code, as explained in my previous post. That may entail resizing (as described) or even CROPING the image if you want a background form to always be aligned.
Best regards |
| |
| |
| | | |
|
| | |
| |
| Publicado el 04,marzo 2016 - 13:22 |
Hi Marijan,
for A4 300dpi image size must be 2480 pixels x 3508 pixels .
1. make sure report description -> format -> paper size A4 selected
2. in "pre-print of page header"
iPrintImage("bg.jpg", 0,0,iPageWidth, iPageHeight, iHomotheticDisplay)
3. in procedure where you generate pdf file make sure set the quality option iMaximunQuality
iParameterPDF(iProtectionModification + iProtectionSelection ,"abcd","1234", iMaximumQuality)
Warning!! the output pdf size will be very big (more than 3MB ) depend on your image
:cheers: |
| |
| |
| | | |
|
| | |
| |
| Publicado el 06,marzo 2016 - 17:12 |
| |
| |
| | | |
|
| | | | |
| | |
|