3 Replies Latest reply on Nov 9, 2014 10:26 PM by Kutir Mobility

    Unable to utilize the Printing API in Rho 4.1

    Ryan Collins

      I have upgraded to Rho 4.1 in attempts to utilize the new Printing API.  I have had zero success.  I have attempted both the JS samples and a rough Ruby implementation to connect to my Bluetooth printer. 

       

      I have added the "printing" extension to my build.yml.  I receive the following errors when attempting to call into the API...

       

      JS implementation:

      Error when calling "Rho.Printer.searchPrinters": TypeError: 'undefined' is not an object (evaluating 'Rho.Printer.searchPrinters')

       

      Ruby implementation:

      When attempting to call "Rho::Printer.searchPrinters": I receive "Error: uninitialized constant Rho::Printer".

       

      This project was actually created using 2.2.0 and upgraded to 4.1 just recently.  Any advice would be appreciated.

       

      Thanks!

      Ryan