Ubuntu 12.04 LTS, 3.8.0-35-generic kernel, Firefox 27.0
If I print a text file to pdf, I get a default filename which is always the same. (it is always "output.pdf")
- How can I have automatic file name based on timestamp?
- How can I use that particular printer in command line?
- What is the name of that (virtual)printer I'm using?
also from firefox, if I print to pdf
- How can I have automatic filename based on timestamp?
following some commands and the output I received:
~$ lp "$in"
lp: Error - no default destination available.
~$ lpr "$in"
lpr: Error - no default destination available.
~$ dpkg --list | grep ' cups '
ii cups 1.5.3-0ubuntu8 Common UNIX Printing System(tm) - server
~$ ps -ef|grep cups | grep -v grep
root 867 1 0 14:51 ? 00:00:00 /usr/sbin/cupsd -F
~$ cups --version
cups: command not found
~$ cups-pdf
cups-pdf: command not found
I would like not to install other PDF printer, because the default one works very well.
man lp
andman lpr
for manual pages, which should help.