forked from darktable-org/darktable
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial revision of the print module.
This is a new module. It requires CUPS to send the print job to the printer queue. The module offers a way to add some margin, select the paper size, the print queue. It also support a printer/paper ICC profile.
- Loading branch information
Showing
24 changed files
with
2,948 additions
and
20 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
|
||
FIND_PATH(CUPS_INCLUDE_DIR cups.h | ||
PATHS /usr/include | ||
/usr/local/include | ||
HINTS ENV CUPS_INCLUDE_DIR | ||
PATH_SUFFIXES cups | ||
) | ||
|
||
FIND_LIBRARY(CUPS_LIBRARY | ||
NAMES ${CUPS_NAMES} cups libcups | ||
PATHS /usr/lib /usr/local/lib | ||
HINTS ENV CUPS_LIBDIR | ||
) | ||
|
||
include(FindPackageHandleStandardArgs) | ||
find_package_handle_standard_args(CUPS DEFAULT_MSG CUPS_LIBRARY CUPS_INCLUDE_DIR) | ||
|
||
IF(CUPS_FOUND) | ||
SET(CUPS_LIBRARIES ${CUPS_LIBRARY}) | ||
SET(CUPS_INCLUDE_DIRS ${CUPS_INCLUDE_DIR}) | ||
ENDIF(CUPS_FOUND) |
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.