Create Postscript printer port programetically. RRS feed

  • Question

  • Hi, I need to create Printer port(postscript) programetically to automate the installation. Port has below components -

    1. Port monitor dll
    2. UI dll
    3. Inf file (installer file)

    Can someone help me with automaing this installation with C++ code/VBs etc, which works in all versions of OS?

    Basically I want to automate below manual steps:

    PrintManagement->Ports->AddPort->New Port Type...-> Browse to .inf file->OK (copies mon and UI dlls based on monitor.inf)->New Port-> Provide name for the port

    Friday, December 14, 2012 8:35 AM