forked from NilanjanaLodh/OpenPrinting_CUPS_Backend
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Stream print data through a Unix domain socket (#28)
To ease making a Snap from the CPDB backend for CUPS we now transfer the print job data from the dialog to the backend via a Unix domain socket and not by dropping the data into a file. In addition, we have done also the following changes: - Updated names of some CUPS constants to CUPS 2.5.x and newer. - Removed the backend functions for get-all-jobs(), get_active_jobs_count(), and cancel_job(). - In the build test ("make check") + give more time (3 instead of 1 sec) for the print job submission before closing the backend, to get note of the confirmation of successful submission. + let CPDB frontend and backend log in debug mode + Create the directory for the socket files
- Loading branch information
1 parent
059a6a8
commit 4a1c453
Showing
4 changed files
with
151 additions
and
191 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.