How to enable scan to computer Feature HP Color LaserJet Pro M478f-9f (2024)

  • Sign up
  • ·
  • Sign in
  • Sign up / Sign in
  • ×

    Information

    Windows update impacting certain printer icons and names. Microsoft is working on a solution.
    Click here to learn more

    Information

    Need Windows 11 help?

    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.

  • ×

    Information

    Windows update impacting certain printer icons and names. Microsoft is working on a solution.
    Click here to learn more

    Information

    Need Windows 11 help?

    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.

  • HP Community
  • Printers
  • Scanning, Faxing, and Copying
  • How to enable scan to computer Feature HP Color LaserJet Pro...

How to enable scan to computer Feature HP Color LaserJet Pro M478f-9f

Options

  • Mark Topic as New
  • Mark Topic as Read
  • Float this Topic for Current User
  • Bookmark
  • Subscribe
  • Mute
  • Printer Friendly Page

turn on suggested results

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

Search instead for

Did you mean:

Start a conversation

How to enable scan to computer Feature HP Color LaserJet Pro M478f-9f (3)

Guidelines

Note: From May 1, 2024, the HP Scan and Capture app will no longer be available (retired) in the Microsoft Store and HP will not release any further app updates. Alternatively, you can download HP Smart from the Microsoft Store. For more information on how to set up your printer using the HP Smart app, go to HP printer setup (HP Smart app).

How to enable scan to computer Feature HP Color LaserJet Pro M478f-9f (4)

Create an account on the HP Community to personalize your profile and ask a question

Your account also allows you to connect with HP support faster, access a personal dashboard to manage all of your devices in one place, view warranty information, case status and more.

Sign in / Create an account

Learn more

Sign in / Create an account / Learn more

Common problems HP Solution Center not working : Adobe Flash Player Error and Unable to scan

We would like to share some of the most frequently asked questions about HP Solution Center not working : Adobe Flash Player Error and Unable to Scan.

How to enable scan to computer Feature HP Color LaserJet Pro M478f-9f (5)

It has been a while since anyone has replied. Simply ask a new question if you would like to start the discussion again.

How to enable scan to computer Feature HP Color LaserJet Pro M478f-9f (6)

RR1307

10 0 0

6,968

Level 1

‎08-07-202002:08 AM

How to enable scan to computer Feature HP Color LaserJet Pro M478f-9f (7) HP Recommended

  • Mark as New
  • Bookmark
  • Subscribe
  • Permalink
  • Print
  • Flag Post

Product: HP Color LaserJet Pro M478f-9f

Hello team,

I have Hp Printer model :HP Color LaserJet Pro M478f-9f and tried to install via usb and network as well. While tried to scan document not able to scan showing error" Scan to computer feature is not enabled" Please find the attached screen shot. Please suggest how to enable scan to computer feature from web or physically. I tried to enable Hp software but option is not there.How to enable scan to computer Feature HP Color LaserJet Pro M478f-9f (8)

Tags (4)

  • Tags:
  • and click the printer name in the list of results. HP Printer Assistant opens. Click Scanner Actions
  • and then click Manage Scan to Computer. Click Enable to activate the scan to computer option.
  • HP Color LaserJet Pro M478f-9f
  • mentioned option not working Search Windows for your printer model name

View All (4)

5 people had the same question

I have the same question

5 REPLIES 5

How to enable scan to computer Feature HP Color LaserJet Pro M478f-9f (9)

How to enable scan to computer Feature HP Color LaserJet Pro M478f-9f (10)ShlomiL

34,722 14,330 5,778

6,855

Level 17

‎08-07-202008:51 AM - edited ‎08-10-202007:09 AM

How to enable scan to computer Feature HP Color LaserJet Pro M478f-9f (11) HP Recommended

  • Mark as New
  • Bookmark
  • Subscribe
  • Permalink
  • Print
  • Flag Post

Hi,

You would need to access the EWS page for your printer and enable the feature within the Administrator Settings section, the enable the feature on a Windows PC from the HP Printer Software.

Please see page 84 of its user guide:

http://h10032.www1.hp.com/ctg/Manual/c06320011

Shlomi

How to enable scan to computer Feature HP Color LaserJet Pro M478f-9f (12)How to enable scan to computer Feature HP Color LaserJet Pro M478f-9f (13)

Click the Yes button to reply that the response was helpful or to say thanks.
If my post resolve your problem please mark it as an Accepted Solution 🙂

3 people found this reply helpful

Was this reply helpful?YesNo

How to enable scan to computer Feature HP Color LaserJet Pro M478f-9f (14)

RR1307

Author

10 0 0

6,812

Level 1

‎08-09-202010:26 PM

How to enable scan to computer Feature HP Color LaserJet Pro M478f-9f (15) HP Recommended

  • Mark as New
  • Bookmark
  • Subscribe
  • Permalink
  • Print
  • Flag Post

Hi Shlomi, thank you for your reply.mentioned link is not working.showing page not found

Was this reply helpful?YesNo

How to enable scan to computer Feature HP Color LaserJet Pro M478f-9f (16)

How to enable scan to computer Feature HP Color LaserJet Pro M478f-9f (17)ShlomiL

34,722 14,330 5,778

6,803

Level 17

‎08-09-202010:37 PM

How to enable scan to computer Feature HP Color LaserJet Pro M478f-9f (18) HP Recommended

  • Mark as New
  • Bookmark
  • Subscribe
  • Permalink
  • Print
  • Flag Post

Sorry for that @RR1307, the link is now corrected.

Shlomi

How to enable scan to computer Feature HP Color LaserJet Pro M478f-9f (19)How to enable scan to computer Feature HP Color LaserJet Pro M478f-9f (20)

Click the Yes button to reply that the response was helpful or to say thanks.
If my post resolve your problem please mark it as an Accepted Solution 🙂

1 person found this reply helpful

Was this reply helpful?YesNo

How to enable scan to computer Feature HP Color LaserJet Pro M478f-9f (21)

RR1307

Author

10 0 0

6,752

Level 1

‎08-10-202006:56 AM

How to enable scan to computer Feature HP Color LaserJet Pro M478f-9f (22) HP Recommended

  • Mark as New
  • Bookmark
  • Subscribe
  • Permalink
  • Print
  • Flag Post

How to enable scan to computer Feature HP Color LaserJet Pro M478f-9f (23)

Please provide the correct link

Was this reply helpful?YesNo

How to enable scan to computer Feature HP Color LaserJet Pro M478f-9f (24)

How to enable scan to computer Feature HP Color LaserJet Pro M478f-9f (25)ShlomiL

34,722 14,330 5,778

6,745

Level 17

‎08-10-202007:10 AM

How to enable scan to computer Feature HP Color LaserJet Pro M478f-9f (26) HP Recommended

  • Mark as New
  • Bookmark
  • Subscribe
  • Permalink
  • Print
  • Flag Post

Sorry for that!

The text has been edit but the URL remain with the typo.

It should now work correctly.

Apologies.

How to enable scan to computer Feature HP Color LaserJet Pro M478f-9f (27)How to enable scan to computer Feature HP Color LaserJet Pro M478f-9f (28)

Click the Yes button to reply that the response was helpful or to say thanks.
If my post resolve your problem please mark it as an Accepted Solution 🙂

1 person found this reply helpful

Was this reply helpful?YesNo

How to enable scan to computer Feature HP Color LaserJet Pro M478f-9f (29)

Be alert for scammers posting fake support phone numbers and/or email addresses on the community.

If you think you have received a fake HP Support message, please report it to us by clicking on "Flag Post".

† The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.

How to enable scan to computer Feature HP Color LaserJet Pro M478f-9f (30)

  • English

    Open Menu
    • English

    • Español

    • Português

    • 中文

How to enable scan to computer Feature HP Color LaserJet Pro M478f-9f (31)

Didn't find what you were looking for? Ask the community

† The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the <a href="https://www8.hp.com/us/en/terms-of-use.html" class="udrlinesmall">Terms of Use</a> and <a href="/t5/custom/page/page-id/hp.rulespage" class="udrlinesmall"> Rules of Participation</a>.

"); } },500) }); })(LITHIUM.jQuery); var btn = $('.backToTopButton');$(window).scroll(function() { if ($(window).scrollTop() > 300) { btn.addClass('show'); } else { btn.removeClass('show'); }});btn.on('click', function(e) { e.preventDefault(); $('html, body').animate({scrollTop:0}, '300');}); (function($) { $(document).ready(function(){ $(window).scroll(function() { var s = $(".lia-top-quilt > .lia-quilt-row.lia-quilt-row-header:first-child"); var p = s.find(".lia-quilt-row-custom-header"); var top = s.offset().top; var scroll = $(window).scrollTop(); if (scroll >= 400) { $(".ask-common-wrap").addClass("footer-fixed"); } else { $(".ask-common-wrap").removeClass("footer-fixed"); } if ( scroll >= top ) { if (!(p.parent().hasClass("custom-header-background"))) { p.wrap("

"); } var backgroundDiv = p.parent(); var placeholderDiv = backgroundDiv.parent(); parentHeight = backgroundDiv.outerHeight(); placeholderDiv.css('min-height', parentHeight+'px'); backgroundDiv.addClass("stick"); } else { if(p.parent().hasClass("custom-header-background")) { p.unwrap(); } if(p.parent().hasClass("custom-header-placeholder")) { p.unwrap(); } } }); }); })(LITHIUM.jQuery);;(function($){// Workaround for survey - Part 2 function sleep(ms) { return new Promise(resolve => setTimeout(resolve, ms)); } async function surveyManualTrigger() { if (QSI.API) { await sleep(65000); QSI.API.run() } else {} } window.addEventListener("qsi_js_loaded", surveyManualTrigger, false);// Workaround for survey - Part 2 - END})(LITHIUM.jQuery);;function getParameterByName(name) { name = name.replace(/[\[]/, "\\[").replace(/[\]]/, "\\]"); var regex = new RegExp("[\\?&]" + name + "=([^]*)"), results = regex.exec(location.search); return results == null ? "" : decodeURIComponent(results[1].replace(/\+/g, " "));}(function($) {$("#markMessageAsAcceptedSolutionSecondaryButton").click(function(e){localStorage['accepted-solution-clicked'] = true;});var hpmmd=window.hpmmd||{type: 'Cleansheet Wash', page:{events:[]}, product:{},user:{},legacy:{},promo:{},search:{}};hpmmd.page.site = 'csf';hpmmd.page.name = 'ForumTopicPage'; hpmmd.page.section = 'Printers';hpmmd.page.subsection = 'Scanning, Faxing & Copying';hpmmd.page.content_id = ''; if (LITHIUM.CommunityJsonObject.WebTracking.Activities && LITHIUM.CommunityJsonObject.WebTracking.Activities.UserMessageEvent) { hpmmd.page.page_action = LITHIUM.CommunityJsonObject.WebTracking.Activities.UserMessageEvent.replace("tracking.message.","")+" "+'forum'; hpmmd.page.content_id = ''; } if(localStorage['accepted-solution-clicked']){ localStorage.removeItem("accepted-solution-clicked"); hpmmd.page.page_action = "accepted-solution " +'forum'; hpmmd.page.content_id = ''; } if(hpmmd.page.page_action=="new forum") { if(localStorage['post-from-board']) { hpmmd.page.page_action += " board_page"; } else { hpmmd.page.page_action += " thread_page"; } } if(getParameterByName("post-from-board")=="true") { localStorage["post-from-board"] = true } else if(localStorage['post-from-board']) { localStorage.removeItem("post-from-board"); }hpmmd.user.login = 'false'; if (LITHIUM.CommunityJsonObject.WebTracking.Activities.SearchTerm) { if (!hpmmd.search) {hpmmd.search = {}} hpmmd.search.keyword = LITHIUM.CommunityJsonObject.WebTracking.Activities.SearchTerm; } window.hpmmd = hpmmd;})(LITHIUM.jQuery); ;(function($){ console.log("Medallia Global Data Layer - Checking if we have Global data layer"); if (!window.hasOwnProperty('globalDataLayer')) { console.log("Medallia Global Data Layer - No Global data layer. Creating it"); window.globalDataLayer = {} } console.log("Medallia Global Data Layer - Adding language code: " + "en"); window.globalDataLayer.LanguageCode = "en"; window.globalDataLayer.popUpSurvey = true; window.globalDataLayer.isUserAnonymous = true; window.globalDataLayer.threadboardname = "Scanning-Faxing-Copying"; var startTime = new Date(); var surveyPollingTimeout = 60000; var interval = setInterval(function () { if (Math.abs(new Date() - startTime) > surveyPollingTimeout) { clearInterval(interval); } if ($("#nebula_div_btn").length) { clearInterval(interval); $('.alert-section ul').append('

  • Feedback
  • '); $('.alert-section-mobile ul').append('

  • Feedback
  • '); var feeedbackButtonText = $('.kampyle_button-text').text(); $('.opt-feedback-link').text(feeedbackButtonText); $('[id^=opt-custom-feedback]').on('click', function(){ $('#nebula_div_btn').trigger('click'); }); } }, 500);})(LITHIUM.jQuery);(function($) {/* Check the environment (STG vs PRO) to set the correct URL. The code will run both on Stage and Production */var url = "https://global-navbar-backend.id.hp.com/api/v1/session/sso_check";$.ajax({ type: 'GET', url: url, contentType: 'application/json', dataType: 'json', xhrFields: { withCredentials: true }, success: function(data) { /* If the call is successfull, have two scenarios: */ /* If the user is NOT logged in and the results from the API says that a valid session exists, redirect the user to the Khoros sign in plugin, which will take care of authenticating the user on the community automatically */ if(data.sessionIsValid) { // window.location="https://h30434.www3.hp.com/plugins/common/feature/oauth2sso_v2/sso_login_redirect?referer=https%3A%2F%2Fh30434.www3.hp.com%2Ft5%2FScanning-Faxing-Copying%2FHow-to-enable-scan-to-computer-Feature-HP-Color-LaserJet-Pro%2Ftd-p%2F7721564"; window.location= "/plugins/common/feature/oauth2sso_v2/sso_login_redirect?referer=https%3A%2F%2Fh30434.www3.hp.com%2Ft5%2FScanning-Faxing-Copying%2FHow-to-enable-scan-to-computer-Feature-HP-Color-LaserJet-Pro%2Ftd-p%2F7721564"; } }, error: function (jqXHR,textStatus,errorThrow) { /* If the call is not successfull, don't take any action. */ console.log("Single Sign-on | Error: " + errorThrow); } });})(LITHIUM.jQuery);(function () { window._uxa = window._uxa || []; try { if (typeof dataLayer !== 'undefined') { } } catch (e){} if (typeof CS_CONF === 'undefined') { window._uxa.push(['setPath',window.location.pathname+window.location.hash.replace('#','?__')]); var mt = document.createElement("script"); mt.type = "text/javascript"; mt.async = true; mt.src = "https://t.contentsquare.net/uxa/eee8c774-ec16-4fc4-a63b-ee91d06bc089.js"; document.getElementsByTagName("head")[0].appendChild(mt); } else { window._uxa.push(['trackPageview',window.location.pathname+window.location.hash.replace('#','?__')]); }})();LITHIUM.PartialRenderProxy({"limuirsComponentRenderedEvent":"LITHIUM:limuirsComponentRendered","relayEvent":"LITHIUM:partialRenderProxyRelay","listenerEvent":"LITHIUM:partialRenderProxy"});LITHIUM.AjaxSupport({"ajaxOptionsParam":{"event":"LITHIUM:partialRenderProxyRelay","parameters":{"javascript.ignore_combine_and_minify":"true"}},"tokenId":"ajax","elementSelector":document,"action":"partialRenderProxyRelay","feedbackSelector":false,"url":"https://h30434.www3.hp.com/t5/forums/v4/forumtopicpage.liabase.basebody.partialrenderproxy:partialrenderproxyrelay?t:ac=board-id/Scan/thread-id/231848","ajaxErrorEventName":"LITHIUM:ajaxError","token":""});LITHIUM.Auth.API_URL = "/t5/util/authcheckpage";LITHIUM.Auth.LOGIN_URL_TMPL = "/plugins/common/feature/oauth2sso_v2/sso_login_redirect?referer=https%3A%2F%2FREPLACE_TEXT";LITHIUM.Auth.KEEP_ALIVE_URL = "/t5/status/blankpage?keepalive";LITHIUM.Auth.KEEP_ALIVE_TIME = 300000;LITHIUM.Auth.CHECK_SESSION_TOKEN = '2UHFzSmdnmdY_-1';LITHIUM.AjaxSupport.useTickets = true;LITHIUM.Loader.runJsAttached();// -->

    '); } var cardWrapper = $('.hover-card-container'); var error = false; var thisUserID = ''; var cardTimer; allHoverCardTriggers.on({ mouseenter: function() { var thisEl = $(this); cardTimer = setTimeout(function(){ var docWidth = $(document).width(); var rightSide = false; //return user id var userLink = thisEl.attr('href'); if($('.ViewProfilePage').length && $('img.lia-user-avatar-profile',thisEl).length){ var userLink = document.location.href; } else if(thisEl.attr('href')=='#'){ return false; } var thisLen = (userLink).split('/'); thisUserID = (thisLen)[thisLen.length-1]; var thisCard = $('.profileCard[data-user='+thisUserID+']',cardWrapper); var thisElLeftOffset = Math.round(thisEl.offset().left+(thisEl.width())); var thisElTopOffset = Math.round(thisEl.offset().top+(thisEl.height()/2)-94); if((thisElLeftOffset+387)>=docWidth){ //hover card is too far to the right of the screen var thisElLeftOffset = Math.round(thisEl.offset().left-387); rightSide = true; } if(thisCard.length && $('.profileCard[data-user='+thisUserID+'] .preloader',cardWrapper).length<1){ $('.profileCard',cardWrapper).hide(); rightSide?thisCard.addClass('rightArrow'):thisCard.removeClass('rightArrow'); thisCard.delay(500).css({'top':thisElTopOffset,'left':thisElLeftOffset}).stop().show(); } else { var ajaxReturn = ''; //just in case thisCard.remove(); //hover card wrapper markup var rightArrowClass = rightSide?'rightArrow':''; var profileCardHtml = '

    How to enable scan to computer Feature HP Color LaserJet Pro M478f-9f (32)

    '; $.when( //get the background $.ajax({ type: 'GET', url: userApiUrl+thisUserID, dataType: 'html', success: function(data) { $('.profileCard',cardWrapper).hide(); ajaxReturn = data; } }) ) .done(function(){ cardWrapper.append(profileCardHtml); $('.profileCard[data-user='+thisUserID+']',cardWrapper).eq(0).empty().html(ajaxReturn).on({mouseleave: function() { clearTimeout(cardTimer); if($('.profileCard[data-user='+thisUserID+']',cardWrapper).length){ $('.profileCard[data-user='+thisUserID+']',cardWrapper).delay(500).fadeOut('fast'); } } }); if($('.profileCard[data-user='+thisUserID+'] .preloader',cardWrapper).length){ $('.profileCard[data-user='+thisUserID+'] .preloader',cardWrapper).parents('div.profileCard').remove(); } }) .fail(function(){ //uh oh - bail out! $('.profileCard',cardWrapper).hide(); }); } },400); }, mouseleave: function() { clearTimeout(cardTimer); if($('.profileCard[data-user='+thisUserID+']',cardWrapper).length){ $('.profileCard[data-user='+thisUserID+']',cardWrapper).delay(500).fadeOut('fast'); } } }); } } window.common = common; $(document).ready(function() { common.profileCard(); }); })(LITHIUM.jQuery);

    '); var dropdownTriggerAnchorId = actualElId+'_dd_headerLink'; var dropdownTabIndex = $('#'+actualElId).attr('tabindex'); var ariaLabel = $('#'+actualElId).attr('aria-labelledby'); var dropdownTriggerValueId = actualElId+'_dd_headerValue'; if(ariaLabel==null || ariaLabel==undefined){ ariaLabel = dropdownTriggerValueId; } else{ ariaLabel = ariaLabel + " "+ dropdownTriggerValueId; } if($('#'+actualElId).hasClass('disabled')) { dropdownContainer.addClass('disabled'); } var dropdownTrigger = $('

    '); if(typeof dropdownTabIndex == "undefined" || dropdownTabIndex == "" ){ var dropdownTriggerAnchor = $('

    '); } else{ var dropdownTriggerAnchor = $('

    '); } var dropdownTriggerValue = $('

    '); $(dropdownTriggerAnchor).append(dropdownTriggerValue); $(dropdownTrigger).append(dropdownTriggerAnchor) $(dropdownContainer).append(dropdownTrigger); var DropdownListId = actualElId+'_dd_list'; var DropdownList = $('

      '); $(dropdownContainer).append(DropdownList); //insert the custom container after the select tag dropdownContainer.insertAfter($('#'+actualElId)); //populate the list items populateDropdownList(actualElId, DropdownListId); //Populate the Dropdown Header Value valueReq = $('#'+actualElId).attr('valuereq') if(valueReq!=null && valueReq!="" ){ var valObtained = getParameterByName(valueReq)?getParameterByName(valueReq):getCCLC(valueReq); if(valObtained != null && valObtained != ''){ valObtained = valObtained.toLowerCase(); /*check if language dropdown and customize for cn-zh hk-zh or tw-zh */ if($(this).attr('valuereq')=="lc") { if( getCCLC("cc") == "cn" && valObtained == "zh"){ valObtained = "zh-hans"; // for china return chinese simplified } else if((getCCLC("cc") == "tw" || getCCLC("cc") == "hk") && valObtained == "zh"){ valObtained = "zh-hant"; // for taiwan and hongkong return chinese traditional } } } populateDropdownHeader(actualElId, valObtained); } else populateDropdownHeader(actualElId, "");};populateDropdownHeader = function(elId, val) {//set the dropdown Header Value to the first elem var firstVal = $($('#'+elId).children('option')[0]).html(); $('#'+elId+'_dd_headerValue').empty().append(firstVal); $('#'+elId+'_dd_headerValue').addClass('default'); //set the hidden dropdown value if(!$('#'+elId).children('option').eq(0).prop('disabled')) { $('#'+elId).val(0) } if(val!="" ) { var elem = ""; $('#'+elId+'_dd_list li.elem a span.value').each(function(){ if($(this).html()==val){ //set the dropdown Header Value to the found elem elem = $(this).parents('a').html() $('#'+elId+'_dd_headerValue').empty().append(elem); //set the hidden dropdown value $('#'+elId).val(val); } }); }};populateDropdownList = function(elId, listId) { $('#'+elId).children('option').each(function() { var listItem = $('

    • '); var listItemAnchor = $(''); var spanValue = $(''); var spanImgUrl = $(''); var spanSeoLabel = $(''); var spanRedirectUrl = $(''); var spanClazzType = $(''); var listData = $(this).html(); var dataValue = $(this).attr('value'); if( $(this).attr('hidden') ) { listItem.addClass('hide'); } $(listItemAnchor).append(listData); $(spanValue).append($(this).attr("value")); listItemAnchor.append(spanValue); if($(this).attr("imageurl")){ $(spanImgUrl).append($(this).attr("imageurl")); listItemAnchor.append(spanImgUrl); } if($(this).attr("seo-label")){ $(spanSeoLabel).append($(this).attr("seo-label")); listItemAnchor.append(spanSeoLabel); } if($(this).attr("redirectUrl")){ $(spanRedirectUrl).append($(this).attr("redirectUrl")); listItemAnchor.append(spanRedirectUrl); } if($(this).attr("clazzType")){ $(spanClazzType).append($(this).attr("clazzType")); listItemAnchor.append(spanClazzType); } $(listItem).append(listItemAnchor); $('#'+listId).append(listItem); });};attachClickHandler = function(elId) { $('#'+elId+'_dd').on('click', function(e){ e.stopPropagation(); if(!$(this).hasClass("disabled")) { $(this).toggleClass("open"); if($(this).hasClass("open")) { positionDropdown($(this).attr('id')); } } }); $(window).on("resize.customDropdown", function() { $(".open .dropdown-menu").each(function(){ positionDropdown($(this).parent().attr('id')); }); }); $(document).click(function (e) { e.stopPropagation(); if ($('#'+elId+'_dd').has(e.target).length === 0 && $('#'+elId+'_dd').hasClass('open')) { $('#'+elId+'_dd').removeClass("open"); } }); $('#'+elId+'_dd_list li').on('click', function(){ //set value in the hidden select tag //populate header value selValue = $(this).children('a').children('span.value').html(); $('#'+elId).val(selValue); populateDropdownHeader(elId, selValue); $('#'+elId).trigger('change'); //set focus to the main anchor tag $('#'+elId+'_dd_headerLink').focus(); });};positionDropdown = function(elId){ var diff = 0; var padding = 15; if( $("#"+elId).children(".dropdown-menu").outerWidth() >$("#"+elId).outerWidth() ) { diff = ($("#"+elId).outerWidth() - $("#"+elId).children(".dropdown-menu").outerWidth())/2; } $("#"+elId).children(".dropdown-menu").removeAttr("style"); overflowLeft = ($(window).width() - padding) - ( $("#"+elId).offset().left + diff + $("#"+elId).children(".dropdown-menu").outerWidth() ); overflowRight = ($("#"+elId).offset().left + diff - padding); if(overflowLeft < 0 && overflowRight < 0) { $("#"+elId).children(".dropdown-menu").css("max-width", "" + ($(window).width() - $("#"+elId).offset().left - padding ) + "px" ); diff = 0; } else if(overflowLeft < 0 ) { diff = diff + overflowLeft; } else if(overflowRight < 0) { diff = diff - overflowRight; } $("#"+elId).children(".dropdown-menu").css("left", diff + "px"); }attachKeyboardListeners = function(elId){ //keydown evets for esc/bcksp/tab $('#'+elId+'_dd').on('keydown', function(e) { if(e.keyCode == 8 || e.keyCode == 9 || e.keyCode == 27 ){ //if the user hits backspace, esc, or tab it should close the dropdown if($(this).hasClass('open')){ e.preventDefault(); e.stopPropagation();//to prevent popups from closing $(this).removeClass('open'); } } if(e.keyCode == 13 && !$(this).hasClass('open') ){ $(this).addClass('open') } }); //keypress events for typeahead $('#'+elId+'_dd').on('keypress', function(e) { if(e.keyCode != 37 || e.keyCode != 38 || e.keyCode != 39 || e.keyCode != 40){ key = String.fromCharCode(e.charCode != null ? e.charCode : e.keyCode); clearTimeout(timeOutResetLetters); timeOutResetLetters = setTimeout(function(){ letterPressed = []; },500); letterPressed.push(key); if(getTyped() == letterPressed.join('')){ setTyped(letterPressed.join('')); setCounter(getCounter()+1); } else{ setCounter(1); setTyped(letterPressed.join('')); } typeahead(letterPressed.join(''), this); } }); //To handle typeahed for more than once $('#'+elId+'_dd').on('blur', function(e) { setCounter(1); setTyped(''); }); $('#'+elId+'_dd ul > li').on('mouseover', function(e) { setTypeAhead(this); });};typeahead = function(what, elem){ var els = $('#'+$(elem).attr('id')+' .elem').filter(function(index) { return $(this).children('a').html().toLowerCase().search(what) == 0; }); var index = (typeAheadCounter - 1) % els.length; if(els && els.length > 0 && els[index] && els[index].childNodes[0]){ els[index].childNodes[0].focus(); }}setTypeAhead = function(el){ var hoveredEl = $(el); var hoveredChar = hoveredEl.children('a').html().toLowerCase().split('<')[0][0]; setTyped(hoveredChar); setCounter(0); /* var i = 1; //TODO: revisit for mouse hover logic var els = hoveredEl.parent().children('.elem').filter(function(index) { return $(this).children('a').html().toLowerCase().search(hoveredChar) == 0; }); while(i < els.length){ console.log(hoveredEl+' == '+els); if(hoveredEl == els[i-1]){ setCounter(i); console.log(hoveredChar+', '+i); } i+=1; } */ }var letterPressed = [];var timeOutResetLetters = null;var typeAheadCounter = 1;var typeAheadText = '';function setCounter(val) { typeAheadCounter = val;}function getCounter() { return typeAheadCounter;}function setTyped(val) { typeAheadText = val;}function getTyped() { return typeAheadText;}getSelectedData = function(opt,elID) { var elem = $('#'+elID+'_dd_headerValue'); if(opt=='value'){ return $(elem).children('span.value').html(); } if(opt=='imgurl'){ return $(elem).children('span.imgurl').html(); } if(opt=='seoLabel'){ return $(elem).children('span.seoLabel').html(); } if(opt=='redirectUrl'){ return $(elem).children('span.redirectUrl').html(); } if(opt=='clazzType'){ return $(elem).children('span.clazzType').html(); }}attachChangeListener = function(elId){ $('#'+elId).on('change',function(){ var currentValue = $(this).val(); populateDropdownHeader(elId, currentValue); if(($('#'+elId).hasClass('disabled') || $('#'+elId).prop('disabled')) && !$('#'+elId+'_dd').hasClass('disabled')) { $('#'+elId+'_dd').addClass('disabled'); } else if ((!$('#'+elId).hasClass('disabled') && !$('#'+elId).prop('disabled')) && $('#'+elId+'_dd').hasClass('disabled')) { $('#'+elId+'_dd').removeClass('disabled'); } });}$(document).ready(function() { $("body.PostPage select, body.EditPage select, body.ReplyPage select").addClass("hpStyleDropdown"); getHpStyleDropdown(); /* Workaround for jQuery 'trigger' not launching the event handler inside the closure (LITHIUM.MessageEditorForm.BoardChooser) */ var changeTriggered = false; $('body.PostPage #lia-board, body.ForumPage #sortthreads').on('change', function() { if(!changeTriggered) { changeTriggered = true; $(this)[0].dispatchEvent(new Event("change")); setTimeout(function(){ changeTriggered = false; },100) } }); $('body.PostPage #no-product, body.ReplyPage #no-product, body.EditPage #no-product').on('change', function() { $("#s-products").trigger("change"); });});

    • How to enable scan to computer Feature HP Color LaserJet Pro M478f-9f (2024)

      References

      Top Articles
      Latest Posts
      Article information

      Author: Terrell Hackett

      Last Updated:

      Views: 6319

      Rating: 4.1 / 5 (72 voted)

      Reviews: 95% of readers found this page helpful

      Author information

      Name: Terrell Hackett

      Birthday: 1992-03-17

      Address: Suite 453 459 Gibson Squares, East Adriane, AK 71925-5692

      Phone: +21811810803470

      Job: Chief Representative

      Hobby: Board games, Rock climbing, Ghost hunting, Origami, Kabaddi, Mushroom hunting, Gaming

      Introduction: My name is Terrell Hackett, I am a gleaming, brainy, courageous, helpful, healthy, cooperative, graceful person who loves writing and wants to share my knowledge and understanding with you.