12c550bd9f
Obtained from: ftp://ftp.deshaw.com/pub/file/file-3.22.tar.gz
56 lines
2.1 KiB
Plaintext
56 lines
2.1 KiB
Plaintext
|
|
#------------------------------------------------------------------------------
|
|
# printer: file(1) magic for printer-formatted files
|
|
#
|
|
|
|
# PostScript, updated by Daniel Quinlan (quinlan@yggdrasil.com)
|
|
0 string %! PostScript document text
|
|
>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
|
|
# Some PCs have the annoying habit of adding a ^D as a document separator
|
|
0 string \004%! PostScript document text
|
|
>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
|
|
|
|
# HP Printer Job Language
|
|
0 string \033%-12345X@PJL HP Printer Job Language data
|
|
>15 string \ ENTER\ LANGUAGE\ =
|
|
>31 string PostScript PostScript
|
|
|
|
# HP Printer Control Language, Daniel Quinlan (quinlan@yggdrasil.com)
|
|
0 string \033E\033 HP PCL printer data
|
|
>3 string \&l0A - default page size
|
|
>3 string \&l1A - US executive page size
|
|
>3 string \&l2A - US letter page size
|
|
>3 string \&l3A - US legal page size
|
|
>3 string \&l26A - A4 page size
|
|
>3 string \&l80A - Monarch envelope size
|
|
>3 string \&l81A - No. 10 envelope size
|
|
>3 string \&l90A - Intl. DL envelope size
|
|
>3 string \&l91A - Intl. C5 envelope size
|
|
>3 string \&l100A - Intl. B5 envelope size
|
|
>3 string \&l-81A - No. 10 envelope size (landscape)
|
|
>3 string \&l-90A - Intl. DL envelope size (landscape)
|
|
|
|
# IMAGEN printer-ready files:
|
|
0 string @document( Imagen printer
|
|
# this only works if "language xxx" is first item in Imagen header.
|
|
>10 string language\ impress (imPRESS data)
|
|
>10 string language\ daisy (daisywheel text)
|
|
>10 string language\ diablo (daisywheel text)
|
|
>10 string language\ printer (line printer emulation)
|
|
>10 string language\ tektronix (Tektronix 4014 emulation)
|
|
# Add any other languages that your Imagen uses - remember
|
|
# to keep the word `text' if the file is human-readable.
|
|
# [GRR 950115: missing "postscript" or "ultrascript" (whatever it was called)]
|
|
#
|
|
# Now magic for IMAGEN font files...
|
|
0 string Rast RST-format raster font data
|
|
>45 string >0 face %
|