How do I specify a color profile / ICC when printing using lp or lpr?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












I've got an Ubuntu server setup and connected to an Epson 3880 printer. I want to be able to print files using the command line only (mainly because I want to run it via SSH and in batches). I've got gutenprint and cups installed and the printer is all working after I set it up with a compatible Epson 3880 ppd.



The files I have are pdf/x-4 files that already have the ICC profile embedded. When printing via lp, the pdf prints in very high quality but the colours are simply not right so it seems to ignore the embedded profile. I've got the ICC file, but can't find any command line options to use it.



Any ideas how I can print and either:



  • specify an ICC profile when printing using lp or lpr etc?

  • or any tools/program for Linux that can recognise and use embedded profiles in a PDF/X-4?

Thanks..










share|improve this question





















  • Have a look at lpoptions, but I doubt it - color profile support in Linux is rather lacking. You may get something to work if you can figure out what the CUPS pipeline uses to render on the EPson 3880, and if you can somehow convince the rendering program to accept the color profile (or use a different method of rendering).
    – dirkt
    Sep 25 '17 at 10:11










  • Hi - thanks for the response. I'm not at the server at the moment, but from what I remember, the lpoptions present some standard options for the printer (like B&W/Color/Page Size etc) as well as the additional Printer specific settings that are contained within the PPD options file (e.g. for my Epson 3880 things like MatteBlack or PhotoBlack and Paper type). There are settings in there to adjust color balance like Hue, but these are different to ICC profile. Will try CUPS in debug and see what it's doing when printing a file. Is there a separate log file specific to lp or lpr?
    – Coops
    Sep 25 '17 at 10:32











  • It's been a while since I fiddled with CUPS, and I don't remember the details. Basically CUPS calls a number of programs in a filter chain to render the file to print into a format the printer understands, and then sends it to the print, again using one or several programs depending on how your printer is connected. You have to find the one that does it for your Epson, for example Ghostscript with a special commandline. I don't think there was a specific logfile, but as I said, it's been some time.
    – dirkt
    Sep 25 '17 at 13:24














up vote
0
down vote

favorite












I've got an Ubuntu server setup and connected to an Epson 3880 printer. I want to be able to print files using the command line only (mainly because I want to run it via SSH and in batches). I've got gutenprint and cups installed and the printer is all working after I set it up with a compatible Epson 3880 ppd.



The files I have are pdf/x-4 files that already have the ICC profile embedded. When printing via lp, the pdf prints in very high quality but the colours are simply not right so it seems to ignore the embedded profile. I've got the ICC file, but can't find any command line options to use it.



Any ideas how I can print and either:



  • specify an ICC profile when printing using lp or lpr etc?

  • or any tools/program for Linux that can recognise and use embedded profiles in a PDF/X-4?

Thanks..










share|improve this question





















  • Have a look at lpoptions, but I doubt it - color profile support in Linux is rather lacking. You may get something to work if you can figure out what the CUPS pipeline uses to render on the EPson 3880, and if you can somehow convince the rendering program to accept the color profile (or use a different method of rendering).
    – dirkt
    Sep 25 '17 at 10:11










  • Hi - thanks for the response. I'm not at the server at the moment, but from what I remember, the lpoptions present some standard options for the printer (like B&W/Color/Page Size etc) as well as the additional Printer specific settings that are contained within the PPD options file (e.g. for my Epson 3880 things like MatteBlack or PhotoBlack and Paper type). There are settings in there to adjust color balance like Hue, but these are different to ICC profile. Will try CUPS in debug and see what it's doing when printing a file. Is there a separate log file specific to lp or lpr?
    – Coops
    Sep 25 '17 at 10:32











  • It's been a while since I fiddled with CUPS, and I don't remember the details. Basically CUPS calls a number of programs in a filter chain to render the file to print into a format the printer understands, and then sends it to the print, again using one or several programs depending on how your printer is connected. You have to find the one that does it for your Epson, for example Ghostscript with a special commandline. I don't think there was a specific logfile, but as I said, it's been some time.
    – dirkt
    Sep 25 '17 at 13:24












up vote
0
down vote

favorite









up vote
0
down vote

favorite











I've got an Ubuntu server setup and connected to an Epson 3880 printer. I want to be able to print files using the command line only (mainly because I want to run it via SSH and in batches). I've got gutenprint and cups installed and the printer is all working after I set it up with a compatible Epson 3880 ppd.



The files I have are pdf/x-4 files that already have the ICC profile embedded. When printing via lp, the pdf prints in very high quality but the colours are simply not right so it seems to ignore the embedded profile. I've got the ICC file, but can't find any command line options to use it.



Any ideas how I can print and either:



  • specify an ICC profile when printing using lp or lpr etc?

  • or any tools/program for Linux that can recognise and use embedded profiles in a PDF/X-4?

Thanks..










share|improve this question













I've got an Ubuntu server setup and connected to an Epson 3880 printer. I want to be able to print files using the command line only (mainly because I want to run it via SSH and in batches). I've got gutenprint and cups installed and the printer is all working after I set it up with a compatible Epson 3880 ppd.



The files I have are pdf/x-4 files that already have the ICC profile embedded. When printing via lp, the pdf prints in very high quality but the colours are simply not right so it seems to ignore the embedded profile. I've got the ICC file, but can't find any command line options to use it.



Any ideas how I can print and either:



  • specify an ICC profile when printing using lp or lpr etc?

  • or any tools/program for Linux that can recognise and use embedded profiles in a PDF/X-4?

Thanks..







pdf cups printer lpr lp






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Sep 25 '17 at 8:04









Coops

1




1











  • Have a look at lpoptions, but I doubt it - color profile support in Linux is rather lacking. You may get something to work if you can figure out what the CUPS pipeline uses to render on the EPson 3880, and if you can somehow convince the rendering program to accept the color profile (or use a different method of rendering).
    – dirkt
    Sep 25 '17 at 10:11










  • Hi - thanks for the response. I'm not at the server at the moment, but from what I remember, the lpoptions present some standard options for the printer (like B&W/Color/Page Size etc) as well as the additional Printer specific settings that are contained within the PPD options file (e.g. for my Epson 3880 things like MatteBlack or PhotoBlack and Paper type). There are settings in there to adjust color balance like Hue, but these are different to ICC profile. Will try CUPS in debug and see what it's doing when printing a file. Is there a separate log file specific to lp or lpr?
    – Coops
    Sep 25 '17 at 10:32











  • It's been a while since I fiddled with CUPS, and I don't remember the details. Basically CUPS calls a number of programs in a filter chain to render the file to print into a format the printer understands, and then sends it to the print, again using one or several programs depending on how your printer is connected. You have to find the one that does it for your Epson, for example Ghostscript with a special commandline. I don't think there was a specific logfile, but as I said, it's been some time.
    – dirkt
    Sep 25 '17 at 13:24
















  • Have a look at lpoptions, but I doubt it - color profile support in Linux is rather lacking. You may get something to work if you can figure out what the CUPS pipeline uses to render on the EPson 3880, and if you can somehow convince the rendering program to accept the color profile (or use a different method of rendering).
    – dirkt
    Sep 25 '17 at 10:11










  • Hi - thanks for the response. I'm not at the server at the moment, but from what I remember, the lpoptions present some standard options for the printer (like B&W/Color/Page Size etc) as well as the additional Printer specific settings that are contained within the PPD options file (e.g. for my Epson 3880 things like MatteBlack or PhotoBlack and Paper type). There are settings in there to adjust color balance like Hue, but these are different to ICC profile. Will try CUPS in debug and see what it's doing when printing a file. Is there a separate log file specific to lp or lpr?
    – Coops
    Sep 25 '17 at 10:32











  • It's been a while since I fiddled with CUPS, and I don't remember the details. Basically CUPS calls a number of programs in a filter chain to render the file to print into a format the printer understands, and then sends it to the print, again using one or several programs depending on how your printer is connected. You have to find the one that does it for your Epson, for example Ghostscript with a special commandline. I don't think there was a specific logfile, but as I said, it's been some time.
    – dirkt
    Sep 25 '17 at 13:24















Have a look at lpoptions, but I doubt it - color profile support in Linux is rather lacking. You may get something to work if you can figure out what the CUPS pipeline uses to render on the EPson 3880, and if you can somehow convince the rendering program to accept the color profile (or use a different method of rendering).
– dirkt
Sep 25 '17 at 10:11




Have a look at lpoptions, but I doubt it - color profile support in Linux is rather lacking. You may get something to work if you can figure out what the CUPS pipeline uses to render on the EPson 3880, and if you can somehow convince the rendering program to accept the color profile (or use a different method of rendering).
– dirkt
Sep 25 '17 at 10:11












Hi - thanks for the response. I'm not at the server at the moment, but from what I remember, the lpoptions present some standard options for the printer (like B&W/Color/Page Size etc) as well as the additional Printer specific settings that are contained within the PPD options file (e.g. for my Epson 3880 things like MatteBlack or PhotoBlack and Paper type). There are settings in there to adjust color balance like Hue, but these are different to ICC profile. Will try CUPS in debug and see what it's doing when printing a file. Is there a separate log file specific to lp or lpr?
– Coops
Sep 25 '17 at 10:32





Hi - thanks for the response. I'm not at the server at the moment, but from what I remember, the lpoptions present some standard options for the printer (like B&W/Color/Page Size etc) as well as the additional Printer specific settings that are contained within the PPD options file (e.g. for my Epson 3880 things like MatteBlack or PhotoBlack and Paper type). There are settings in there to adjust color balance like Hue, but these are different to ICC profile. Will try CUPS in debug and see what it's doing when printing a file. Is there a separate log file specific to lp or lpr?
– Coops
Sep 25 '17 at 10:32













It's been a while since I fiddled with CUPS, and I don't remember the details. Basically CUPS calls a number of programs in a filter chain to render the file to print into a format the printer understands, and then sends it to the print, again using one or several programs depending on how your printer is connected. You have to find the one that does it for your Epson, for example Ghostscript with a special commandline. I don't think there was a specific logfile, but as I said, it's been some time.
– dirkt
Sep 25 '17 at 13:24




It's been a while since I fiddled with CUPS, and I don't remember the details. Basically CUPS calls a number of programs in a filter chain to render the file to print into a format the printer understands, and then sends it to the print, again using one or several programs depending on how your printer is connected. You have to find the one that does it for your Epson, for example Ghostscript with a special commandline. I don't think there was a specific logfile, but as I said, it's been some time.
– dirkt
Sep 25 '17 at 13:24















active

oldest

votes











Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f394264%2fhow-do-i-specify-a-color-profile-icc-when-printing-using-lp-or-lpr%23new-answer', 'question_page');

);

Post as a guest



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes















 

draft saved


draft discarded















































 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f394264%2fhow-do-i-specify-a-color-profile-icc-when-printing-using-lp-or-lpr%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

How to check contact read email or not when send email to Individual?

Bahrain

Postfix configuration issue with fips on centos 7; mailgun relay