Page 1 of 1

Max. width RI_WPTR

Posted: Wed Nov 25, 2009 8:06 am
by DaSe
We purchased R&R ReportWorks Infinity v12.5 because we have print-problems at one of our customers^ site (R&R v10 in combination with Windows Server 2008).____One of the problems is their printernames our quite long, more than 40 characters.____I had hoped that in this version v12.5 it would be possible to pass longer printernames in the field RI_WPTR of the Control file, but in the document "Xbase V12 Developing Applications.pdf" I see the maximum width of the field RI_WPTR still is 40 characters.____Is this a limiting maximum or can I extend this width ?____Regards,__Danny

=> RE: Max. width RI_WPTR

Posted: Fri Nov 27, 2009 11:33 am
by FraserDet
Just have them change the name of the printer to a shorter name____Tom Freitas

=> RE: Max. width RI_WPTR

Posted: Mon Nov 30, 2009 11:47 am
by kfleming
I believe that the limit has been extended to 128 characters.____Kathleen__R&R Support

==> RE: Max. width RI_WPTR

Posted: Tue Dec 08, 2009 9:08 am
by DaSe
At our customers_ site we are sending a printername of 59 character via the _SetPrinter_-function to the Viewer-DLL.____Our customer gets via de GetErrorInfo-function an error with the error code "83" and error text _Invalid value width for RI_WPTR_.____It looks like the length of a printername is still limited to 40 characters,__or do I have to set other things to make longer printernames possible ?__

===> RE: Max. width RI_WPTR

Posted: Tue Dec 08, 2009 9:11 am
by kfleming
I thought that the length had been changed in the DLL but it may still be a problem. The alternative is to call the runtime executable with a control table instead since that does support longer printer names.____Kathleen__R&R Support