This was merged with PySyncThru and is no longer maintained.
Python API for interacting with printers from Samsung. Mainly to get the details about the different media levels.
Installation
The module is available from the Python Package Index.
$ pip3 install samsung_print
Usage
import asyncio
import aiohttp
from samsung_print import Printer
IP_PRINTER = '192.168.1.200'
@asyncio.coroutine
def main():
with aiohttp.ClientSession() as session:
printer = Printer(IP_PRINTER, loop, session)
yield from printer.async_get_data()
print("Printer status:", printer.status('hrDeviceStatus'))
loop = asyncio.get_event_loop()
loop.run_until_complete(main())
The file example.py contains further options about how to use this module.
Supported printer
samsung_print was tested with the following printer:
C410W
Development
For development is recommended to use a venv.
$ python3.6 -m venv .
$ source bin/activate
$ python3 setup.py develop
License
samsung_print is licensed under MIT, for more details check LICENSE.
Metadata
Release files for samsung_print 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| samsung_print-0.2.0.tar.gz | 3.2 kB | Without provenance | Details for samsung_print-0.2.0.tar.gz |
Release files / samsung_print-0.2.0.tar.gz
| Download URL | samsung_print-0.2.0.tar.gz |
|---|---|
| Size | 3.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3aed352d0ff6044166072c23b382f632e04747366c553d4124692a1696d35eb8
|
|
BLAKE2b-256 checksum How to use checksums |
a78a0d279fb4421ef2735b2dddc25e99bb7c3068e059cdfc8ec028d50910eaf8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for samsung_print 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.