Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
CUPS Administrative Guide

You're reading from  CUPS Administrative Guide

Product type Book
Published in Sep 2008
Publisher
ISBN-13 9781847192585
Pages 248 pages
Edition 1st Edition
Languages
Concepts
Author (1):
Ankur Shah Ankur Shah
Profile icon Ankur Shah

Table of Contents (16) Chapters

CUPS Administrative Guide
Credits
About the Author
1. Acknowledgement
About the Reviewer
2. Preface
1. Introduction 2. Building and Installing CUPS 3. Printer Management 4. Managing Multiple Printers at a Time 5. CUPS Server Management 6. Client Setup 7. Quota Management 8. Monitoring CUPS 9. File Typing and Filtering 10. Security

An Overview of the mime.types file


CUPS provides a MIME-based file typing and filtering mechanism to convert files to a printable format for each printer. On start up, CUPS reads the MIME database files in the directory /etc/cups with a suffix *.types. It also includes the mime.types file that defines the information about the known file types. These files consist of rules that help CUPS recognize a MIME type when it performs autotyping. These database files are plain ASCII text, and can be edited with your favorite text editor.

Note

MIME types describe a file format in a non-ambiguous way. MIME types are separated into different categories such as main_category or minor_category, and they are registered with IANA (Internet Assigning Numbers Authority). Vendors may register their own proprietary file formats with IANA, provided they explain the method to recognize the format in a unique and unambiguous method.

Each line of the file starts with the MIME type and may be followed by one or more...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}