none
How to Add a network Printer RRS feed

  • Question

  • Hi guys i have a question.

    İ'm trying to do a program that adds a new network printer to local pc but i couldn't found anyway to do that. Can you guys please help me?

    Tuesday, August 27, 2019 7:02 AM

Answers

  • You can see this old thread : How to add a printer
    • Marked as answer by Craedra Tuesday, August 27, 2019 7:14 AM
    • Unmarked as answer by Craedra Tuesday, August 27, 2019 7:17 AM
    • Marked as answer by Craedra Tuesday, August 27, 2019 8:20 AM
    Tuesday, August 27, 2019 7:11 AM
  • İ think this code is for adding printer to another pc. Can i add network printer to my own pc with this?

    See MSDN doc at AddPrinter function:

    "

    pName [in]

    A pointer to a null-terminated string that specifies the name of the server on which the printer should be installed. If this string is NULL, the printer is installed locally.

    "



    • Edited by Castorix31 Tuesday, August 27, 2019 7:40 AM
    • Marked as answer by Craedra Tuesday, August 27, 2019 8:20 AM
    Tuesday, August 27, 2019 7:40 AM

All replies

  • You can see this old thread : How to add a printer
    • Marked as answer by Craedra Tuesday, August 27, 2019 7:14 AM
    • Unmarked as answer by Craedra Tuesday, August 27, 2019 7:17 AM
    • Marked as answer by Craedra Tuesday, August 27, 2019 8:20 AM
    Tuesday, August 27, 2019 7:11 AM
  • İ think this code is for adding printer to another pc. Can i add network printer to my own pc with this?
    Tuesday, August 27, 2019 7:20 AM
  • İ think this code is for adding printer to another pc. Can i add network printer to my own pc with this?

    See MSDN doc at AddPrinter function:

    "

    pName [in]

    A pointer to a null-terminated string that specifies the name of the server on which the printer should be installed. If this string is NULL, the printer is installed locally.

    "



    • Edited by Castorix31 Tuesday, August 27, 2019 7:40 AM
    • Marked as answer by Craedra Tuesday, August 27, 2019 8:20 AM
    Tuesday, August 27, 2019 7:40 AM
  • i don't understand anything from this :(

    Do you have any example code?


    • Edited by Craedra Tuesday, August 27, 2019 7:56 AM
    Tuesday, August 27, 2019 7:56 AM