Title: hp webjet admin link

This is an excerpt from an email I received from another member...all credit goes to the author: Jeff Cook.

 

 

If you have the MAC address stored in the info line 2 field.  Then just insert the following code where ever you want it.  Make sure you change the server name in the link.  This works because Web Jet Admin uses the MAC address for the device ID's.  The printer needs to already be added to Web Jet Admin for this to work.  A good place for the link is on the device details page. 

 

 

  <%IF% %MATCH% (%DEVICE% HOST_TYPE, Printer)>

    <%IFNOT% %IS_STRING_EMPTY% %DEVICE% INFO_LINE_2>

      <a href= "" href="http://webjetadmin:8000/plugins/hpjwja/script/device_status.hts?&daoinfo=%3c%25">http://webjetadmin:8000/plugins/hpjwja/script/device_status.hts?&daoinfo=<%

DEVICE% INFO_LINE_2>,1">HP Web Jet Admin - Device Status</a><br>

    <%ENDIF%>

  <%ENDIF%>

 

 

I put this midway down on my devicedetails.asp page (after creating a backup, of course.)

 

If, you are using the Berkarts icons, change the "HOST_TYPE, Printer" to "HOST_TYPE, HP Printer"...or do as I did and just copy and past the entire section and change the HOST_TYPE.  That way both types of printers can use this little gem.

 

Jeff

-----Original Message-----
From: Anthony Valuikas [mailto:[EMAIL PROTECTED]
Sent:
Thursday, October 02, 2003 11:04 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: RE: [WhatsUp Forum] hp webjet admin link

 

So what does the code look like??

 

:>

 

 

Tv

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Harig, Jeff R Mr VERIDIAN
Sent:
Thursday, October 02, 2003 9:14 AM
To: '[EMAIL PROTECTED]'
Subject: RE: [WhatsUp Forum] hp webjet admin link

My apologies to the forum...I found my mistake.  I started using the Berkarts icons and they use a printer type of 'HP Printer' instead of the default 'Printer' when I found the asp code in devicedetails.asp for that link, I made the change and fixed my problem.

 

Jeff

-----Original Message-----
From: Harig, Jeff R Mr VERIDIAN [mailto:[EMAIL PROTECTED]
Sent:
Thursday, October 02, 2003 9:43 AM
To: '[EMAIL PROTECTED]'
Subject: [WhatsUp Forum] hp webjet admin link

 

I had the details page set up that someone sent out about a year ago which allows you to put in the MAC address for a printer in the Info2 line and you would get a link to the printer's info page on your WebJet Admin server.  Somehow I've either lost it with an upgrade to WUG, or accidentally modified it out.  Since my search in the archives failed...I'm hoping someone out there has that asp code to get it back.

 

Thanks in advance,

jeff

Reply via email to