The documentation for this function states that the DEV & PORT character buffers should be sufficient be 20. This is too small for modern verbose printer set-ups (i.e. shared network printers). Using a buffer size of 20, the function was crashing on WIN 7-64 systems, increasing the buffer size to 256 eliminated this behaviour. On inspection the return DEV & PORT buffers contained information in excess of 40 characters.
select_printer@() - string size too small
20 Aug 2014 9:32
#14464
20 Aug 2014 12:19
#14466
Thank you for the information.
Please login to reply.