summaryrefslogtreecommitdiff
path: root/usr.bin/file/magdir/printer
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/file/magdir/printer')
-rw-r--r--usr.bin/file/magdir/printer25
1 files changed, 15 insertions, 10 deletions
diff --git a/usr.bin/file/magdir/printer b/usr.bin/file/magdir/printer
index fb1fe62b890..6afbe4849cd 100644
--- a/usr.bin/file/magdir/printer
+++ b/usr.bin/file/magdir/printer
@@ -1,4 +1,4 @@
-# $OpenBSD: printer,v 1.6 2008/05/08 01:40:57 chl Exp $
+# $OpenBSD: printer,v 1.7 2009/04/24 18:54:34 chl Exp $
#------------------------------------------------------------------------------
# printer: file(1) magic for printer-formatted files
@@ -6,21 +6,26 @@
# PostScript, updated by Daniel Quinlan (quinlan@yggdrasil.com)
0 string %! PostScript document text
+!:mime application/postscript
>2 string PS-Adobe- conforming
->>11 string >\0 at level %.3s
->>>15 string EPS - type %s
->>>15 string Query - type %s
->>>15 string ExitServer - type %s
+>>11 string >\0 DSC level %.3s
+>>>15 string EPS \b, type %s
+>>>15 string Query \b, type %s
+>>>15 string ExitServer \b, type %s
+>>>15 search/1000 %%LanguageLevel:\
+>>>>&0 string >\0 \b, Level %s
# Some PCs have the annoying habit of adding a ^D as a document separator
0 string \004%! PostScript document text
+!:mime application/postscript
>3 string PS-Adobe- conforming
->>12 string >\0 at level %.3s
->>>16 string EPS - type %s
->>>16 string Query - type %s
->>>16 string ExitServer - type %s
+>>12 string >\0 DSC level %.3s
+>>>16 string EPS \b, type %s
+>>>16 string Query \b, type %s
+>>>16 string ExitServer \b, type %s
+>>>16 search/1000 %%LanguageLevel:\
+>>>>&0 string >\0 \b, Level %s
0 string \033%-12345X%!PS PostScript document
-
# DOS EPS Binary File Header
# From: Ed Sznyter <ews@Black.Market.NET>
0 belong 0xC5D0D3C6 DOS EPS Binary File