Hello,
I have a some issue after a upgrade to LL version 26.
then i try to use “ll.Core.LlSetPrinterInPrinterFile” with a printername the LL ignored the printer name and do nothing but then i try with a dialog and i select a printer it works fine(as seen in the else statement).
LL also return the printer do exist, then i use the printer as default it work too.
if (PrinterExists(printer))
{
ll.Core.LlSetPrinterInPrinterFile(LlProject.List, _templatefullpath, printername);
ll.Core.LlPrintWithBoxStart(LlProject.List, _templatefullpath, mode, LlBoxType.Normalwait, _parentform.Handle, infotxt);
}
else
{
ll.Core.LlPrintWithBoxStart(LlProject.List, _templatefullpathArbplads, mode, LlBoxType.Normalwait, _parentform.Handle, infotxt);
ll.Core.LlPrintOptionsDialog(_parentform.Handle, "Vælg printer");
}
Best regards,
Silas