Skip to content

Commit 5d189aa

Browse files
author
brittain
committed
Merge remote-tracking branch 'origin/main'
2 parents 2b490e5 + ef0407a commit 5d189aa

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

README.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# PHP Printer
2+
3+
A lightweight PHP library for seamless printer interaction on Windows systems. This project leverages native Windows APIs to enable direct printing capabilities from PHP applications, making it ideal for developers building web or command-line tools that require printer integration.
4+
5+
## Features
6+
- Direct access to local printers from PHP.
7+
- Supports both web and CLI applications.
8+
- Simple API for sending print jobs to the default printer.
9+
10+
## Requirements
11+
- **PHP Version**: 8 or higher (tested up to PHP 8.4).
12+
- **Operating System**: Windows XP or later.
13+
- **PHP Extension**: `php_printer.dll` must be installed and enabled in your `php.ini`.
14+
15+
## Installation
16+
17+
### Step 1: Install PHP and Enable the Printer Extension
18+
1. Ensure you have a working PHP installation (5.3.x or higher).
19+
2. Download the `php_printer.dll` from the releases on this repo.
20+
3. Place the `php_printer.dll` file in your PHP extension directory (e.g., `C:\php\ext`).
21+
4. Edit your `php.ini` file to enable the extension:

0 commit comments

Comments
 (0)