forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

select_printer@() - string size too small

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support
View previous topic :: View next topic  
Author Message
steveDoyle



Joined: 04 Sep 2009
Posts: 108
Location: Manchester

PostPosted: Wed Aug 20, 2014 10:32 am    Post subject: select_printer@() - string size too small Reply with quote

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
View user's profile Send private message
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 7924
Location: Salford, UK

PostPosted: Wed Aug 20, 2014 1:19 pm    Post subject: Reply with quote

Thank you for the information.
Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group