Skip to Main Content

DevOps, CI/CD and Automation

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!

Printer page setup is not sync with report page setup

JAISON DEVASSYOct 26 2022

Hi experts,
Good day
I am using Oracle 6i and 10g 10.20.30 database.
I am using two printers in my application.
3 inch barcode printer and another printer to take A5 and A4 invoice.
My concern is while selecting and changing printer before printing, the printer margin takes the page setup of previously selected printer.
I am displaying preview first and send to print upon demand.
Kindly help me how to change printer margin to the default margin of the selected printer.
From the page setup dialogue box, i will choose right page setup. But after this, when I change printer, that setup is not working.
One print will come in wrong page setup first. After that again i want to set set the page setup. Later onwards, print will come in the right way.
Please help me how to solve this issue and handle this situation.
Thank you.

Comments

Joe Huang-Oracle
Answer
Hi, just want to make sure - did you install the ADF MObile Client extension yet? Please go to JDev-Help-Check for Updates-Official Oracle Extensions and Updates, and find Oracle ADF MObile Client Extension in the list. Check it, download it, and then restart JDev. Sounds like the extension was not installed, so it's not able to load any J2ME libraries.

If you have downloaded the extension already, please go to project properties-libraries and classpath, and then see if the sample app is referencing some third party libraries, for example something from RIM. If so, please double check the path to the library.

Once you installed the extension, you can also access the ADF Mobile Client developer guide - it contains all the documentation around what you need to install first. Please take a look and see what you need to install - at a minimum, you need to install BlackBerry JDE if you want to deploy to BlackBerry, and Windows Mobile Emulator if you want to test the app on Windows Mobile. Lastly, if you need to synchronize data, then you also need Oracle Database Lite MObile Server installation.

Thanks,

Joe Huang
Marked as Answer by 761579 · Sep 27 2020
761579
Thanks Joe, I figured it out that it is Net_rim_api.jar that is causing those errors, and added it to my project to resolve them.

Regards,
Prasad.
1 - 2

Post Details

Added on Oct 26 2022
1 comment
58 views