Archive of the former Yahoo!Groups mailing list: Homebrew PCBs

previous by date index next by date
  topic list  

Subject: PBM to ESC/P2 converter

From: DJ Delorie <dj@...>
Date: 2009-05-12

Having grown dissatisfied with the options The GIMP was giving me for
controlling my printer when printing films, I decided to write a
utility to do that task that was specific to PCB films:

http://www.delorie.com/pcb/pbm2escp2.zip

This program reads PBM files (you'll need netpbm to convert to this
from other formats) and produces a binary ESC/P2 file which can be
sent directly to a high resolution color Epson printer (mine is an
R280). It assumes 2880 DPI resolution, and includes these features:

∗ option for mirror imaging (left/right).

∗ option for reverse imaging (positive/negative).

∗ option to select which ink(s) to use (yes, c+y+m+k is possible, if
your film can handle that much ink).

∗ options for fast draft and quality draft on plain paper.

∗ options to position the print on the film.

∗ always uses full coverage (100% drops) regardless of ink choices.

∗ weave algorithm chosen for accuracy, not color quality.

∗ includes compile-time options to adjust the registration between ink
nozzles.

The only limitation is that it needs at least a 1" margin on the top
and bottom to allow for the weave algorithm to accurately cover those
parts of the image.