1. #1
    Sencha Premium Member
    Join Date
    Mar 2012
    Posts
    4
    Vote Rating
    0
    pfitzgerald is on a distinguished road

      0  

    Default Print or Email from Sencha App

    Print or Email from Sencha App


    Hello,

    Is there a good method of printing the current view or a given component and/or emailing an image or html of that view or component to someone? When I try to print from Safari, I just get a blank page.

    Thanks!

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,327
    Vote Rating
    850
    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


    Mobile devices don't usually have support for printing. Email you can open the email client and let the user type but you can't programmatically email someone on the device.
    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
    Ext JS Premium Member
    Join Date
    Nov 2009
    Location
    St Louis,MO
    Posts
    267
    Vote Rating
    18
    James Goddard will become famous soon enough James Goddard will become famous soon enough

      0  

    Default


    Quote Originally Posted by mitchellsimoens View Post
    Mobile devices don't usually have support for printing.
    My iPad, both my iPhones and my iPod touch all support printing.

  4. #4
    Sencha User
    Join Date
    Jul 2012
    Posts
    5
    Vote Rating
    0
    miklow is on a distinguished road

      0  

    Default Really need this to

    Really need this to


    i want to know if i can add an email button to take the current view or screenshot an email it

  5. #5
    Sencha Premium Member
    Join Date
    Mar 2012
    Posts
    4
    Vote Rating
    0
    pfitzgerald is on a distinguished road

      0  

    Default


    Yeah, at the moment we just decided to go with Jasper to create a PDF of the data we want by making calls to our REST service. It would still be great to be able to print "screenshots" from the app though.

  6. #6
    Sencha User
    Join Date
    Jul 2012
    Posts
    5
    Vote Rating
    0
    miklow is on a distinguished road

      0  

    Default How to i use jasper

    How to i use jasper


    I am planning to email the current screen of a touch chart...how do i use jasper in my code for that.