Re: Printer Admin Object
From: Sofia Engvall (ask_at_ask.ask)
Date: 02/04/05
- Next message: Torgeir Bakken \(MVP\): "Re: Custom buttons in MsgBox"
- Previous message: Torgeir Bakken \(MVP\): "Re: Enumerate current user in guest group"
- In reply to: Torgeir Bakken \(MVP\): "Re: Printer Admin Object"
- Next in thread: Torgeir Bakken \(MVP\): "Re: Printer Admin Object"
- Reply: Torgeir Bakken \(MVP\): "Re: Printer Admin Object"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 4 Feb 2005 11:56:20 +0100
Hi Torgeir! :)
Thanks but what I'm looking for is info on the printer admin object on the
(ms) webb. When I last used it I don't think 2003 existed yet. Maybe I got
it from the 2k reskit.
Maybe they've taken the info offline. I'll check if I find what I'm looking
for in the .doc.
Thanks! :)
/Sofia
"Torgeir Bakken (MVP)" <Torgeir.Bakken-spam@hydro.com> wrote in message
news:e8I2Mb6BFHA.3096@TK2MSFTNGP14.phx.gbl...
> Sofia Engvall wrote:
>
>> Hi all! :)
>>
>> I seem to have lost my link to the Printer Admin Object information on ms
>> webb and can't find it again. Anybody that happens to have it?
> Hi
>
> Prnadmin.dll in the MS Windows 2003 Server Resource Kit
> (can be used for Windows 2000 as well).
>
> Windows Server 2003 Resource Kit Tools
> http://www.microsoft.com/downloads/details.aspx?FamilyID=9d467a69-57ff-4ae7-96ee-b18c4790cffd&DisplayLang=en
>
> (The kit will install on WinXP or later, but you can copy needed
> files over to a Win2k computer, and then run regsvr32.exe against
> prnadmin.dll)
>
> More about PrnAdmin (from the RK help file):
>
> Printer Administration Objects (PrnAdmin) is a COM-based tool that
> provides large-scale, noninteractive control of printers, drivers,
> and ports on local and remote computers.
>
> Using PrnAdmin, you can:
>
> Add and delete a local or remote printer.
> Add and delete printer connections.
> Add and delete a local or remote form.
> Add and delete a local or remote standard TCP/IP port (of type
> Line Printer Remote (LPR) or RAW).
> Add and delete a local or remote driver.
> View a list of printers, ports, drivers, and forms on a local or
> remote computer.
> Control and configure a local or remote printer.
>
> PrnAdmin consists of several scriptable COM objects residing in
> Prnadmin.dll, which functions as a wrapper around Printui.dll.
> Several Microsoft Visual Basic Script (VBScript) sample files are
> included with the tool.
>
> Note
>
> For more detailed information on how to use PrnAdmin.DLL, see
> Prnadmin.doc. This white paper provides additional information on
> printer, drivers, ports and forms to help administrators and
> programmers manage a large number of local and remote printers.
>
> Corresponding Operating System Features
>
> All the functionality of prnadmin.dll can be duplicated using the
> printers folder and various wizards. Converting printer ports from
> LPR to Standard TCP/IP is the only functionality in prnadmin.dll
> for which there is no corresponding GUI.
>
> For more information about PrnAdmin and the Windows Management
> Instrumentation (WMI) scripts in Windows Server 2003, see
> Designing and Deploying Print
> Servers(http://go.microsoft.com/fwlink/?LinkID=4745) in the
> Windows Server 2003 Deployment Kit.
>
>
> System Requirements
>
> The following are the system requirements for this tool:
>
> Windows 2000 or Windows Server 2003 operating systems.
>
>
> Files Required
>
> Prnadmin.dll
> Prnadmin.doc
>
> The following sample VBScript files are also required:
>
> Clean.vbs
> Clone.vbs (there is no WMI equivalent for the cloning script)
> Conall.vbs
> Defprn.vbs
> Drvmgr.vbs
> Forms.vbs
> Persist.vbs
> Portconv.vbs
> Portmgr.vbs
> Prncfg.vbs
> Prnctrl.vbs
> Prndata.vbs
> Prnmgr.vbs
>
>
>
>
> --
> torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway
> Administration scripting examples and an ONLINE version of
> the 1328 page Scripting Guide:
> http://www.microsoft.com/technet/scriptcenter/default.mspx
- Next message: Torgeir Bakken \(MVP\): "Re: Custom buttons in MsgBox"
- Previous message: Torgeir Bakken \(MVP\): "Re: Enumerate current user in guest group"
- In reply to: Torgeir Bakken \(MVP\): "Re: Printer Admin Object"
- Next in thread: Torgeir Bakken \(MVP\): "Re: Printer Admin Object"
- Reply: Torgeir Bakken \(MVP\): "Re: Printer Admin Object"
- Messages sorted by: [ date ] [ thread ]