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!

Printing on mobile phones

Eslam_ElbyalySep 4 2022

Hi.
I am using APEX 22.1.4. I have a page that opens a new tab using apex.openInNewWindow() api when rendered with primary key item has a value, for example, after creating/updating a record. That's using the below code in the "Execute when page load" page attribute...
if ($v("P1_ID") !== ""){apex.navigation.openInNewWindow("f?p=&APP_ID.:7:&APP_SESSION."); }
The opened page has the below code in the "Execute when page load" page attribute...
window.print();
The opened page reference items in the calling page whose session state is "per disk", and it displays data to be printed. Everything works fine on laptops. But when I tried it on a mobile phone, the new tab opens successfully, but it does not get printed.
I am using a USB cable connected to an OTG connector connected to my mobile.
Printing works fine on my mobile. I can print a picture, document or a web page.
Does "window.print()" not work on mobile phones?

Comments
Post Details
Added on Sep 4 2022
8 comments
522 views