Max. width RI_WPTR

Meeting place for R&R customers and clients to share tips and ideas. Post your questions, messages or problems here.
Post Reply
DaSe
Posts: 23
Joined: Tue Oct 10, 2017 12:44 pm

Max. width RI_WPTR

Post by DaSe » Wed Nov 25, 2009 8:06 am

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

FraserDet
Posts: 0
Joined: Sun May 06, 2018 10:55 pm

=> RE: Max. width RI_WPTR

Post by FraserDet » Fri Nov 27, 2009 11:33 am

Just have them change the name of the printer to a shorter name____Tom Freitas

kfleming
Posts: 5795
Joined: Tue Oct 10, 2017 12:44 pm

=> RE: Max. width RI_WPTR

Post by kfleming » Mon Nov 30, 2009 11:47 am

I believe that the limit has been extended to 128 characters.____Kathleen__R&R Support

DaSe
Posts: 23
Joined: Tue Oct 10, 2017 12:44 pm

==> RE: Max. width RI_WPTR

Post by DaSe » Tue Dec 08, 2009 9:08 am

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 ?__

kfleming
Posts: 5795
Joined: Tue Oct 10, 2017 12:44 pm

===> RE: Max. width RI_WPTR

Post by kfleming » Tue Dec 08, 2009 9:11 am

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

Post Reply