Bug 58002

Summary: PS/PDF Viewer fails to print a PDF when path contains spaces
Product: [Retired] Red Hat Linux Reporter: A. Miklas <public>
Component: kdegraphicsAssignee: Petr Rockai <prockai>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 7.2   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-02-14 14:18:25 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description A. Miklas 2002-01-04 22:22:47 UTC
Description of Problem:
The kde PDF viewer (part of kghostscript) fails to print a PDF if the PDF has a 
space in its absolute path.

Version-Release number of selected component (if applicable):
kdegraphics-2.2-1

How Reproducible:
Always

Steps to Reproduce:
1. Put any PDF file in a directory that contains a space in its name.
2. Open the PDF using the PS/PDF viewer (ie. the default in KDE)
3. Attempt to print

Actual Results:
A print error occured.  Error message received from the system:

/usr/bin/lpr -P 'lp' '-#1' 
/home/andrew/.kde/tmp-amiklas/kghostviewdC8nEb.ps: execution failed with 
message:

lp: nothing to print.

Expected Results:
PDF should print -- just as it does when the path does not contain a space.

Additional Information:

Comment 1 Petr Rockai 2005-02-14 14:18:25 UTC
Fixed in FC3 (and possibly older fedora releases).