head	1.4;
access;
symbols
	file-4_20:1.4
	rpm-4_4_8-release:1.3.2.1
	rpm-4_4_7-release:1.3.2.1
	rpm-4_4_6-release:1.3.2.1
	rpm-4_4_5-release:1.3.2.1
	rpm-4_4_4-release:1.3.2.1
	rpm-4_4_3-release:1.3.2.1
	file-4_16:1.4
	jbj_before_tklcpatches:1.3.2.1
	rpm-4_4_2-release:1.3.2.1
	file-4_14:1.4
	pjones-sparse-experiment:1.3.0.4
	rpm-4_4_1-release:1.3
	file-4_12:1.3
	rpm-4_4-release:1.3
	rpm-4_4:1.3.0.2
	file-4_10:1.3
	file-4_09:1.2
	rpm-file-before:1.1
	rpm42-file-before:1.1
	rpm43-file-before:1.1
	rpm-4_3_1-start:1.1
	rpm-4_3:1.1.0.4
	rpm-4_2:1.1.0.2;
locks; strict;
comment	@# @;


1.4
date	2005.07.16.21.06.33;	author jbj;	state Exp;
branches;
next	1.3;

1.3
date	2004.08.03.20.31.49;	author jbj;	state Exp;
branches
	1.3.2.1;
next	1.2;

1.2
date	2004.08.03.20.16.18;	author jbj;	state Exp;
branches;
next	1.1;

1.1
date	2003.04.15.16.58.36;	author jbj;	state Exp;
branches
	1.1.2.1
	1.1.4.1;
next	;

1.3.2.1
date	2005.07.17.14.55.57;	author jbj;	state Exp;
branches;
next	;

1.1.2.1
date	2003.12.01.21.20.02;	author jbj;	state Exp;
branches;
next	;

1.1.4.1
date	2004.12.07.00.57.38;	author jbj;	state Exp;
branches;
next	;


desc
@@


1.4
log
@Update to virgin file-4.14.
@
text
@
#------------------------------------------------------------------------------
# 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
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
>4      long            >0              Postscript starts at byte %d
>>8     long            >0              length %d
>>>12   long            >0              Metafile starts at byte %d
>>>>16  long            >0              length %d
>>>20   long            >0              TIFF starts at byte %d
>>>>24  long            >0              length %d

# Adobe's PostScript Printer Description (PPD) files
#       Yves Arrouye <arrouye@@marin.fdn.fr>
#
0      string          *PPD-Adobe:    PPD file
>13    string          x              \b, ve

# HP Printer Job Language
0	string		\033%-12345X@@PJL	HP Printer Job Language data
# HP Printer Job Language
# The header found on Win95 HP plot files is the "Silliest Thing possible" 
# (TM)
# Every driver puts the language at some random position, with random case
# (LANGUAGE and Language)
# For example the LaserJet 5L driver puts the "PJL ENTER LANGUAGE" in line 10
# From: Uwe Bonnes <bon@@elektron.ikp.physik.th-darmstadt.de>
# 
0	string		\033%-12345X@@PJL	HP Printer Job Language data
>&0	string		>\0			%s			
>>&0	string		>\0			%s			
>>>&0	string		>\0			%s		
>>>>&0	string		>\0			%s		
#>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 %s
# From Jukka Ukkonen
0	string		\033[K\002\0\0\017\033(a\001\0\001\033(g	Canon Bubble Jet BJC formatted data

# From <mike@@flyn.org>
# These are the /etc/magic entries to decode data sent to an Epson printer.
0       string          \x1B\x40\x1B\x28\x52\x08\x00\x00REMOTE1P        Epson Stylus Color 460 data


#------------------------------------------------------------------------------
# zenographics:  file(1) magic for Zenographics ZjStream printer data
# Rick Richardson  rickr@@mn.rr.com
0	string		JZJZ
>0x12	string		ZZ		Zenographics ZjStream printer data (big-endian)
0	string		ZJZJ
>0x12	string		ZZ		Zenographics ZjStream printer data (little-endian)


#------------------------------------------------------------------------------
# Oak Technologies printer stream
# Rick Richardson <rickr@@mn.rr.com>
0       string          OAK
>0x07	byte		0
>0x0b	byte		0	Oak Technologies printer stream

# This would otherwise be recognized as PostScript - nick@@debian.org
0	string		%!VMF 		SunClock's Vector Map Format data

#------------------------------------------------------------------------------
# HP LaserJet 1000 series downloadable firmware file
0	string	\xbe\xefABCDEFGH	HP LaserJet 1000 series downloadable firmware   

# From: Paolo <oopla@@users.sf.net>
# Epson ESC/Page, ESC/PageColor 
0	string	\x1b\x01@@EJL	Epson ESC/Page language printer data
@


1.3
log
@Upgrade to file-4.10.
@
text
@d117 4
@


1.3.2.1
log
@- upgrade to file-4.14 internal.
@
text
@a116 4

# From: Paolo <oopla@@users.sf.net>
# Epson ESC/Page, ESC/PageColor 
0	string	\x1b\x01@@EJL	Epson ESC/Page language printer data
@


1.2
log
@Upgrade to file-4.09.
@
text
@d86 1
a86 1
>45	string		>0		face %
@


1.1
log
@Move magic creation to sub-directory.
@
text
@d93 24
@


1.1.4.1
log
@- port to internal file-4.10 libmagic rather than libfmagic.
@
text
@d86 1
a86 1
>45	string		>0		face %s
a92 24


#------------------------------------------------------------------------------
# zenographics:  file(1) magic for Zenographics ZjStream printer data
# Rick Richardson  rickr@@mn.rr.com
0	string		JZJZ
>0x12	string		ZZ		Zenographics ZjStream printer data (big-endian)
0	string		ZJZJ
>0x12	string		ZZ		Zenographics ZjStream printer data (little-endian)


#------------------------------------------------------------------------------
# Oak Technologies printer stream
# Rick Richardson <rickr@@mn.rr.com>
0       string          OAK
>0x07	byte		0
>0x0b	byte		0	Oak Technologies printer stream

# This would otherwise be recognized as PostScript - nick@@debian.org
0	string		%!VMF 		SunClock's Vector Map Format data

#------------------------------------------------------------------------------
# HP LaserJet 1000 series downloadable firmware file
0	string	\xbe\xefABCDEFGH	HP LaserJet 1000 series downloadable firmware   
@


1.1.2.1
log
@Merge from top-of-stack.
@
text
@@

