I figured the problem out by ripping out sections of my lua script until it worked. Basically, one of my registry searches for a printer name hit a match on my main dev computer. It didn't break for you because you did not have the same registry setting. These lines in my script:
Code:
strPrinterName = Registry.GetValue(HKEY_LOCAL_MACHINE, "SOFTWARE\\Produce Pro\\Client\\Sessions\\ppro", "Printer", false); if (strPrinterName ~= "") then strCommandLine = strCommandLine.." PROP_PRINTER="..strPrinterName; end
Leave a comment: