Bug 1008108

Summary: lpr -p does not update file name between multiple files
Product: [Fedora] Fedora Reporter: Jim Swain <jim.swain>
Component: cupsAssignee: Tim Waugh <twaugh>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 18CC: jpopelka, twaugh
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-09-16 12:43:21 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jim Swain 2013-09-14 20:08:22 UTC
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 12:43:21 UTC
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.