How to monitor the port of a shared CUPS printer using Internet port

Discussion in 'Windows Vista Printing / Faxing / Scanning' started by Dileeps, Jul 30, 2013.

  1. Dileeps


    Jul 30, 2013
    Likes Received:
    How to monitor the port of a shared CUPS printer using Internet port.

    shared internet cups printers url may be like this

    I had modified this sample with
    MONITOR_INFO_2 mi2 = {0};

    mi2.pEnvironment = _T("Windows x64")

    I built the application and the in x64

    in InitializePrintMonitor
    const std::wstring pRegistryRootInner = _T("System\\CurrentControlSet\\Control\\Print\\Monitors\\Internet Port");

    How System\\CurrentControlSet\\Control\\Print\\Monitors\\Internet Port

    and the port

    Also I am getting the error for AddMonitor as 1805( unspecified environment)

    I add the registry key manually
    System\\CurrentControlSet\\Control\\Print\\Monitors\\Internet Port

    as DRIVER REG_SZ Printer.dll

    Still not able to monitoring
    In 32 bit XP I had seen that the dll is attached but not calling SPStartDocPort function
    for the Internet Port Monitor or the port

    But same Dll monitor Local port / Sample port for 32 bit Xp and calling SPStartDocPort

    Expecting a valuable reply,

    Thanks & Regards,
    Dileep S.
    Dileeps, Jul 30, 2013
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.