To print text to PDF directly in a GNU system:

<Location /admin>
   AuthType BasicDigest
   AuthClass Group
   AuthGroupName cupsadm
   Encryption Required
   Order allow,deny
   Allow @LOCAL
</Location>

You can now print any text file to PDF from the commandline via `lpr'. The printed PFD files will be in ~/PDF/


.