1. #1
    Sencha User
    Join Date
    Apr 2009
    Posts
    3
    Vote Rating
    0
    ccypert is on a distinguished road

      0  

    Default Ext.ux.Printer.print printing a blank page?

    Ext.ux.Printer.print printing a blank page?


    Hello, I am in the process of implementing the printer component Ext.ux.Printer.print, but have a bit of an issue. First I must say javascript (and EXT for that matter) is not my normal language so I’m sure I’m doing something boneheaded. I have created a grid with a print button. In the handler for the print button I call the Printer function. The problem is that the printed page is blank. I have 4 lines of data in my grid, but the printed page about “about:blank” as the only text on the page. Below is the code I have for the handler function in my button. I’ve played around with the code a bit, but I still cannot seem to get anything to print.
    handler: function(){
    Ext.ux.Printer.print(this.grid);
    },

    I have also included the proper lines in the header of the web page to load the correct javascripts.
    Thanks

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,541
    Vote Rating
    872
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    You may want to seek out the author and see if he/she will support the extension.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Sencha User
    Join Date
    Apr 2009
    Posts
    3
    Vote Rating
    0
    ccypert is on a distinguished road

      0  

    Default


    I did, but the author has not responded yet, was hoping someone here might have a few clues. It looks like he does respond, but takes a week or so to do.

Thread Participants: 1