Bug 696119

Summary: PCL6 on Linux formats PDF incorrectly
Product: GhostPCL Reporter: MG <gajula.mohan>
Component: PDF WriterAssignee: Ken Sharp <ken.sharp>
Status: RESOLVED INVALID    
Severity: normal    
Priority: P4    
Version: 9.16   
Hardware: PC   
OS: Windows 7   
Customer: Word Size: ---
Attachments: Linux Output in PDF format from PCL6
Linux Text file
Windows Test PDF
Windows Test Text file

Description MG 2015-07-28 13:35:52 UTC
Created attachment 11829 [details]
Linux Output in PDF format from PCL6

I have a simple text file on Linux, that I am trying to convert to PDF using below

pcl6 -g7920x6120 -o Linux_output.pdf -sDEVICE=pdfwrite Linux_textfile

Each line pushes to the right in the PDF ( see attached outputs)

Where as the same command on Windows formats it correctly.

Request you to help. Thanks in advance.
Comment 1 MG 2015-07-28 13:36:11 UTC
Created attachment 11830 [details]
Linux Text file
Comment 2 MG 2015-07-28 13:36:29 UTC
Created attachment 11831 [details]
Windows Test PDF
Comment 3 MG 2015-07-28 13:36:43 UTC
Created attachment 11832 [details]
Windows Test Text file
Comment 4 Ken Sharp 2015-07-29 00:22:57 UTC
You appear to be using different versions of Ghostscript on the two different operating systems. Although you have opened a bug report against 9.16 you appear to have used 9.15 on Windows.

Your *Linux* text file contains linefeed (0x0a) but no carriage return (0x0d) character codes, your Windows text file has carriage returns and linefeeds.

If you try running your Windows text file on Linux, or your Linux test file on Windows you will see the results alter.

In short; your test files are not the same and that's why you are getting different results.