Bug 696119 - PCL6 on Linux formats PDF incorrectly
Summary: PCL6 on Linux formats PDF incorrectly
Status: RESOLVED INVALID
Alias: None
Product: GhostPCL
Classification: Unclassified
Component: PDF Writer (show other bugs)
Version: 9.16
Hardware: PC Windows 7
: P4 normal
Assignee: Ken Sharp
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-28 13:35 UTC by MG
Modified: 2015-07-29 00:22 UTC (History)
0 users

See Also:
Customer:
Word Size: ---


Attachments
Linux Output in PDF format from PCL6 (6.97 KB, application/pdf)
2015-07-28 13:35 UTC, MG
Details
Linux Text file (37 bytes, text/plain)
2015-07-28 13:36 UTC, MG
Details
Windows Test PDF (6.98 KB, application/pdf)
2015-07-28 13:36 UTC, MG
Details
Windows Test Text file (37 bytes, text/plain)
2015-07-28 13:36 UTC, MG
Details

Note You need to log in before you can comment on or make changes to this bug.
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.