cookbook 'windows_print', '~> 3.0.0'
windows_print (7) Versions 3.0.0 Follow6
Installs/Configures print
cookbook 'windows_print', '~> 3.0.0', :supermarket
knife supermarket install windows_print
knife supermarket download windows_print
Windows Print cookbook
Manage Windows Print and Document Services, printer drivers, TCP/IP ports,
print queues and settings backups with Chef custom resources.
Requires Chef Infra or Cinc 18 or later and Windows Server 2016 or later.
Version 3 removes the public recipes; see the [migration guide](migration.md).
Usage
windows_print_install 'print server' windows_print_printer 'Office' do driver_name 'Generic / Text Only' ports 'Office TCP' => '192.0.2.10' share_name 'Office' location 'First floor' end
Resources
- [windows_print_install](documentation/windows_print_install.md): install or remove the print server, Internet Printing, LPD or legacy Distributed Scan role.
- [windows_print_driver](documentation/windows_print_driver.md): install or remove a printer driver.
- [windows_print_port](documentation/windows_print_port.md): manage a standard TCP/IP printer port and its address.
- [windows_print_printer](documentation/windows_print_printer.md): create, update or remove a print queue.
- [windows_print_printer_settings](documentation/windows_print_printer_settings.md): back up, restore or remove settings files.
Printer deletion retains ports and drivers that may be shared. Backup and restore
run when explicitly invoked; use notifications to control when they execute.
Distributed Scan remains limited to older domain-joined servers and does nothing
on Server 2019 or later. See the migration guide for platform compatibility.
Testing
The [testing guide](TESTING.md) describes ChefSpec and native Windows Kitchen
tests. Examples live in test/cookbooks/test/recipes.
Authors and licence
Originally written by Derek Groh and Texas A&M. Maintained by Sous Chefs.
See [LICENSE](LICENSE) and the retained source-file notices.
Dependent cookbooks
This cookbook has no specified dependencies.
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
CHANGELOG for print
This file is used to list changes made in each version of print.
3.0.0 (2026-11-12)
⚠ BREAKING CHANGES
- migrate Windows Print to custom resources (#51)
Features
Bug Fixes
2.1.4 (2025-10-16)
Bug Fixes
2.1.0 - 2023-10-31
- Update CI permissions
- Change LICENSE to Apache-2.0
2.0.1 - 2023-10-03
- Standardise files with files in sous-chefs/repo-management
- Transfer ownership to sous-chefs
- Remove Map Network drive for driver and printer resources.
2.0.0
- Providers removed in favor of resources
- Restructured cookbook - move sample files into test.
- Test kitchen support
- Delivery support
- Github Issues
1.0.2
- Skip restore settings if the file does not exist
1.0.0
- Support for data bag items with recipes to create and delete printer objects and printer settings.
0.9.0
- Changelog has been ignored for sometime.
- Current features: Add, remove ports, printers, drivers
- Create and restore printer defaults.
0.1.0
- Initial release of windows_print
Collaborator Number Metric
3.0.0 failed this metric
Failure: Cookbook has 1 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
3.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Cookstyle Metric
3.0.0 passed this metric
No Binaries Metric
3.0.0 passed this metric
Testing File Metric
3.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
3.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
3.0.0 failed this metric
3.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Cookstyle Metric
3.0.0 passed this metric
No Binaries Metric
3.0.0 passed this metric
Testing File Metric
3.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
3.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
3.0.0 passed this metric
3.0.0 passed this metric
Testing File Metric
3.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
3.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
3.0.0 failed this metric
3.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number