Re: IP Port Network Printer



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
>>
>>
>>


.



Relevant Pages

  • Re: Waterproof paper for map printing
    ... Given that the inks themselves are water soluble, ... paper makes much of a difference, but that's what people are reporting. ...
    (rec.photo.digital)
  • Re: Printer servers - report usage
    ... Despite using HP printers for many years, I had not come across HP Web ... management solution and not so much a reporting software. ... printers I think the Web Jetadmin has some basic reporting features ...
    (microsoft.public.windows.server.general)
  • Re: Printer servers - report usage
    ... Despite using HP printers for many years, I had not come across HP Web ... management solution and not so much a reporting software. ... of a way to do this in Windows Server 2003 itself but if you have HP ... printers I think the Web Jetadmin has some basic reporting features ...
    (microsoft.public.windows.server.general)
  • Re: Memory fault - core dumped on SCO OpenServer
    ... > Are you calling the prints jobs with lp and no flags other than ... Bill, ... printers that are used by Windows Desktops as well as 2 Linux boxes. ... The other systems have not been reporting any errros. ...
    (comp.unix.sco.misc)
  • Re: Memory fault - core dumped on SCO OpenServer
    ... > Are you calling the prints jobs with lp and no flags other than ... Bill, ... printers that are used by Windows Desktops as well as 2 Linux boxes. ... The other systems have not been reporting any errros. ...
    (comp.unix.admin)

Loading