Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I would like to add a "printer" under Linux that would automatically print-to-file to a specific folder and default to PDF. The idea being that I could one-click-print documents for printing later in the day when I had access to a printer. File names don't matter in this case.

Is this possible to do? I am willing to write some code to make this happen.

share|improve this question

1 Answer 1

up vote 2 down vote accepted

Yes it is possible if you are using cups. You usually need separate package cups-pdf. You can then setup a virtual PDF printer in CUPS admin (http://localhost:631) which will place PDF files in /var/spool/cups-pdf/<USER>

share|improve this answer
    
This is what I wanted. Except for me under Linux Mint the directory was /home/<USER>/PDF –  Usagi Mar 16 at 0:39

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.