Bug 1008108 - lpr -p does not update file name between multiple files
Summary: lpr -p does not update file name between multiple files
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: cups
Version: 18
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Tim Waugh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-09-14 20:08 UTC by Jim Swain
Modified: 2013-09-16 12:43 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-09-16 12:43:21 UTC
Type: Bug


Attachments (Terms of Use)

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.


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