Red Hat Bugzilla – Bug 479471
CUPS never gets the MIME type based on the document name for a single file job
Last modified: 2009-01-28 13:07:49 EST
Description of problem:
The scheduler never gets the MIME type based on the document name for a single file job. This is because cupsPrintFile*() doesn't send the document filename for single file submissions.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. echo "Not a Postscript file :)" >notpsfile.ps
2. lp notpsfile.ps
The error_log shows job was typed as text/plain.
CUPS was to auto-type the job as application/postscript because in `mime.types' there is a rule that `ps' extension is "application/postscript".
I submitted a STR #3055 upstream and it is fixed in v1.3.10 .
Both STR #3055 and STR #3059 are now in bug #479635.
*** This bug has been marked as a duplicate of bug 479635 ***