]> git.ipfire.org Git - thirdparty/cups-filters.git/commitdiff
Added documentation of pclmtoraster filter 271/head
authorVikrant <vikrantmalik051@gmail.com>
Fri, 31 Jul 2020 14:18:33 +0000 (19:48 +0530)
committerVikrant <vikrantmalik051@gmail.com>
Fri, 31 Jul 2020 14:18:33 +0000 (19:48 +0530)
.gitignore
Makefile.am
README

index 53be45946c1a74ef29e87331ab6494b21df87f55..c85e789b13486d6ba52d97956e075d7293a7cefa 100644 (file)
@@ -71,6 +71,7 @@ gstoraster
 imagetopdf
 imagetoraster
 mupdftoraster
+pclmtoraster
 pdftoijs
 pdftoopvp
 pdftopdf
index cc8f2718a66d235e3b53754ed732d12efd05e8c3..7f21e7d0535d0342b7b45eacbd5b80510ae98df5 100644 (file)
@@ -858,6 +858,7 @@ pclmtoraster_SOURCES = \
 pclmtoraster_CXXFLAGS = \
        -I$(srcdir)/cupsfilters/ \
        -I$(srcdir)/ppd/ \
+       -std=c++11 \
        $(CUPS_CFLAGS) \
        $(LIBQPDF_CFLAGS)
 pclmtoraster_LDADD = \
diff --git a/README b/README
index c0f2efd02f219f550b2b967c3761fd1284bd3db6..7fd92503ea1db4d393019b6e2abed64f1a0c0789 100644 (file)
--- a/README
+++ b/README
@@ -1106,6 +1106,50 @@ created PDF data.
 in the location specified by TMPDIR environment variable. Default location
 is "/tmp".
 
+PCLMTORASTER
+===========
+
+1. INTRODUCTION
+
+"pclmtoraster" is a filter for pclm and raster-only pdf files.
+It reads the raster graphics from each page using the QPDF API and converts
+it to CUPS/PWG Raster. This filter supports all PCLm files. PDF files with
+single page bitmap for each page and one of the following colorspaces with
+8 Bits-per-component are supported DeviceGray, DeviceRGB and DeviceCMYK.
+
+2. LICENSE
+
+Almost all source files are under MIT like license.
+
+The required libqpdf is available under version 2.0 of the Apache License,
+e.g. here: https://github.com/qpdf/qpdf
+
+3. ENVIRONMENT VARIABLES
+
+This program refers the following environment variable;
+   PPD:  PPD file name of the printer.
+
+4. COMMAND OPTIONS
+
+1) Bi-Level output
+
+print-color-mode=bi-level
+
+Use "bi-level" color mode to apply threshold dithering for 1 bit B/W outputs.
+By default, ordered dithering is used.
+
+For other options, see CUPS documents for more details.
+
+5. INFORMATION FOR DEVELOPERS
+
+Following information is for developers, not for driver users.
+
+5.1 Temporally files location
+
+"pclmtoraster" creates temporally files if needed. Temporary files are created
+in the location specified by TMPDIR environment variable. Default location
+is "/tmp".
+
 
 URFTOPDF
 ========