Before you write the report
Read the REPORTING_ISSUES.md file in the main repository and prepare data mentioned there which looks relevant to you issue. -- done
Describe the bug
lp and lpr are unable to get plain ASCII files printed.
To Reproduce
Steps to reproduce the behavior:
- Use any ASCII-encoded file. Ubiquitous example could be
/etc/bash_completion.d/000_bash_completion_compat.bash.
- Send to printer with
lp -d <printer> <ASCII file>
- Observe an output of blank pages (Epson ET) or no pages at all (HP LaserJet, Lexmark).
- If you are on an Arch-based system, the print command results in garbled output.
Expected behavior
The file gets printed as a text file with the printer's default font for plain ASCII printing.
Screenshots
Photo of Arch output could be supplied if needed.
System Information:
- OS and its version: Ubuntu 25.10, but issue exists for a long time in older versions. Also Arch Linux as a second reference point. While Ubuntu prints blank pages or nothing at all, Arch Linux CUPS prints pages with gibberish.
- Application CLI
- CUPS version 2.4.12-0ubuntu3, or 2.4.14-1 (Arch)
Additional context
If the file is opened by paps and converted to postscript, it prints as expected (paps <ASCII file> | lp -d <printer> -o <options>.
Before you write the report
Read the REPORTING_ISSUES.md file in the main repository and prepare data mentioned there which looks relevant to you issue. -- done
Describe the bug
lpandlprare unable to get plain ASCII files printed.To Reproduce
Steps to reproduce the behavior:
/etc/bash_completion.d/000_bash_completion_compat.bash.lp -d <printer> <ASCII file>Expected behavior
The file gets printed as a text file with the printer's default font for plain ASCII printing.
Screenshots
Photo of Arch output could be supplied if needed.
System Information:
Additional context
If the file is opened by
papsand converted to postscript, it prints as expected (paps <ASCII file> | lp -d <printer> -o <options>.