Skip to content

Commit 69ec7cf

Browse files
committed
Update the readme to reflect changes to printer administration
1 parent 510b5f3 commit 69ec7cf

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
# Digitalrevolution IPP library
44

5+
A library to aid using the [ipp protocol](https://datatracker.ietf.org/doc/html/rfc8010/) in php, for example to send print jobs to print servers that support the protocol
6+
57
## Installation
68

79
```bash
@@ -48,7 +50,7 @@ composer require digitalrevolution/ipp
4850
$printer->setDeviceUri('my.uri');
4951
$printer->setLocation('location');
5052

51-
$ipp->createPrinter($printer);
53+
$ipp->printerAdministration()->createPrinter($printer);
5254
```
5355

5456
### Delete a printer
@@ -57,7 +59,7 @@ composer require digitalrevolution/ipp
5759
$printer = new IppPrinter();
5860
$printer->setHostname('my.printer');
5961

60-
$ipp->deletePrinter($printer);
62+
$ipp->printerAdministration()->deletePrinter($printer);
6163
```
6264

6365
### Contributing

0 commit comments

Comments
 (0)