Skip to Main Content

Oracle Forms

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!

Is there a way to get all printers out of the local pc and not just the default one?

Hi,
We are migrating an application from oracle forms 6i to 12c (12.2.1.4). On a screen we have a button with the WIN_API_DIALOG.SELECT_PRINTER statement where the user can choose the printers that he has configured on his PC. Is there a way to do the same in Forms 12c?
We have to installed:
Oracle Weblogic 12.2.1.4
Oracle Forms 12.2.1.4
Oracle Reports 12.2.1.3

I execute
CLIENT_WIN_API_ENVIRONMENT.Read_Registry
('HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows', 'Device', true);

This method works for default printer, Is there a way to get all printers out of the local pc and not just the default one?

Thanks,
Iker

Comments
Post Details
Added on Jun 11 2021
8 comments
583 views