Skip to content

Instantly share code, notes, and snippets.

@mrmanc
Last active February 16, 2024 15:48
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save mrmanc/0182c6b86d68361c6e35 to your computer and use it in GitHub Desktop.
Save mrmanc/0182c6b86d68361c6e35 to your computer and use it in GitHub Desktop.
Describes how to set up OS X to print in color to a PCL printer.
You need to have Foomatic-RIP and Ghostscript installed. You can find links to installers on this page: http://www.linuxfoundation.org/collaborate/workgroups/openprinting/macosx/pxlmono (alternatively you can install ghostscript using brew with ‘brew install ghostscript’). There is a pxlmono download on that page which contains loads of PPD files for all sorts of printers, but none of them support colour.
Once the dependencies are installed, you can use pxlcolor to generate a PPD file on this page for the printer, or generate a Generic PCL 6/PCL XL Printer PPD file (attached), which allows you to print with colour.
http://www.openprinting.org/driver/pxlcolor
Set the printer up using Cups. To do this you need to enable the web interface by running this from a Terminal prompt:
cupsctl WebInterface=yes
You can then browse Cups on http://localhost:631/printers/
Choose to add a printer, and specify LPD as the network protocol, using the IP address as the hostname and ‘lp’ as the queue name. So something like lpd://192.168.103.229/lp
When prompted to specify the printer, you can choose the generated PPD file from your disk.
You can then set the defaults using Cups to print in colour.
Ta-da!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment