1. #11
    Ext JS Premium Member
    Join Date
    Jan 2008
    Location
    España
    Posts
    215
    Vote Rating
    0
    vizcano is on a distinguished road

      0  

    Default


    Hi!

    I've setted the correct PATH in init.js (i've also tried with printer-friendly-array-grid.css), but I still have the same print archive. I send you a copy of it. I don't know what's wrong...
    Attached Files

  2. #12
    Ext JS Premium Member Steffen Hiller's Avatar
    Join Date
    Mar 2008
    Posts
    770
    Vote Rating
    28
    Steffen Hiller will become famous soon enough Steffen Hiller will become famous soon enough

      0  

    Default


    Quote Originally Posted by vizcano View Post
    Hi!

    I've setted the correct PATH in init.js (i've also tried with printer-friendly-array-grid.css), but I still have the same print archive. I send you a copy of it. I don't know what's wrong...
    Hmm ok, what browser are you using?

  3. #13
    Ext JS Premium Member
    Join Date
    Jan 2008
    Location
    España
    Posts
    215
    Vote Rating
    0
    vizcano is on a distinguished road

      0  

    Default


    This result is from Firefox 2.0.0.13, on IE 7 i get a screenshot, but I've seen it's not operative for IE so I've tried with FF

  4. #14
    Ext JS Premium Member Steffen Hiller's Avatar
    Join Date
    Mar 2008
    Posts
    770
    Vote Rating
    28
    Steffen Hiller will become famous soon enough Steffen Hiller will become famous soon enough

      0  

    Default


    Quote Originally Posted by vizcano View Post
    This result is from Firefox 2.0.0.13, on IE 7 i get a screenshot, but I've seen it's not operative for IE so I've tried with FF
    Ok, actually now I see in your pdf that your css file is not loaded probably. (Missing padding in the tbody part.) Please make sure that your PATH in the init.js is right! I think it's not :-)
    Can you post the line from your init.js?

    P.S. In IE7 is not working yet, that's right, I'm trying to release a new version today where it should work in IE7, too.

  5. #15
    Ext JS Premium Member
    Join Date
    Jan 2008
    Location
    España
    Posts
    215
    Vote Rating
    0
    vizcano is on a distinguished road

      0  

    Default


    I didn't know what was the correct css file so I tried with:
    Code:
    Ext.PRINTER_FRIENDLY_CSS_URL = 'resources/css/printer-friendly.css';
    and
    Code:
    Ext.PRINTER_FRIENDLY_CSS_URL = '../examples/grid/printer-friendly-array-grid.css';
    and it does not work, i had the same result in both. Thanks

  6. #16
    Ext JS Premium Member Steffen Hiller's Avatar
    Join Date
    Mar 2008
    Posts
    770
    Vote Rating
    28
    Steffen Hiller will become famous soon enough Steffen Hiller will become famous soon enough

      0  

    Default


    Ah ok,
    it should be printer-friendly.css, but
    Code:
    Ext.PRINTER_FRIENDLY_CSS_URL = 'resources/css/printer-friendly.css';
    looks not right.

    The printer-friendly.css is in the Ext.ux.PrinterFriendly extension folder. The path should be relativ from your printer-friendly-array-grid.html file, or try to set an absolut path.

  7. #17
    Ext JS Premium Member
    Join Date
    Jan 2008
    Location
    España
    Posts
    215
    Vote Rating
    0
    vizcano is on a distinguished road

      0  

    Default


    Ok, with the absolute path it works perfectly, thanks a lot

  8. #18
    Ext JS Premium Member
    Join Date
    Jan 2008
    Location
    España
    Posts
    215
    Vote Rating
    0
    vizcano is on a distinguished road

      0  

    Default


    Hi again!!

    I'd like to know if there is any way to avoid preview panel? Because I'd like to print directly when I press my buttom.

  9. #19
    Ext JS Premium Member Steffen Hiller's Avatar
    Join Date
    Mar 2008
    Posts
    770
    Vote Rating
    28
    Steffen Hiller will become famous soon enough Steffen Hiller will become famous soon enough

      0  

    Default


    Quote Originally Posted by vizcano View Post
    Hi again!!

    I'd like to know if there is any way to avoid preview panel? Because I'd like to print directly when I press my buttom.
    Hey vizcano, I think there is a way, but I haven't implemented that functionality yet. I was planning that feature for the 0.3 release, which should be out next week. I hope you can wait until then...
    P.S. This functionality is not so trival, that's why it needs a little testing/time.

  10. #20
    Ext JS Premium Member Steffen Hiller's Avatar
    Join Date
    Mar 2008
    Posts
    770
    Vote Rating
    28
    Steffen Hiller will become famous soon enough Steffen Hiller will become famous soon enough

      0  

    Default Update 0.2

    Update 0.2


    Just uploaded Version 0.2. Besides many internal improvements it's working for Safari, IE6 and IE7 now as expected.

Similar Threads

  1. PrinterFriendly issue : {column_name}
    By Cedric_K in forum Ext 3.x: Help & Discussion
    Replies: 0
    Last Post: 12 Oct 2010, 1:57 PM

Thread Participants: 76