Re: How get default printer?
- From: Jerold Schulman <Jerry@xxxxxxxxxx>
- Date: Fri, 14 Oct 2005 11:45:31 -0400
On Fri, 14 Oct 2005 10:54:52 -0400, Rick Charnes <rickxyz--nospam.zyxcharnes@xxxxxxxxxxxxxxx> wrote:
>Where in the registry do I find the default Windows printer? Thanks
>much.
See tip 8415 » How can I set a user's default printer in a batch script?
and links in the 'Tips & Tricks' at http://www.jsifaq.com
"HKCU\Software\Microsoft\Windows NT\CurrentVersion\Windows"
Value Name is Device
This type REG_SZ value has a default string value of PrinterName,winspool,LPT1:.
When set for a network printer, the string value is \\ServerName\PrinterShare,Description,LPTn:.
The description is not important so the string value can be expressed as \\ServerName\PrinterShare,,LPTn:.
Jerold Schulman
Windows Server MVP
JSI, Inc.
http://www.jsiinc.com
http://www.jsifaq.com
.
- References:
- How get default printer?
- From: Rick Charnes
- How get default printer?
- Prev by Date: Re: What's a disk consistency check?
- Next by Date: Re: Why is my server stuck in a consistency check loop?
- Previous by thread: How get default printer?
- Next by thread: Re: What's a disk consistency check?
- Index(es):