From: Reuben Thomas Date: Tue, 12 Feb 2008 15:48:04 +0000 (+0000) Subject: Fix Postscript version printing (Debian bug #129518) X-Git-Tag: FILE5_05~495 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3ff9ed0d285e210e22db998b7a083ec2b9ad4739;p=file Fix Postscript version printing (Debian bug #129518) --- diff --git a/magic/Magdir/printer b/magic/Magdir/printer index 552808fa..17280ab9 100644 --- a/magic/Magdir/printer +++ b/magic/Magdir/printer @@ -7,21 +7,24 @@ 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 0 belong 0xC5D0D3C6 DOS EPS Binary File