aliasneo86 Posted November 7, 2008 Share Posted November 7, 2008 I have a form with charts and i wana print the charts that is selected by the check box how can I do it ?? so far I have nothing. I can get charts in divs how can I print the div that is selected by the check box ??? i have attached the pic of the page thanks in advance [attachment deleted by admin] Quote Link to comment Share on other sites More sharing options...
webster08 Posted November 7, 2008 Share Posted November 7, 2008 i would just display the image of the chart; based on the radio button selection in the div and set-up you print css as needed. Quote Link to comment Share on other sites More sharing options...
aliasneo86 Posted November 7, 2008 Author Share Posted November 7, 2008 I dont get it can you show me an example thnx for the reply Quote Link to comment Share on other sites More sharing options...
webster08 Posted November 8, 2008 Share Posted November 8, 2008 i will not write a script for you; you make a valuate effort at a script of your own and i may help you with it. all you would have to do is embed an image with a empty src, in your page/div or where ever and change the src based on the radio button selection and set-up your print css to display only the chart's image. Quote Link to comment Share on other sites More sharing options...
xtopolis Posted November 8, 2008 Share Posted November 8, 2008 Why not have them click on the chart they want, open it in it's own window as just the image, and have them print it? Quote Link to comment Share on other sites More sharing options...
aliasneo86 Posted November 8, 2008 Author Share Posted November 8, 2008 i got a new way i can get unwonted things out now and get what i need prnted just need to get it fit to page <STYLE type="text/css"> @media print { .noprint { display: none ; } .page { size: 8.5in 11in; page: 8.5in 11in; size:portrait; } } </STYLE> from this .. any suggetions??? Quote Link to comment Share on other sites More sharing options...
webster08 Posted November 8, 2008 Share Posted November 8, 2008 "size" and "page" are not css declarations; but width and height are. try doing a little research on css; that will help you out allot. Quote Link to comment Share on other sites More sharing options...
aliasneo86 Posted November 8, 2008 Author Share Posted November 8, 2008 nope guys i got the css and JS combined and did it one things missing i cant make the printer page to be landscape by default.. Thnx for your help if u have any thing on the landscape issue plz tell me cheers Quote Link to comment Share on other sites More sharing options...
947740 Posted November 10, 2008 Share Posted November 10, 2008 I do not believe you can do that. That is a setting on the user's side when they go to print it. I hate to be picky, but could you at least use punctuation and things of that nature so it is half-way easy to comprehend what you are saying? Thanks. Quote Link to comment Share on other sites More sharing options...
aliasneo86 Posted November 11, 2008 Author Share Posted November 11, 2008 i hate picky ones thnx Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.