You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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