Share via

Error 0x00000709

Anonymous
2016-03-08T08:22:56+00:00

Hello everyone,

Here is my issue : I have to make compatible a script on Windows 7 x64 (script ok on Windows 7 x86).

This script create some virtual printers on computer, to redirect flux on printer, which connected by USB on computer.

When I am executing script, I have error 0x00000709.

Here's a part of my code in NSIS :

Section "VirtualPrinters" SEC01

    ${EnableX64FSRedirection}

    SetOutPath "$TEMP\drivers_hp_platine_64"

    SetOverwrite ifnewer

    File /r /x "thumbs.db" "drivers_hp_platine_64\*"

    StrCmp ${PCL_VERSION} 5 HPIIIP_PCL5 HPIIIP_PCL6

    HPIIIP_PCL5:

    ExecWait 'rundll32 printui.dll,PrintUIEntry /if /b "HP IIIP" /f "$TEMP\drivers_hp_platine_64\prnhp001.Inf" /r "lpt1:" /m "HP LaserJet IIIP" /Z /u /Y /q' $0

    Goto HPIIIP_PCL_END

    HPIIIP_PCL6:

    ExecWait 'rundll32 printui.dll,PrintUIEntry /if /b "HP IIIP" /f "$TEMP\drivers_hp_platine_64\prnhp001.Inf" /r "lpt1:" /m "HP Color LaserJet 5500 PCL 6" /Z /u /Y /q' $0

    Goto HPIIIP_PCL_END

    HPIIIP_PCL_END:      

    DetailPrint "Installation de l'imprimante HP IIIP $0"

    ${LogText} "Installation de l'imprimante HP IIIP $0"

    ${EnableX64FSRedirection}

    ExecWait 'rundll32 printui.dll,PrintUIEntry /Xs /n "HP IIIP" sharename "HPIIIP"' $0    

    DetailPrint "Définition du partage de l'imprimante HP IIIP $0"

    ${LogText} "Définition du partage de l'imprimante HP IIIP $0"

    ${EnableX64FSRedirection}

    ExecWait 'rundll32 printui.dll,PrintUIEntry /y /n "HP IIIP"' $0    

    DetailPrint "Imprimante par défaut : HP IIIP $0"

    ${LogText} "Imprimante par défaut : HP IIIP $0"

I've already changed pilot for x64, and the code is just the same as x86's version.

I had searched several times, but nothing about my situation really.

So, I ask you finally.

Thanks by advance for contribution and answers

Windows for home | Previous Windows versions | Devices and drivers

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

Anonymous
2016-03-09T05:03:49+00:00

Hi Noel,

Thank you for posting your query in Microsoft Community.

However, your question is beyond the scope of what is typically answered in this consumer forum and would be better suited for the IT Pro audience in MSDN.

Please post your question in the MSDN Forums.

Was this answer helpful?

0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Anonymous
    2016-03-09T07:43:55+00:00

    Hi Niranjan,

    Thanks for advising, I'm posting my question in the MSDN Forum, linking at :

    https://social.msdn.microsoft.com/Forums/en-US/6af9e10f-4947-4001-8dd0-bf8a7adf9933/error-0x00000709?forum=wdk

    Have a good day.

    Regards,

    Emmanuelle Fournier ("valsedenoel" is my pseudonym)

    Was this answer helpful?

    0 comments No comments