Red Hat Bugzilla – Bug 1008108
lpr -p does not update file name between multiple files
Last modified: 2013-09-16 08:43:21 EDT
Description of problem:
When issuing an lpr command to print more than one file, the -p (prettyprint) banner is applied to all files, but the file name remains the same as the first file. The date, time and page number are updated between files.
Version-Release number of selected component (if applicable):
yum provides lpr
1:cups-1.5.4-28.fc18.x86_64 : Common Unix Printing System
Repo : updates
Provides : lpr = 3.8.15-4
Problem is persistent.
Steps to Reproduce:
1. lpr -p file_one file_two
Both files are printed with the prettyprint banner, but the first file name is applied to all files printed. The date, time and page number are reset for each file.
Both files are printed with the prettyprint banner,and the file name, date, time and page number are reset for each file.
An annoyance when printing multiple files from the command line resulting in writing in / changing to the correct name,
It's the 'job name' that gets put there. It's all one job, so it will all be one name. You can set the name using the -J option.