#!/bin/sh # On Ubuntu, for some reason the postscript filter config is commented out # in one of the cups configuration files, although all the required filter # packages were installed and working. # This didn't seem to be a problem before, but as of Ubuntu 14.04, without # this line you can't print postscript files. # So we just re-enable the lines again and everything works. sed -i 's,^#application/,application/,' "/usr/share/cups/mime/cupsfilters.convs"