Re: How Forms get Win default printer name?

From: <lyall_at_my-dejanews.com>
Date: Wed, 29 Jul 1998 13:34:24 GMT
Message-ID: <6pn8d0$gsm$1_at_nnrp1.dejanews.com>


In article <6oke7i$rba$1_at_tst.hk.super.net>,   "Tommy Yuen" <yuent_at_hk.super.net> wrote:
> Hi,
>
> I'm using Forms4.5 for Win95
>
> I can get the printer dialog box by the D2KWUTIL pll.
>
> But I don't know how to get the default printer name
> without calling the dialog box.
>
> Do anyone know?
>
> Please help
>
> Tommy Yuen
>
>

With the same pll you can use the WIN_API_ENVIRONMENT.READ_REGISTRY procedure to get the default printer name from the Win95 Registry. HTH Lyall

-----== Posted via Deja News, The Leader in Internet Discussion ==----- http://www.dejanews.com/rg_mkgrp.xp Create Your Own Free Member Forum Received on Wed Jul 29 1998 - 15:34:24 CEST

Original text of this message