• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

examples/H23-Apr-2020-7463

COPYINGH A D20-Aug-201917.7 KiB340281

MakefileH A D03-May-20221.1 KiB4937

NEWSH A D23-Apr-202010.9 KiB416294

PKG-INFOH A D23-Apr-20201.3 KiB3431

READMEH A D20-Apr-20201.1 KiB4026

TODOH A D23-Apr-2020214 43

cupsconnection.cH A D23-Apr-2020168.1 KiB5,7154,941

cupsconnection.hH A D23-Apr-20202.1 KiB7946

cupsipp.cH A D23-Apr-202021.7 KiB888726

cupsipp.hH A D23-Apr-20201.3 KiB5322

cupsmodule.cH A D23-Apr-202035.6 KiB1,2721,017

cupsmodule.hH A D23-Apr-20201.6 KiB5625

cupsppd.cH A D23-Apr-202045.7 KiB1,8291,477

cupsppd.hH A D23-Apr-20201.3 KiB4621

postscriptdriver.provH A D23-Apr-20207.5 KiB274205

psdriver.attrH A D20-Aug-2019165 43

setup.pyH A D03-May-20222.5 KiB6944

test.pyH A D20-Aug-2019886 3526

README

1CUPS bindings for Python
2------------------------
3
4These Python bindings are intended to wrap the CUPS API.
5
6Python 3 or later is required since Python 2 is unsupported since 2020-01-01.
7
8Build dependencies
9------------------
10
11The following packages are needed for compiling PyCUPS. GCC compiler is needed because modules are written
12in C. CUPS development files are needed for providing CUPS API, which are used in modules and Python3
13development files for Python3 functions called in modules.
14
15Packages needed for compilation (default package names are from Fedora, Ubuntu names are in the brackets
16if they differ from Fedora):
17
18- gcc
19- cups-devel (libcups2-dev)
20- python3-devel (python3-dev)
21
22Please install them before compiling PyCUPS.
23
24Runtime dependencies
25--------------------
26
27CUPS needs to be installed and running for PyCUPS working correctly.
28
29How to compile and install
30--------------------------
31
32Do the following steps in the PyCUPS directory:
33$ make
34$ sudo make install
35
36How to import cups module in python3 script
37-------------------------------------------
38
39>>> import cups
40