{"id":16791853,"url":"https://github.com/posabsolute/jquery-printpage-plugin","last_synced_at":"2025-04-07T11:11:19.892Z","repository":{"id":1256223,"uuid":"1194968","full_name":"posabsolute/jQuery-printPage-plugin","owner":"posabsolute","description":"A plugin that print any linked pages without loading a popup","archived":false,"fork":false,"pushed_at":"2018-05-08T08:28:08.000Z","size":83,"stargazers_count":227,"open_issues_count":13,"forks_count":156,"subscribers_count":16,"default_branch":"master","last_synced_at":"2025-03-31T10:07:06.022Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://www.position-absolute.com/articles/printing-web-pages-a-new-jquery-printing-plugin/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/posabsolute.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2010-12-24T05:29:48.000Z","updated_at":"2024-12-06T21:15:49.000Z","dependencies_parsed_at":"2022-08-16T12:45:28.470Z","dependency_job_id":null,"html_url":"https://github.com/posabsolute/jQuery-printPage-plugin","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/posabsolute%2FjQuery-printPage-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/posabsolute%2FjQuery-printPage-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/posabsolute%2FjQuery-printPage-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/posabsolute%2FjQuery-printPage-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/posabsolute","download_url":"https://codeload.github.com/posabsolute/jQuery-printPage-plugin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247640465,"owners_count":20971557,"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":[],"created_at":"2024-10-13T08:36:00.957Z","updated_at":"2025-04-07T11:11:19.864Z","avatar_url":"https://github.com/posabsolute.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"#jQuery printPage plugin\n\nPrint any page within your website without quitting your page.\n\nTypically you would create a special print template, open it in a popup and then call window.print().This plugin take the page you want to print, put it in an iframe and print it without the need of a popup\n\nAlso, because you still actually link to your popup, if some of your users have javascript disabled, they could still open the special template and print it.\n\nExample: http://www.position-absolute.com/creation/print/\n\n##Using it\n\n    $(\".btnPrint\").printPage()\n\n##Optional\nThere is some options available:\n###url: Overwrite the automatic url fetching in the href attribute\n###message: The text message displayed before the print page is loaded\n###attr (default: href) : change the default href attribute that is used to retrieve the print page URL.\n\n\n    $(\".btnPrint\").printPage({\n      url: \"/print/custompage/html\",\n      attr: \"href\",\n      message:\"Your document is being created\"\n    })\n\nTo be a little more specific, if you declare a url it will not look in the attribut and directly use this one.\n\n##Tested on:\nFirefox 3.6\nIE 7\u00268\nChrome latest\n\n** I use a data url background image and some CSS3 properties for the little warning box, you might want to have a look if you care about IE\n\n[![endorse](http://api.coderwall.com/posabsolute/endorsecount.png)](http://coderwall.com/posabsolute)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fposabsolute%2Fjquery-printpage-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fposabsolute%2Fjquery-printpage-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fposabsolute%2Fjquery-printpage-plugin/lists"}