1

When sending a text file to the printer from the command line (by, e.g., lpr -P printer-name file.txt), is it possible to specify that inverted colors be used by the printer (i.e., white text on black background)?

0

lpr does not have an option for this. Your printer may accept an option that can be used for this purpose. To use that hypothetical option, you would use lpoptions:

  • use lpoptions -l to list the available options, and
  • use lpoptions -o to set a particular option.

These are CUPS commands, and likely are on your computer.

Different printers have different options.

Further reading:

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.