summaryrefslogtreecommitdiff
path: root/src/cups/command.txt
diff options
context:
space:
mode:
authorRoger Leigh <rleigh@debian.org>2008-10-26 16:10:50 +0000
committerRoger Leigh <rleigh@debian.org>2008-10-26 16:10:50 +0000
commiteb5718390731a9746c556317e641320b671f2091 (patch)
tree762876b4adf298c1281142328e2ae87007330904 /src/cups/command.txt
Imported Upstream version 4.2.0
Diffstat (limited to 'src/cups/command.txt')
-rw-r--r--src/cups/command.txt76
1 files changed, 76 insertions, 0 deletions
diff --git a/src/cups/command.txt b/src/cups/command.txt
new file mode 100644
index 0000000..ac9c3e9
--- /dev/null
+++ b/src/cups/command.txt
@@ -0,0 +1,76 @@
+command.txt - 09/10/2000 - CUPS Drivers
+---------------------------------------
+
+This file describes the experimental CUPS command file format,
+used to send printer commands to a printer in a device-
+independent way.
+
+
+FILE FORMAT INFORMATION
+
+CUPS command files are ASCII text files. The first line of a
+CUPS command file MUST contain:
+
+ #CUPS-COMMAND
+
+After that, each line is either a command or a comment.
+Comments begin with the # character, e.g.:
+
+ # This is a comment
+
+The printer commands are described below. Printer commands are
+case- insensitive, so "PRINTSELFTESTPAGE", "printselftestpage",
+and "PrintSelfTestPage" are equivalent. Commands that accept
+arguments have their arguments on the same line separated by
+spaces.
+
+
+PRINTER COMMANDS
+
+The following commands are currently recognized:
+
+ Clean all
+ Clean black
+ Clean color
+ Clean cyan
+ Clean light-cyan
+ Clean light-magenta
+ Clean magenta
+ Clean yellow
+
+ Do a standard print head cleaning. If a printer does
+ not support cleaning of individual colors or cartridges,
+ then all print heads are cleaned.
+
+ PrintAlignmentPage phase
+
+ Print an alignment page on the printer. Typically this
+ page shows the horizontal and vertical alignment of the
+ print heads with numbers for each. The phase number can
+ be omitted.
+
+ PrintSelfTestPage
+
+ Print a self-test page on the printer. Typically this
+ page shows if all jets on a print head are functioning
+ properly.
+
+ ReportLevels
+
+ Reports the levels of each marking color in the
+ printer-state-message attribute. The format of the
+ report string is one of:
+
+ K=###
+ C=### M=### Y=###
+ K=### C=### M=### Y=###
+ K=### C=### M=### Y=### LC=### LM=###
+
+ depending on the marking colors available.
+
+ SetAlignment phase x y
+
+ Sets the alignment of the print heads in the X and Y
+ directions. The phase number must match that specified
+ by the PrintAlignmentPage command or be 0. The Y
+ direction is not used by some printers.