View previous topic :: View next topic |
Author |
Message |
steveDoyle
Joined: 04 Sep 2009 Posts: 108 Location: Manchester
|
Posted: Wed Aug 20, 2014 10:32 am Post subject: select_printer@() - string size too small |
|
|
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. |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7924 Location: Salford, UK
|
Posted: Wed Aug 20, 2014 1:19 pm Post subject: |
|
|
Thank you for the information. |
|
Back to top |
|
|
|