Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How force background image to be printed on mobile devices web browsers?

Eslam_ElbyalySep 12 2022 — edited Sep 12 2022

Hi. I am on APEX 22.1.4.
I've a page that has the following code in "Inline CSS" attribute...
body{
/*print-color-adjust: exact !important ;*/
background-image: url('#APP_FILES#My Img.png') ;
background-repeat: no-repeat;
background-position: center;
background-size: 148mm 210mm; /*Printing on A5 paper.*/
content : url('#APP_FILES#My Img.png') ;
}
When printing on mobile phones(Tested on Android 11 and Chrome browser), the background image is not printed and event not displayed on the print preview dialog.
On desktop versions of chrome, there's an option to print background graphics, but I can not find it on Chrome's mobile version. Does it exist?
Whether it exists or not, it would be way better if I can force printing background graphics by code to spare user checking the "Background Graphics" option. Can this be done?

Comments
Post Details
Added on Sep 12 2022
0 comments
258 views