Terminal Tools and Troubleshooting
The tools are on the PATH after installation. None of them is needed for ordinary printing. The TirageRIP Installer Utility in QuadToneProfiler-DN and DN Pro runs tirage-queue for you, and its Details log shows each command and its output.
tirage-queue — queues and their profiles
tirage-queue list # every TirageRIP queue and its profiles
tirage-queue list --json # the same, for scripts
tirage-queue install-curves TirageP800 Profile.quad # check, copy, update the queue, list its profiles
tirage-queue refresh-ppd TirageP800 # update one queue's definition
tirage-queue refresh-all # update every queue
tirage-queue refresh-all --if-changed # only queues whose folder changed (what the watcher runs)
tirage-queue create --name TirageP800 --driver escp2-p800 --uri socket://192.168.1.50
tirage-queue remove TirageP800
These commands do not update a queue that is printing or has a job waiting, because updating it through the print system restarts its job. They say so and leave the queue to the watcher. Run with sudo, they update such a queue in place, as the watcher does, and the print goes on.
tirage-curves — profile files
tirage-curves lint Profile.quad --driver escp2-p800 # would the driver accept it? one line says why not
tirage-curves dump Profile.quad --driver escp2-p800 # what the driver reads from it
tirage-curves import-quad Curve.quad --driver escp2-p800 --name Curve --resolution 2880x1440sw -o Curve.tiragecurves
import-quad converts a .quad to a .tiragecurves that records a resolution, and with --dither a dot pattern. The driver then prints it at that resolution, notes a mismatch, and uses that pattern when the dialog says Default. lint and dump take a .quad or a .tiragecurves, and refuse a .tcp with the same explanation a print gives.
tirage-print — print a file without a queue
Renders an image file to an ESC/P2 file for experiments. tirage-print --help lists the options.
lp options
Every dialog setting is an lp option, plus a few the dialog does not show.
lp -d TirageP800 -o ColorModel=TirageGray16 -o TirageCurveSet=HahnHemp-K3 \
-o Resolution=2880x1440dpi -o StpPrintingDirection=Unidirectional print.tif
| Option | Values |
|---|---|
ColorModel | TirageGray16 (default), TirageGray8, TirageCMYK16, TirageCalibrate |
TirageCurveSet | A profile’s keyword (spaces and punctuation as underscores), or None |
TirageCalSlot | Image for the chart mode, or one ink for a single-ink print |
Resolution | A dialog choice: 5760x2880dpi, 2880x1440dpi, 1440x720dpi, … |
InputSlot | A feed, with Borderless appended for full bleed |
StpBandEnhancement | 1 for 2x passes, 2 for 4x |
StpPrintingDirection | Unidirectional, Bidirectional |
StpDitherAlgorithm | HybridEvenTone, EvenTone, Ordered, Adaptive |
StpWeave, StpPlatenGap, StpPaperThickness, StpScanDryTime | The Advanced Features choices; write a decimal point as p (StpScanDryTime=0p5) |
TirageCurveMismatch=Abort | Stop a job whose profile was made for another resolution, instead of printing it with a warning |
TirageStreaming | Spool (default) or Immediate: the dialog’s Start Printing choice. Spool waits until the entire sheet is rendered and dithered; Immediate starts the printer while the sheet is still rendering, pausing whenever it catches up. |
media | A page size from the dialog’s list (c8x10, Letter, A4, Legal, Tabloid, A3, SuperB, A2, EngineeringC for 17 x 22 in, A1), or a custom size: Custom.24x18in, or width x height in points (Custom.1728x1296) |
Logs
| What | Where |
|---|---|
| Job messages: profile, resolution, warnings | `lpstat -W completed -l |
| The system print log | /var/log/cups/error_log — `grep TirageRIP /var/log/cups/error_log |
| Why the watcher skipped a file | /Library/Printers/TirageRIP/Logs/profiles-watcher.log |
| The TirageRIP pane: missing, or an old list | The Console application, searching for TirageRIPPDE, or log show --last 1h --predicate 'subsystem == "com.richardboutwell.tiragerip"' |
| Captures for a bug report | Create an empty file debug.conf in /Library/Printers/TirageRIP/Logs/. The driver then keeps the incoming raster and the printer stream of later jobs in the print spool folder and names the location in the job’s messages. Delete the file afterwards. |
Job-status messages
| Message | Meaning and fix |
|---|---|
| no profile selected and the Print Mode is not Ink Calibration | The Profile popup was on None. Choose a profile, or Ink Calibration Mode for a chart. |
| no profile X (.tiragecurves or .quad) in the queue’s folder | The profile was renamed or removed after the dialog opened. Reopen the dialog and choose again. |
| profile X: a .tcp is not read by the driver | The queue’s folder holds only a .tcp under that name. TirageRIP 0.3.0 and later do not read .tcp files. Install a .quad or .tiragecurves of the profile. |
| profile X is not readable by the print system (file permissions) | The file was saved with permissions only its owner can read. The watcher fixes that within half a minute; double-click Install Profiles.command to fix it at once, then print again. |
| profile X: made for escp2-p800, this queue is escp2-9880 | The profile names another printer. Install the right profile, or save it again for this printer. |
| profile X: followed by another reason | The driver refuses the file, for the reason given; Install Profiles.command gives the same one. The pane shows such a file dimmed once the watcher has checked it, within half a minute of the file arriving or changing. A print sent before that, or with a dimmed profile that was already selected, stops with this message. |
| printing at the profile’s resolution 2880x1440sw (dialog default was 5760x2880sw) | Information. The profile records its resolution and the driver used it. |
| A warning that the profile was made for another resolution | The dialog asked for a resolution the profile was not linearized at, and the job printed anyway. Set Resolution back, or add -o TirageCurveMismatch=Abort. |
| N non-neutral pixels in a gray job (color management leaked in?) | The page was converted through a color profile before the driver. Set Color Matching to TirageRIP; in Photoshop use Printer Manages Colors. |
| chart pixels named an ink this printer does not have | The chart has rows for inks the printer lacks. Harmless; use the chart for this printer. |
| borderless ignored; option X ignored | The printer or feed does not support the choice. The job printed without it. |
Common problems
- Far too dark, or flooded. A profile made at the default resolution printed at a finer one with Ink Scaling off, or at a mode marked “other drop sizes”. Set Resolution to the default, or turn Ink Scaling on.
- There is no TirageRIP pane in the dialog. Quit and reopen the application if TirageRIP was installed or updated while it was open. If it is still missing, double-click Install Profiles.command in the queue’s folder.
- The profile is not in the popup. Close and reopen the print dialog; the pane reads the folder when the dialog opens. Check that the file is in this queue’s folder and ends in
.quador.tiragecurves; a.tcpis listed dimmed, because the driver does not read it. If the line under the popup ends with “(from the printer’s PPD)”, the pane could not read the folder from this application and shows the queue’s own list, which follows the folder within half a minute. - A profile is listed but the print stops. The driver refuses the file; the job’s status gives the reason, as in the table above. Either the file was added or changed less than half a minute before the print, so the watcher had not checked it yet, or it was dimmed but already selected; the line under the popup says so in that case. Reopen the dialog half a minute after the file arrived: a refused file is then dimmed, and pointing at it shows the reason. Choose another profile, or fix the file and copy it in again.
- Fine regular banding. Head Direction Unidirectional, then Extra Passes 2x, then Pass Interleave Staggered (Full Overlap on the Pro machines). None of these change tone.
- Wrong tones with the right profile. Check Color Matching. Check that the image was not corrected twice — a negative already corrected with a
.tdn, printed through a profile that carries the same correction. - The printer starts late. Normal. The page is rendered before it is sent.
SureColor P7570 and P9570
The first prints on these printers are a check of the driver. The sequence, what each print proves, and what to send back are on Testing the P7570 and P9570.
Reporting a problem
Send the queue name, /etc/cups/ppd/<Queue>.ppd, the profile, the application you printed from, the output of the commands under Logs, and, for anything wrong on the paper, a photograph of the print.