task: write a javascript that can combine the html content from multiple urls (angularjs routes) into a printable report.
how: change the location url of the page (this will not trigger a page change b/c app uses ui-routing). Copy the new contents of the page into a div #printContent. After all pages are visited, print the div #printContent.
why: Enable users to print content from multiple pages/urls.
workflow: In case the above was not clear. Here are the steps
- User presses ‘print report’
- Print Preview Dialog is shown
- Script navigates to #/route1
- wait for page to load
- delay 1 sec
- Script copies child-view html content (#pageContents) to print-preview-div
- Script navigates to #route2
- Script copies child-view html content to print-preview-div
- Script navigates to #/route3
- Script copies child-view html content to print-preview-div
- Script sends print-preview-div to printer
An example site is attached
I do not believe this is a challenging project, but phase 2 will add more functionality. Phase 2 will have more functionality such as page numbers, cover pages, and watermarks etc.
thanks for bidding
We are very interested in this project. I have read your above description and i think its well within our range to execute this is in a good time frame so would you be kind enough to message me so we can have a fast and understanding agreement.
Hello,
I am an American developer living in Japan.
I have taken a look over your requirements and can start working on it immediately.
There are a few questions about the exact implementation that you need.
Thanks,
Wyatt
Hello,
I understand your requirement and have experience to do this type of work. I assure you that we complete your product on time with quality. Please check your Private Message Box for more details.
Thank you,
Govind sharma
So you wanna print the state current into a HTML component; I worked some project with ui-router in angularJS for controlling the routes in the nodeJS application; so i think this task is possible with angularJS because it is easy to detect the current state
I am working working on angularJS since last 2 and half year, and i have also experience for printing with javascript. I have also worked with KendoUI.
I hope you would like to work with us sir.