Skip to ContentSkip to Footer
Start of content
- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - Linux
- >
- General
- >
- ASCII file won't print - document format not suppo...
General
-
- Forums
-
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Middle East
- HPE Blog, Latin America
- HPE Blog, Russia
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
-
Blogs
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Blog, Latin America
- HPE Blog, Middle East
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
-
Information
- Community
- Welcome
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Tips and Tricks
- Resources
- Announcements
- Email us
- Feedback
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
Forums
-
Blogs
-
Information
-
English
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
01-24-2002 07:48 AM
01-24-2002 07:48 AM
ASCII file won't print - document format not supported
When I try to print using "lp" directly from a Unix prompt to a network printer configured with CUPS, I am getting the error :
"lp: unable to print file: client-error-document-format-not-supported".
The system is a Red Hat 7.0 server.
The type of file is "ASCII" - its a simple column formatted file -- attached if that helps.
"lp: unable to print file: client-error-document-format-not-supported".
The system is a Red Hat 7.0 server.
The type of file is "ASCII" - its a simple column formatted file -- attached if that helps.
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
01-27-2002 03:06 AM
01-27-2002 03:06 AM
Re: ASCII file won't print - document format not supported
Hello Debbie,
Your file may not be recognized by CUPS as ascii (aka text) file.
To diagnose this, try printing another file (/etc/hosts for example). If it works, you can now be sure that your ascii file is not in the right format.
If it comes from MS-DOS/Windows, try dos2unix in order to remove extra- LINEFEED and EOF marks generally added by Microsoft tools.
Otherwise, edit your file with a Linux text editor (vi, gedit, ...) and print it again.
Good luck.
Kodjo
Your file may not be recognized by CUPS as ascii (aka text) file.
To diagnose this, try printing another file (/etc/hosts for example). If it works, you can now be sure that your ascii file is not in the right format.
If it comes from MS-DOS/Windows, try dos2unix in order to remove extra- LINEFEED and EOF marks generally added by Microsoft tools.
Otherwise, edit your file with a Linux text editor (vi, gedit, ...) and print it again.
Good luck.
Kodjo
Learn and explain...
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
End of content
United States
Hewlett Packard Enterprise International
Communities
- Communities
- HPE Blogs and Forum
© Copyright 2021 Hewlett Packard Enterprise Development LP