{"id":20579548,"url":"https://github.com/k186/multiple-print","last_synced_at":"2025-03-06T11:46:59.879Z","repository":{"id":90181940,"uuid":"84155932","full_name":"k186/multiple-print","owner":"k186","description":"print-html with multiple selector","archived":false,"fork":false,"pushed_at":"2017-03-07T05:13:39.000Z","size":52,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-16T22:26:00.531Z","etag":null,"topics":["html-print","jqprint","multiple","print"],"latest_commit_sha":null,"homepage":"http://k186studio.com/demos/printMutil/","language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/k186.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-03-07T04:49:07.000Z","updated_at":"2020-05-23T14:43:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"4ecf753b-06e1-41cd-a25c-b302e7797276","html_url":"https://github.com/k186/multiple-print","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k186%2Fmultiple-print","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k186%2Fmultiple-print/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k186%2Fmultiple-print/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k186%2Fmultiple-print/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/k186","download_url":"https://codeload.github.com/k186/multiple-print/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242206004,"owners_count":20089252,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["html-print","jqprint","multiple","print"],"created_at":"2024-11-16T06:17:21.385Z","updated_at":"2025-03-06T11:46:59.868Z","avatar_url":"https://github.com/k186.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"###multiple-print\nthis plugins depend on jqprint , i made some change for it ,and can print\nwith mutiple dom selector\n\n##[demo](http://k186studio.com/demos/printMutil)\n\n###how to use it \n\nadd print style with media='print'\n```html\n  \u003clink href=\"css/print.css\" rel=\"stylesheet\" media=\"print\"/\u003e\n```\nand your html\n```html\n\u003cdiv id=\"table1\"\u003e\n    \u003cdiv id=\"print1\" class=\"breakpage\"\u003e\n        \u003ctable\u003e\n            \u003cthead\u003e\n            \u003ctr\u003e\n                \u003cth\u003ehead\u003c/th\u003e\n                \u003cth\u003ehead\u003c/th\u003e\n                \u003cth\u003ehead\u003c/th\u003e\n            \u003c/tr\u003e\n            \u003c/thead\u003e\n            \u003ctbody\u003e\n            \u003ctr\u003e\n                \u003ctd\u003esomeText\u003c/td\u003e\n                \u003ctd\u003esomeText\u003c/td\u003e\n                \u003ctd\u003esomeText\u003c/td\u003e\n\n            \u003c/tr\u003e\n\n            \u003c/tbody\u003e\n        \u003c/table\u003e\n    \u003c/div\u003e\n\u003c/div\u003e\n\u003cdiv id=\"table2\" class=\"breakpage\"\u003e\n    \u003cdiv id=\"print2\"\u003e\n        \u003ctable\u003e\n            \u003cthead\u003e\n            \u003ctr\u003e\n                \u003cth\u003ehead\u003c/th\u003e\n                \u003cth\u003ehead\u003c/th\u003e\n                \u003cth\u003ehead\u003c/th\u003e\n            \u003c/tr\u003e\n            \u003c/thead\u003e\n            \u003ctbody\u003e\n            \u003ctr\u003e\n                \u003ctd\u003esomeText\u003c/td\u003e\n                \u003ctd\u003esomeText\u003c/td\u003e\n                \u003ctd\u003esomeText\u003c/td\u003e\n\n            \u003c/tr\u003e\n\n            \u003c/tbody\u003e\n        \u003c/table\u003e\n    \u003c/div\u003e\n\u003c/div\u003e\n```\n\nprint some dom with\n```javascript\n$('#print1').jqprint()\n\n//multiple-print\n$('#print1,#print2').jqprint()\n```\n\nforce page break css\n```css\n.breakpage {\n    page-break-after: always;\n}\n\n.breakpage:last-child {\n    page-break-after:avoid;\n}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fk186%2Fmultiple-print","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fk186%2Fmultiple-print","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fk186%2Fmultiple-print/lists"}