Rakesh
Rakesh

Reputation: 13

how to connect to a printer and print a png image using python and PIL library in Ubuntu

how to connect to a printer and print a png image using python and PIL library in Ubuntu

Upvotes: 1

Views: 1186

Answers (1)

Ignacio Vazquez-Abrams
Ignacio Vazquez-Abrams

Reputation: 798526

subprocess.call(['lp', 'foo.png'])

Upvotes: 1

Related Questions