PCL to PDF with colors
up vote
0
down vote
favorite
I need to convert .pcl files to .pdf files. I did some searching and found that gplc6 (from the Ghostscript family) is the tool I need. I ran the command like this:
gpcl6 -o test.pdf -sDEVICE=pdfwrite test.pcl
The problem is that the output pdf has no colors in it. Colors are not even converted to grayscale instead colored areas are not present in the pdf.
To make sure that the problem is not in the pcl file, I used the demo version of RED TITAN pcl viewer and it has colors in it. I even converted it to pdf and it was colored as expected.
How can i make the conversion without losing the colored areas?

RED TITAN output

gpcl6 output
printing pdf debian ghostscript
New contributor
zmolla is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
up vote
0
down vote
favorite
I need to convert .pcl files to .pdf files. I did some searching and found that gplc6 (from the Ghostscript family) is the tool I need. I ran the command like this:
gpcl6 -o test.pdf -sDEVICE=pdfwrite test.pcl
The problem is that the output pdf has no colors in it. Colors are not even converted to grayscale instead colored areas are not present in the pdf.
To make sure that the problem is not in the pcl file, I used the demo version of RED TITAN pcl viewer and it has colors in it. I even converted it to pdf and it was colored as expected.
How can i make the conversion without losing the colored areas?

RED TITAN output

gpcl6 output
printing pdf debian ghostscript
New contributor
zmolla is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Maybe this link will help, How to print PCL file output to PDF file instead of printer
– sudodus
Nov 27 at 12:36
@sudodus I already saw this question. It is how i knew about gpcl6 in the first place but they are not facing my problem. I appreciate your help anyways.
– zmolla
Nov 27 at 13:31
Are there many PCL files or only a few? I mean, would it work with a manual tool, or do you need a tool for a batch process.
– sudodus
Nov 27 at 13:36
@sudodus I need a tool for a batch process.
– zmolla
Nov 27 at 20:27
It is good for us to know that you need a batch tool. Let us hope that someone who knows about such a tool will see your question and help you :-)
– sudodus
Nov 27 at 20:32
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I need to convert .pcl files to .pdf files. I did some searching and found that gplc6 (from the Ghostscript family) is the tool I need. I ran the command like this:
gpcl6 -o test.pdf -sDEVICE=pdfwrite test.pcl
The problem is that the output pdf has no colors in it. Colors are not even converted to grayscale instead colored areas are not present in the pdf.
To make sure that the problem is not in the pcl file, I used the demo version of RED TITAN pcl viewer and it has colors in it. I even converted it to pdf and it was colored as expected.
How can i make the conversion without losing the colored areas?

RED TITAN output

gpcl6 output
printing pdf debian ghostscript
New contributor
zmolla is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
I need to convert .pcl files to .pdf files. I did some searching and found that gplc6 (from the Ghostscript family) is the tool I need. I ran the command like this:
gpcl6 -o test.pdf -sDEVICE=pdfwrite test.pcl
The problem is that the output pdf has no colors in it. Colors are not even converted to grayscale instead colored areas are not present in the pdf.
To make sure that the problem is not in the pcl file, I used the demo version of RED TITAN pcl viewer and it has colors in it. I even converted it to pdf and it was colored as expected.
How can i make the conversion without losing the colored areas?

RED TITAN output

gpcl6 output
printing pdf debian ghostscript
printing pdf debian ghostscript
New contributor
zmolla is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
zmolla is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
edited Nov 27 at 12:30
karel
55.3k11122140
55.3k11122140
New contributor
zmolla is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
asked Nov 27 at 9:42
zmolla
11
11
New contributor
zmolla is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
zmolla is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
zmolla is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Maybe this link will help, How to print PCL file output to PDF file instead of printer
– sudodus
Nov 27 at 12:36
@sudodus I already saw this question. It is how i knew about gpcl6 in the first place but they are not facing my problem. I appreciate your help anyways.
– zmolla
Nov 27 at 13:31
Are there many PCL files or only a few? I mean, would it work with a manual tool, or do you need a tool for a batch process.
– sudodus
Nov 27 at 13:36
@sudodus I need a tool for a batch process.
– zmolla
Nov 27 at 20:27
It is good for us to know that you need a batch tool. Let us hope that someone who knows about such a tool will see your question and help you :-)
– sudodus
Nov 27 at 20:32
add a comment |
Maybe this link will help, How to print PCL file output to PDF file instead of printer
– sudodus
Nov 27 at 12:36
@sudodus I already saw this question. It is how i knew about gpcl6 in the first place but they are not facing my problem. I appreciate your help anyways.
– zmolla
Nov 27 at 13:31
Are there many PCL files or only a few? I mean, would it work with a manual tool, or do you need a tool for a batch process.
– sudodus
Nov 27 at 13:36
@sudodus I need a tool for a batch process.
– zmolla
Nov 27 at 20:27
It is good for us to know that you need a batch tool. Let us hope that someone who knows about such a tool will see your question and help you :-)
– sudodus
Nov 27 at 20:32
Maybe this link will help, How to print PCL file output to PDF file instead of printer
– sudodus
Nov 27 at 12:36
Maybe this link will help, How to print PCL file output to PDF file instead of printer
– sudodus
Nov 27 at 12:36
@sudodus I already saw this question. It is how i knew about gpcl6 in the first place but they are not facing my problem. I appreciate your help anyways.
– zmolla
Nov 27 at 13:31
@sudodus I already saw this question. It is how i knew about gpcl6 in the first place but they are not facing my problem. I appreciate your help anyways.
– zmolla
Nov 27 at 13:31
Are there many PCL files or only a few? I mean, would it work with a manual tool, or do you need a tool for a batch process.
– sudodus
Nov 27 at 13:36
Are there many PCL files or only a few? I mean, would it work with a manual tool, or do you need a tool for a batch process.
– sudodus
Nov 27 at 13:36
@sudodus I need a tool for a batch process.
– zmolla
Nov 27 at 20:27
@sudodus I need a tool for a batch process.
– zmolla
Nov 27 at 20:27
It is good for us to know that you need a batch tool. Let us hope that someone who knows about such a tool will see your question and help you :-)
– sudodus
Nov 27 at 20:32
It is good for us to know that you need a batch tool. Let us hope that someone who knows about such a tool will see your question and help you :-)
– sudodus
Nov 27 at 20:32
add a comment |
1 Answer
1
active
oldest
votes
up vote
0
down vote
Try to add following switches
-sColorConversionStrategy=/RGB
-dProcessColorModel=/DeviceRGB
Hence the command should be
gpcl6 -sOutputFile=./test.pdf -sColorConversionStrategy=RGB -dProcessColorModel=/DeviceRGB -sDEVICE=pdfwrite test.pcl
I just tried your solution but it didn't solve the problem and i also tried putting CMYK instead of RGB but that didn't solve the problem too. Thank you.
– zmolla
Nov 28 at 8:45
Which gpcl6 version are you using? 9.26 is the one for 11/2018. Did you changedìccprofiles?
– abu_bua
Nov 28 at 12:30
I am using version 9.26 and i didn't change the icc profiles.
– zmolla
Nov 28 at 12:44
I got colored output.Compiled on Ubuntu18.04. Load up a sample pcl file.
– abu_bua
Nov 28 at 13:15
I really appreciate your help but unfortunately i can not upload a sample as they are confidential documents. I was also wondering if there is something you can tell me about icc profiles that would help.
– zmolla
2 days ago
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
Try to add following switches
-sColorConversionStrategy=/RGB
-dProcessColorModel=/DeviceRGB
Hence the command should be
gpcl6 -sOutputFile=./test.pdf -sColorConversionStrategy=RGB -dProcessColorModel=/DeviceRGB -sDEVICE=pdfwrite test.pcl
I just tried your solution but it didn't solve the problem and i also tried putting CMYK instead of RGB but that didn't solve the problem too. Thank you.
– zmolla
Nov 28 at 8:45
Which gpcl6 version are you using? 9.26 is the one for 11/2018. Did you changedìccprofiles?
– abu_bua
Nov 28 at 12:30
I am using version 9.26 and i didn't change the icc profiles.
– zmolla
Nov 28 at 12:44
I got colored output.Compiled on Ubuntu18.04. Load up a sample pcl file.
– abu_bua
Nov 28 at 13:15
I really appreciate your help but unfortunately i can not upload a sample as they are confidential documents. I was also wondering if there is something you can tell me about icc profiles that would help.
– zmolla
2 days ago
add a comment |
up vote
0
down vote
Try to add following switches
-sColorConversionStrategy=/RGB
-dProcessColorModel=/DeviceRGB
Hence the command should be
gpcl6 -sOutputFile=./test.pdf -sColorConversionStrategy=RGB -dProcessColorModel=/DeviceRGB -sDEVICE=pdfwrite test.pcl
I just tried your solution but it didn't solve the problem and i also tried putting CMYK instead of RGB but that didn't solve the problem too. Thank you.
– zmolla
Nov 28 at 8:45
Which gpcl6 version are you using? 9.26 is the one for 11/2018. Did you changedìccprofiles?
– abu_bua
Nov 28 at 12:30
I am using version 9.26 and i didn't change the icc profiles.
– zmolla
Nov 28 at 12:44
I got colored output.Compiled on Ubuntu18.04. Load up a sample pcl file.
– abu_bua
Nov 28 at 13:15
I really appreciate your help but unfortunately i can not upload a sample as they are confidential documents. I was also wondering if there is something you can tell me about icc profiles that would help.
– zmolla
2 days ago
add a comment |
up vote
0
down vote
up vote
0
down vote
Try to add following switches
-sColorConversionStrategy=/RGB
-dProcessColorModel=/DeviceRGB
Hence the command should be
gpcl6 -sOutputFile=./test.pdf -sColorConversionStrategy=RGB -dProcessColorModel=/DeviceRGB -sDEVICE=pdfwrite test.pcl
Try to add following switches
-sColorConversionStrategy=/RGB
-dProcessColorModel=/DeviceRGB
Hence the command should be
gpcl6 -sOutputFile=./test.pdf -sColorConversionStrategy=RGB -dProcessColorModel=/DeviceRGB -sDEVICE=pdfwrite test.pcl
edited Nov 27 at 22:33
answered Nov 27 at 22:21
abu_bua
3,06081023
3,06081023
I just tried your solution but it didn't solve the problem and i also tried putting CMYK instead of RGB but that didn't solve the problem too. Thank you.
– zmolla
Nov 28 at 8:45
Which gpcl6 version are you using? 9.26 is the one for 11/2018. Did you changedìccprofiles?
– abu_bua
Nov 28 at 12:30
I am using version 9.26 and i didn't change the icc profiles.
– zmolla
Nov 28 at 12:44
I got colored output.Compiled on Ubuntu18.04. Load up a sample pcl file.
– abu_bua
Nov 28 at 13:15
I really appreciate your help but unfortunately i can not upload a sample as they are confidential documents. I was also wondering if there is something you can tell me about icc profiles that would help.
– zmolla
2 days ago
add a comment |
I just tried your solution but it didn't solve the problem and i also tried putting CMYK instead of RGB but that didn't solve the problem too. Thank you.
– zmolla
Nov 28 at 8:45
Which gpcl6 version are you using? 9.26 is the one for 11/2018. Did you changedìccprofiles?
– abu_bua
Nov 28 at 12:30
I am using version 9.26 and i didn't change the icc profiles.
– zmolla
Nov 28 at 12:44
I got colored output.Compiled on Ubuntu18.04. Load up a sample pcl file.
– abu_bua
Nov 28 at 13:15
I really appreciate your help but unfortunately i can not upload a sample as they are confidential documents. I was also wondering if there is something you can tell me about icc profiles that would help.
– zmolla
2 days ago
I just tried your solution but it didn't solve the problem and i also tried putting CMYK instead of RGB but that didn't solve the problem too. Thank you.
– zmolla
Nov 28 at 8:45
I just tried your solution but it didn't solve the problem and i also tried putting CMYK instead of RGB but that didn't solve the problem too. Thank you.
– zmolla
Nov 28 at 8:45
Which gpcl6 version are you using? 9.26 is the one for 11/2018. Did you changed
ìccprofiles?– abu_bua
Nov 28 at 12:30
Which gpcl6 version are you using? 9.26 is the one for 11/2018. Did you changed
ìccprofiles?– abu_bua
Nov 28 at 12:30
I am using version 9.26 and i didn't change the icc profiles.
– zmolla
Nov 28 at 12:44
I am using version 9.26 and i didn't change the icc profiles.
– zmolla
Nov 28 at 12:44
I got colored output.Compiled on Ubuntu18.04. Load up a sample pcl file.
– abu_bua
Nov 28 at 13:15
I got colored output.Compiled on Ubuntu18.04. Load up a sample pcl file.
– abu_bua
Nov 28 at 13:15
I really appreciate your help but unfortunately i can not upload a sample as they are confidential documents. I was also wondering if there is something you can tell me about icc profiles that would help.
– zmolla
2 days ago
I really appreciate your help but unfortunately i can not upload a sample as they are confidential documents. I was also wondering if there is something you can tell me about icc profiles that would help.
– zmolla
2 days ago
add a comment |
zmolla is a new contributor. Be nice, and check out our Code of Conduct.
zmolla is a new contributor. Be nice, and check out our Code of Conduct.
zmolla is a new contributor. Be nice, and check out our Code of Conduct.
zmolla is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1096430%2fpcl-to-pdf-with-colors%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Maybe this link will help, How to print PCL file output to PDF file instead of printer
– sudodus
Nov 27 at 12:36
@sudodus I already saw this question. It is how i knew about gpcl6 in the first place but they are not facing my problem. I appreciate your help anyways.
– zmolla
Nov 27 at 13:31
Are there many PCL files or only a few? I mean, would it work with a manual tool, or do you need a tool for a batch process.
– sudodus
Nov 27 at 13:36
@sudodus I need a tool for a batch process.
– zmolla
Nov 27 at 20:27
It is good for us to know that you need a batch tool. Let us hope that someone who knows about such a tool will see your question and help you :-)
– sudodus
Nov 27 at 20:32