When attempting to define a printer port in Windows to use the 'lpr' protocol (Win32_TCPIPPrinterPort.Protocol=2), an lpd queue name must be provided (Win32_TCPIPPrinterPort.Queue). Logically (rationally, realistically!) one would expect this element's MaxLen attribute value to be identical to that of the Win32_Printer.Name (or .DeviceId) element but, incredibly, it is not.
I must be able to define Windows printer ports with (lpd) queue names that are identical to their associated printer names which, in the Windows IT environment I must work with, are often longer than 32 characters. Can anyone provide the magic sauce? Thanks.
- Edited by Cryptonoetic 17 hours 46 minutes ago