https://github.com/georg-jung/ippresponsecollector
A simple tool to save a printer's raw responses to GetPrinterAttributes IPP requests.
https://github.com/georg-jung/ippresponsecollector
csharp dotnet internet-printer-protocol ipp print printer printing
Last synced: about 2 months ago
JSON representation
A simple tool to save a printer's raw responses to GetPrinterAttributes IPP requests.
- Host: GitHub
- URL: https://github.com/georg-jung/ippresponsecollector
- Owner: georg-jung
- License: mit
- Created: 2025-02-12T11:01:40.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-03-26T04:56:37.000Z (about 1 year ago)
- Last Synced: 2025-04-11T16:08:31.390Z (about 1 year ago)
- Topics: csharp, dotnet, internet-printer-protocol, ipp, print, printer, printing
- Language: C#
- Homepage:
- Size: 27.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# IppResponseCollector
A simple tool to save a printer's raw responses to `GetPrinterAttributes` requests via [Internet Printing Protocol (IPP)](https://en.wikipedia.org/wiki/Internet_Printing_Protocol).
This tool is build using [SharpIppNext](https://github.com/danielklecha/SharpIppNext/) and uses IPP Version 1.1.
## Download
The latest release is available from [GitHub Releases](https://github.com/georg-jung/IppResponseCollector/releases/latest). Currently, a standalone Windows .exe build as well as a Linux binary are provided.
## Usage
```log
Description:
Dumps the raw response of a GetPrinterAttributes request to the given IPP endpoint.
Usage:
IppResponseCollector [options]
Arguments:
The URI of the IPP endpoint to query. E.g. ipp://192.168.1.2:631
Options:
-o, --output The file path to save the raw response to.
--version Show version information
-?, -h, --help Show help and usage information
```
## Example output
```pwsh
.\IppResponseCollector.exe ipp://192.168.1.20
```
```log
Sending GetPrinterAttributes request to http://192.168.1.20:631/ (109 bytes)...
Received HTTP status code OK
=== Response headers: ===
MIME-Version: 1.0
Server: KS_HTTP/1.0
Transfer-Encoding: chunked
Connection: Keep-Alive
Keep-Alive: timeout=30
Saving raw response to D:\git\IppResponseCollector\publish\GetPrinterAttributes_192.168.1.20_631_20250212_115811.bin...
Done. 5,128 bytes written.
```
## See also
* [gmuth/document-format-supported](https://github.com/gmuth/document-format-supported/) provides similar functionality but does not save bytewise copies of the response but anonymized versions. It is JVM based, uses IPP Version 2.0 and collects specific printer responses in the repository.