{"id":49580670,"url":"https://github.com/lazycodedoggy/autoprintmodechoiceapp","last_synced_at":"2026-05-03T19:09:30.437Z","repository":{"id":240405004,"uuid":"802533170","full_name":"lazycodedoggy/AutoPrintModeChoiceApp","owner":"lazycodedoggy","description":"The App is designed for large-scale report printing, optimizing the process by autonomously selecting the printer’s mode. It ensures color mode is used only when necessary, performing color printing solely on pages with color elements like charts or highlighted text, thereby reducing ink usage and costs.","archived":false,"fork":false,"pushed_at":"2024-06-08T06:51:01.000Z","size":33,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-06-08T14:19:04.186Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lazycodedoggy.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":"2024-05-18T15:03:50.000Z","updated_at":"2024-06-08T02:55:34.000Z","dependencies_parsed_at":"2024-06-07T14:17:50.550Z","dependency_job_id":null,"html_url":"https://github.com/lazycodedoggy/AutoPrintModeChoiceApp","commit_stats":null,"previous_names":["lazycodedoggy/autoprintmodechoiceapp"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lazycodedoggy/AutoPrintModeChoiceApp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lazycodedoggy%2FAutoPrintModeChoiceApp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lazycodedoggy%2FAutoPrintModeChoiceApp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lazycodedoggy%2FAutoPrintModeChoiceApp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lazycodedoggy%2FAutoPrintModeChoiceApp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lazycodedoggy","download_url":"https://codeload.github.com/lazycodedoggy/AutoPrintModeChoiceApp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lazycodedoggy%2FAutoPrintModeChoiceApp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32581168,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T06:36:36.687Z","status":"ssl_error","status_checked_at":"2026-05-03T06:36:09.306Z","response_time":103,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":"2026-05-03T19:09:29.490Z","updated_at":"2026-05-03T19:09:30.428Z","avatar_url":"https://github.com/lazycodedoggy.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"![](https://img.shields.io/badge/language-java-orange.svg)\n![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)\n\u003cimg src=\"https://img.shields.io/github/last-commit/lazycodedoggy/AutoPrintModeChoiceApp\" alt=\"last-commit\" /\u003e\n\n# Background\nAutoPrintModeChoiceApp is a desktop application specifically designed for printing reports, committed to optimizing large-scale report printing scenarios. This application optimizes the end-to-end printing process by autonomously and intelligently selecting the printer’s mode, ensuring that color mode is used only when necessary to minimize costs while guaranteeing the correct and attractive printing of reports.\n\n\n\nThe features of report printing scenarios generally include:\n- The header and footer of the report are fix with a colored logo and contact information;\n\n- Apart from the header and footer, the majority of the content consists of standard black text;\n\n- The report may include a few colored charts and text.\n\n  \n\nIn response to these features, AutoPrintModeChoiceApp offers a comprehensive set of intelligent printing solutions:\n1. Pre-printed headers and footers: Use pre-printed paper with colored headers and footers loaded into the printer’s paper tray, allowing most pages of the report to be printed in black and white.\n2. Intelligent color mode choice: The application first removes the headers and footers from each page of the report, then performs color printing only on pages containing color elements (such as charts or highlighted colored text), significantly reducing the use of colored ink.\n\n\n\n# Install\n\nThis project use maven to compile and install. Java version \u003e= 1.8\n\n```\nmvn clean install\n```\n\n\n\n# Usage\n\n```\nmvn package\n```\n\nRun the application in target/AutoPrintModeChoiceApp-1.0-shaded.jar\n\n\n\n# Others\n\nYou can use command below for testing:\n\n```\n./AutoPrintModeChoice.py\n```\n\nThe file 1.png is a typical color chart in report, but can be optimized to normal print mode with no impact.\n\n\n\nFor advanced printers, an alternative C# desktop application can fix driver compatibility issues, welcome to contact the email stephen4sheng@gmail.com or wx: ahuatian655418\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flazycodedoggy%2Fautoprintmodechoiceapp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flazycodedoggy%2Fautoprintmodechoiceapp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flazycodedoggy%2Fautoprintmodechoiceapp/lists"}