# Re: 急问: 找回预设列表机?

Posted by Rose on August 24, 1998 at 10:47:37:

In Reply to: Re: 急问: 找回预设列表机? posted by cckannie on August 24, 1998 at 08:23:39:

: 只是想请教各位高手, 如何取出目前windows的预设列表机值而已.
我是这样取预设印表机的,你试试
Dim Length As Long
dim DefPrinter as string
Length = GetProfileString("windows", "device", "", DefPrinter, Len(DefPrinter))
DefPrinter = Left(DefPrinter, Length)

Follow Ups:

- Re: 急问: 找回预设列表机? cckannie 15:55:19 8/24/98 (1)
  - Re: 急问: 找回预设列表机? Rose 15:59:12 8/26/98 (0)