Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 455103 (CUPS-prints-PS-codes) - Some Windows XP SP3 clients are sending PostScript files to the server that are not identified as PostScript and then printed as text
Summary: Some Windows XP SP3 clients are sending PostScript files to the server that a...
Status: CLOSED DUPLICATE of bug 430067
Alias: CUPS-prints-PS-codes
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: cups
Version: 5.2
Hardware: All
OS: Linux
Target Milestone: rc
: ---
Assignee: Tim Waugh
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2008-07-11 22:57 UTC by Aram Agajanian
Modified: 2008-07-15 09:16 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2008-07-15 09:16:43 UTC
Target Upstream Version:

Attachments (Terms of Use)

Description Aram Agajanian 2008-07-11 22:57:29 UTC
Description of problem:
I recently set up some Windows XP computers to print to my CUPS server via IPP.
 (IPP support has changed with XP SP3, so I had to change the XP printer

CUPS is apparently identifying PostScript documents using logic in
/etc/cups/mime.types.  Specifically for these documents, it is using the
following line:

                               (contains(0,1024,"LANGUAGE=POSTSCRIPT") \

However, some PostScript files being generated by XP SP3 has the string
"LANGUAGE=POSTSCRIPT" starting past character 1024.  (One PostScript file that I
printed had the "LANGUAGE=POSTSCRIPT" string start at charactor 1050.)  So,
these print jobs are not identified as PostScript files.  The printer prints
them out as text files, instead.

In order to get CUPS to detect these files as PostScript files, I changed the
line above to:

                               (contains(0,2048,"LANGUAGE=POSTSCRIPT") \

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

How reproducible:
Not all print jobs from the Windows XP clients exhibit this problem.  However,
when printing out certain web pages or documents, the problem occurs every time.

Steps to Reproduce:
1. Print document which happens to generate a PostScript file where the
"LANGUAGE=POSTSCRIPT" text comes after character 1024.
Actual results:
Printer prints out a lot of PostScript codes.

Expected results:
Printer interprets PostScript code and prints out a document which may contain
formatting and graphics.

Additional info:

Comment 1 Tim Waugh 2008-07-15 09:16:43 UTC

*** This bug has been marked as a duplicate of 430067 ***

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