Bug 1008108 - lpr -p does not update file name between multiple files
lpr -p does not update file name between multiple files
Status: CLOSED NOTABUG
Product: Fedora
Classification: Fedora
Component: cups (Show other bugs)
18
x86_64 Linux
unspecified Severity medium
: ---
: ---
Assigned To: Tim Waugh
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2013-09-14 16:08 EDT by Jim Swain
Modified: 2013-09-16 08:43 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2013-09-16 08:43:21 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Jim Swain 2013-09-14 16:08:22 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
Matched from:
Provides    : lpr = 3.8.15-4


How reproducible:
Problem is persistent.


Steps to Reproduce:
1. lpr -p file_one file_two
2.
3.

Actual results:
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.


Expected results:
Both files are printed with the prettyprint banner,and the file name, date, time and page number are reset for each file.


Additional info:
An annoyance when printing multiple files from the command line resulting in writing in / changing to the correct name,
Comment 1 Tim Waugh 2013-09-16 08:43:21 EDT
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.

Note You need to log in before you can comment on or make changes to this bug.