Re: IP Port Network Printer
- From: "Jeff Gilbert" <jeff.gilbert@xxxxxxxxxxx>
- Date: Tue, 25 Oct 2005 10:03:09 -0400
Turn on reporting for the Win32_Printer class and look for PortName. SMS
expert has a printers script that creates a NOIDMIF file for inventorying
this also if you'd like that I can send it to you.
Jeff Gilbert, MOF Master
SMS Expert
"Bernard" <Bernard@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:1C188D95-07FE-4905-A987-99BF0F27573B@xxxxxxxxxxxxxxxx
> Yes, here is the two sections that we modified;
>
> [ SMS_Report (TRUE),
> SMS_Group_Name ("Printer Device"),
> SMS_Class_ID ("MICROSOFT|PRINTER_DEVICE|1.0") ]
>
> class Win32_Printer : SMS_Class_Template
> {
> [SMS_Report (TRUE) ]
> uint32 Attributes;
> [SMS_Report (TRUE) ]
> uint16 Availability;
> [SMS_Report (TRUE) ]
> uint32 AveragePagesPerMinute;
> [SMS_Report (TRUE) ]
> uint16 Capabilities[];
> [SMS_Report (TRUE) ]
> string CapabilityDescriptions[];
> [SMS_Report (TRUE) ]
> string Caption;
> [SMS_Report (TRUE) ]
> uint32 ConfigManagerErrorCode;
> [SMS_Report (TRUE) ]
> boolean ConfigManagerUserConfig;
> [SMS_Report (TRUE) ]
> uint32 DefaultPriority;
> [SMS_Report (TRUE) ]
> string Description;
> [SMS_Report (TRUE) ]
> uint16 DetectedErrorState;
> [SMS_Report (TRUE), key]
> string DeviceID;
> [SMS_Report (TRUE) ]
> string DriverName;
> [SMS_Report (TRUE) ]
> boolean ErrorCleared;
> [SMS_Report (TRUE) ]
> string ErrorDescription;
> [SMS_Report (TRUE) ]
> uint32 HorizontalResolution;
> [SMS_Report (TRUE) ]
> datetime InstallDate;
> [SMS_Report (TRUE) ]
> uint32 JobCountSinceLastReset;
> [SMS_Report (TRUE) ]
> uint16 LanguagesSupported[];
> [SMS_Report (TRUE) ]
> uint32 LastErrorCode;
> [SMS_Report (TRUE) ]
> string Location;
> [SMS_Report (TRUE) ]
> string Name;
> [SMS_Report (TRUE) ]
> uint16 PaperSizesSupported[];
> [SMS_Report (TRUE) ]
> string PNPDeviceID;
> [SMS_Report (TRUE) ]
> string PortName;
> [SMS_Report (TRUE) ]
> uint16 PowerManagementCapabilities[];
> [SMS_Report (TRUE) ]
> boolean PowerManagementSupported;
> [SMS_Report (TRUE) ]
> string PrinterPaperNames[];
> [SMS_Report (TRUE) ]
> uint32 PrinterState;
> [SMS_Report (TRUE) ]
> uint16 PrinterStatus;
> [SMS_Report (TRUE) ]
> string PrintJobDataType;
> [SMS_Report (TRUE) ]
> string PrintProcessor;
> [SMS_Report (TRUE) ]
> string SeparatorFile;
> [SMS_Report (TRUE) ]
> string ServerName;
> [SMS_Report (TRUE) ]
> string ShareName;
> [SMS_Report (TRUE) ]
> boolean SpoolEnabled;
> [SMS_Report (TRUE) ]
> datetime StartTime;
> [SMS_Report (TRUE) ]
> string Status;
> [SMS_Report (TRUE) ]
> uint16 StatusInfo;
> [SMS_Report (TRUE) ]
> string SystemName;
> [SMS_Report (TRUE) ]
> datetime TimeOfLastReset;
> [SMS_Report (TRUE) ]
> datetime UntilTime;
> [SMS_Report (TRUE) ]
> uint32 VerticalResolution;
> };
>
>
>
> [ SMS_Report (TRUE),
> SMS_Group_Name ("Printer Configuration"),
> SMS_Class_ID ("MICROSOFT|PRINTER_CONFIGURATION|1.0") ]
>
> class Win32_PrinterConfiguration : SMS_Class_Template
> {
> [SMS_Report (TRUE) ]
> uint32 BitsPerPel;
> [SMS_Report (TRUE) ]
> string Caption;
> [SMS_Report (TRUE) ]
> boolean Collate;
> [SMS_Report (TRUE) ]
> uint32 Color;
> [SMS_Report (TRUE) ]
> uint32 Copies;
> [SMS_Report (TRUE) ]
> string Description;
> [SMS_Report (TRUE) ]
> string DeviceName;
> [SMS_Report (TRUE) ]
> uint32 DisplayFlags;
> [SMS_Report (TRUE) ]
> uint32 DisplayFrequency;
> [SMS_Report (TRUE) ]
> uint32 DitherType;
> [SMS_Report (TRUE) ]
> uint32 DriverVersion;
> [SMS_Report (TRUE) ]
> boolean Duplex;
> [SMS_Report (TRUE) ]
> string FormName;
> [SMS_Report (TRUE) ]
> uint32 HorizontalResolution;
> [SMS_Report (TRUE) ]
> uint32 ICMIntent;
> [SMS_Report (TRUE) ]
> uint32 ICMMethod;
> [SMS_Report (TRUE) ]
> uint32 LogPixels;
> [SMS_Report (TRUE) ]
> uint32 MediaType;
> [SMS_Report (TRUE), key]
> string Name;
> [SMS_Report (TRUE) ]
> uint32 Orientation;
> [SMS_Report (TRUE) ]
> uint32 PaperLength;
> [SMS_Report (TRUE) ]
> string PaperSize;
> [SMS_Report (TRUE) ]
> uint32 PaperWidth;
> [SMS_Report (TRUE) ]
> uint32 PelsHeight;
> [SMS_Report (TRUE) ]
> uint32 PelsWidth;
> [SMS_Report (TRUE) ]
> uint32 PrintQuality;
> [SMS_Report (TRUE) ]
> uint32 Scale;
> [SMS_Report (TRUE) ]
> string SettingID;
> [SMS_Report (TRUE) ]
> uint32 SpecificationVersion;
> [SMS_Report (TRUE) ]
> uint32 TTOption;
> [SMS_Report (TRUE) ]
> uint32 VerticalResolution;
> [SMS_Report (TRUE) ]
> uint32 XResolution;
> [SMS_Report (TRUE) ]
> uint32 YResolution;
> };
>
>
>
>
> "Jeff Gilbert" wrote:
>
>> can you post your mof modification?
>>
>> "Bernard" <Bernard@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
>> news:41EA8A38-2BB5-4CC0-BB54-5BA7A3387FC9@xxxxxxxxxxxxxxxx
>> > Hello,
>> >
>> > I have modified the sms_def.mof file so we can report data from local
>> > printer on desktop and servers. but the network printers (\\) are not
>> > reported. How do we apply a filter so we can see these printers in
>> > Ressource
>> > Explorer?
>> >
>> > Thank's
>> >
>> > Berny
>>
>>
>>
.
- Follow-Ups:
- Re: IP Port Network Printer
- From: Bernard
- Re: IP Port Network Printer
- From: diego
- Re: IP Port Network Printer
- References:
- Re: IP Port Network Printer
- From: Jeff Gilbert
- Re: IP Port Network Printer
- From: Bernard
- Re: IP Port Network Printer
- Prev by Date: Symantec Antivirus Update
- Next by Date: Extending hardware information using MIF files
- Previous by thread: Re: IP Port Network Printer
- Next by thread: Re: IP Port Network Printer
- Index(es):
Relevant Pages
|
Loading