Re: returning default printer name (full printer name) to a field in ORACLE FORMS(6i)

From: John Brown <johnbrown105_at_hotmail.com>
Date: 5 Aug 2002 13:39:47 -0700
Message-ID: <ee1f9e62.0208051239.17e55adf_at_posting.google.com>


yopcaw9_at_yahoo.com (Bill) wrote in message news:<759d14ad.0208040555.6c16d00e_at_posting.google.com>...
> Hi All
>
> I need to return the full name of the default printer to a field in ORACLE FORMS.
>
> My operating system is windows2000.
>

I remember once seeing a package that let you easily access Windows features from Forms, but I don't think it was a built-in. It may have been distributed with a book. Other than that, the simplest way is to use the ORA_FFI package to call the Win32 API function GetProfileString to read the devices key of the [windows] section in the WIN.INI file. Received on Mon Aug 05 2002 - 22:39:47 CEST

Original text of this message