Article 6PHA5 How can output the testprint as pdf file instead of printing in the paper?

How can output the testprint as pdf file instead of printing in the paper?

by
luofeiyu
from LinuxQuestions.org on (#6PHA5)
With the `lpr` command,printer's test info will be printed in a paper:
Code: lpr /usr/share/cups/data/testprintI want to see the printer's test info and not to waste a paper,just want to output all the tested info into a pdf file,how can achieve it?
Code: lpr /usr/share/cups/data/testprint > testinfoIt can't work.
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments