Results 1 to 5 of 5

Thread: SnagIt virtual printer port such!...

Threaded View

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Apr 2009
    Posts
    22

    SnagIt virtual printer port such!...

    hi
    As the picture below snagit virtual printer port how add?

    printer folder virtual printer add
    Set WSHNetwork = WScript.CreateObject("WScript.Network")
    set shell = WScript.CreateObject( "WScript.Shell" )
    CompName = shell.ExpandEnvironmentStrings("%COMPUTERNAME%")
    Set objWMIService = GetObject("winmgmts:\\" & CompName & "\root\cimv2")
    Set objNewPort = objWMIService.Get("Win32_TCPIPPrinterPort").SpawnInstance_
    objNewPort.Name = "IP_10.0.0.199"
    objNewPort.Protocol = 1
    objNewPort.HostAddress = "10.0.0.199"
    objNewPort.PortNumber = "9100"
    objNewPort.SNMPEnabled = False
    objNewPort.Put_

    c:\windows\system32\RUNDLL32.exe PRINTUI.DLL,PrintUIEntry /if /b "NEW PRINTER" /f C:\ld045\OEMSETUP.INF /r "IP_10.0.0.199" /m "LANIER LD045 PCL 6"

    but methinks snagit not follow this path. How did SnagIt?

    purpose
    1.virtual printer add
    2.print the requested and virtual printer is sent jpg to save messages

    Waiting for your help in this regard....

    http://en.pdfforge.org/download I could not understand the code here there are missing files another example or what things we should also look at this code?

    thnks
    note:I do not know English (googletranslate)
    as far as I can tell...
    Attached Images Attached Images  

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width