Bug 690320 - differences in output between file and pipe output
Summary: differences in output between file and pipe output
Status: RESOLVED INVALID
Alias: None
Product: GhostPCL
Classification: Unclassified
Component: PCL interpreter (show other bugs)
Version: master
Hardware: All All
: P4 normal
Assignee: Marcos H. Woehrmann
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-05 16:47 UTC by Marcos H. Woehrmann
Modified: 2011-08-18 01:03 UTC (History)
1 user (show)

See Also:
Customer:
Word Size: ---


Attachments
screenshot_72.png (42.14 KB, image/png)
2009-03-05 16:48 UTC, Marcos H. Woehrmann
Details
screenshot_500.png (73.38 KB, image/png)
2009-03-05 16:50 UTC, Marcos H. Woehrmann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marcos H. Woehrmann 2009-03-05 16:47:07 UTC
On my amd64 linux box the following two commands generate different output files:

  pcl6 -r72 -sDEVICE=bitrgb -sOutputFile=test1.bit -dNOPAUSE ./c327.bin
  pcl6 -r72 -sDEVICE=bitrgb -sOutputFile="| cat >test2.bit" -dNOPAUSE ./c327.bin

The differences appear on pages 28 and 29 (see attached screenshots for differences on page 29).

Note that this is not a non-deterministic problems, I've run each command 100 times and each  
md5sum is identical.

I get the same results on my MacBook Pro under Mac OS X, but on the same machine running Ubuntu 
8.10 via VMware Fusion neither command line is deterministic.

I believe this problem is related to bug #690299 since the areas that differ are the same (at least on 
page 29, I've seen differences on page 28 with -r600 and multiple runs but they appear to be 
infrequent).
Comment 1 Marcos H. Woehrmann 2009-03-05 16:48:41 UTC
Created attachment 4830 [details]
screenshot_72.png

Screen shot of 72 dpi output for -sOutputFile=test1.bit and -sOutputFile="| cat
>test2.bit".  Differences are highlighted in red.
Comment 2 Marcos H. Woehrmann 2009-03-05 16:50:00 UTC
Created attachment 4831 [details]
screenshot_500.png

Screenshot with differences highlighted in red of multiple runs with
-sOutputFile=test.bit with -r500 (see bug #690299).
Comment 3 Marcos H. Woehrmann 2011-08-18 01:03:27 UTC
The two test files that exhibit this behavior not report errors:

PCL XL error
    Subsystem:  KERNEL
    Error:      ColorSpaceMismatch
    Operator:   SetBrushSource

So I'm going to assume the difference is related to how the files are closed when the error occurs and close this bug.