lp: Unsupported document-format "text/plain" (Doc ID 1522066.1)

Last updated on JUNE 16, 2017

Applies to:

Linux OS - Version Oracle Linux 5.5 and later
Linux x86
Linux x86-64

Symptoms

The 'lp' command complains about 'Unsupported document-format "text/plain"' while printing plain text file:

# lp test
lp: Unsupported document-format "text/plain".

 But 'lpstat' command shows the printer is working fine:

$ lpstat -t
scheduler is running
system default destination: HPLaserJet9040PCL6
device for HPLaserJet9040PCL6: socket://10.1.1.12:9100
device for second: lpd://10.1.1.1:515/binary_p1
device for test1: lpd://10.1.1.6:515/HPlaserJ
HPLaserJet9040PCL6 accepting requests since Mon 14 Jan 2013 01:08:35 PM AST
second accepting requests since Thu 27 Dec 2012 06:19:41 PM AST
test1 accepting requests since Thu 27 Dec 2012 09:22:05 PM AST
printer HPLaserJet9040PCL6 is idle. enabled since Mon 14 Jan 2013 01:08:35 PM AST
printer second is idle. enabled since Thu 27 Dec 2012 06:19:41 PM AST
printer test1 is idle. enabled since Thu 27 Dec 2012 09:22:05 PM AST

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms