# HP Mode Set configuration file.
#
# Printer: LaserJet 4Si/4SiMx
#
# LaserJet-4Si,v 1.2 1996/01/21 22:26:53 glennm Exp
#
##############################################################################
# The global section defines global commands that are mandatory
#
# The variables recognised within the global section define a number of values
# used in composing a printer control command.  The variables include:
#
#	job_header	 - defines the string used at the start of every job
#	job_trailer	 - defines the string used at the end of every job
#       reset_command    - the command to reset the printer back to default values
#       end_of_command   - the string appended to every command
#       white_space      - used between every command component.
#
# Values for all of these variables must be given.
###############################################################################
#
# Syntax:
#	name			value
#
Section globals
	job_header		"%/27/%%-12345X@PJL COMMENT Generated by Hpmodeset (C) 1995 Glenn Maughan" 
	job_trailer		"%/27/%%-12345X@PJL COMMENT end of job"
	reset_command		"@PJL RESET%N%/27/%%-12345X"
	end_of_command		"%N"
	white_space		" "		
EndSection


#############################################################################
# The languages section defines the languages supported by the printer and 
# the magic numbers to search for to determine the language.
#
# List the languages that your printer supports.  The `magic_string' will be 
# used to determine what language the print file is in.  The `magic_string' 
# is searched for at `offset'.  `offset' should start at 1 not zero.  
#
# At least one language must be specified.
#############################################################################
#
# Syntax:
#	language	enter command				leave command	offset		magic_string
#
Section languages
	postscript	"@PJL ENTER LANGUAGE = POSTSCRIPT"	"%/4/"		1		"%%!"
	pcl		"@PJL ENTER LANGUAGE = PCL"		""		1		"%/27/E%/27/"	# <esc>E<esc>
EndSection


############################################################################
# The variables section defines the variables that can be changed using the 
# `set_command'.
# 
# Each variable line should list the command line switch used to set the 
# value, the printer command variable name, the valid options for the 
# variable and the default option.
# 
# Options are currently case sensitive.  If the printer accepts both cases for
# options then you need to specify both.
############################################################################
#
# General variables
# 
# Some variables modify the User Default Environment as well as the Current Environment.  
# Be careful with these variables as the changes will remain set even after an intialise.  The
# only way to reset them to factory defaults is to send a "@PJL INITIALIZE" command.
#
# Variables that can only be set with default commands are included.  Again, these will modify the
# User Default Environment as well as the Current Environment.
# 
# Default paper sizes are A4.  This is because I live in Australia!  You may change them to LETTER.
#
# Syntax:
# 	switch			variable			options			default	
#						
Section variables		
	-binding		"@PJL SET BINDING ="		LONGEDGE,SHORTEDGE,
								longedge,shortedge	LONGEDGE
	-copies			"@PJL SET COPIES ="		1-999			1
	-cplock			"@PJL SET CPLOCK ="		OFF,ON,off,on		OFF
	-duplex			"@PJL SET DUPLEX ="		OFF,ON,off,on		OFF	
	-formlines		"@PJL SET FORMLINES ="		5-128			60
	-joboffset		"@PJL SET JOBOFFSET ="		OFF,ON,off,on		ON
	-manualfeed		"@PJL SET MANUALFEED ="		ON,OFF,on,off		OFF
	-orientation		"@PJL SET ORIENTATION ="	PORTRAIT,LANDSCAPE,
								portrait,landscape	PORTRAIT
	-outbin			"@PJL SET OUTBIN ="		UPPER,LOWER,
								upper,lower		UPPER
	-pageprotect		"@PJL SET PAGEPROTECT ="	OFF,LETTER,LEGAL,A4,
								off,letter,
								legal,a4		OFF
	-paper			"@PJL SET PAPER ="		LETTER,LEGAL,A4,
								EXECUTIVE,
								COM10,MONARCH,DL
								letter,legal,a4,
								executive,
								com10,monarch,dl	A4
	-password		"@PJL DEFAULT PASSWORD ="	0-65535			0	# modifies User Default.
	-personality		"@PJL SET PERSONALITY ="	AUTO,PCL,POSTSCRIPT,
								auto,pcl,postscript	AUTO
	-powersave		"@PJL SET POWERSAVE ="		ON,OFF,on,off		ON
	-powersavetime		"@PJL SET POWERSAVETIME ="	15,30,60,120,180	60
	-resolution		"@PJL SET RESOLUTION ="		300,600			600
	-resourcesave		"@PJL DEFAULT RESOURCESAVE ="	ON,OFF,AUTO,			# modifies User Default.
								on,off,auto		AUTO
	-ret			"@PJL SET RET ="		OFF,ON,off,on		ON
	-timeout		"@PJL SET TIMEOUT ="		5-300			15
EndSection

#
# PCL Specific variables
#
# Syntax:
# 	switch			variable				options			default	
#	
Section variables
	-pclfontsource		"@PJL SET LPARM:PCL FONTSOURCE ="	I,M1,M2,M3,C1,C2,S,
									i,m1,m2,m3,c1,c2,s	I
	-pclfontnumber		"@PJL SET LPARM:PCL FONTNUMBER ="	0-100			0	# depends on fonts loaded
	-pclpitch		"@PJL SET LPARM:PCL PITCH ="		0.44-99.99		10.0
	-pclptsize		"@PJL SET LPARM:PCL PTSIZE ="		4.0-999.75		12.0
	-pclsymset		"@PJL SET LPARM:PCL SYMSET ="		DESKTOP,ISO4,ISO6,
									ISO11,ISO15,ISO17,
									ISO21,ISO60,ISO69,
									ISOL1,ISOL2,ISOL5,
									LEGAL,MATH8,MSPUBL,
									PC8,PC850,PC852,
									PC8DN,PC8TK,PIFONT,
									PSMATH,ROMAN8,VNINTL,
									VNMATH,VNUS,WIN30,
									WINL1,WINL2,WINL5,
									desktop,iso4,iso6,
									iso11,iso15,iso17,
									iso21,iso60,iso69,
									isol1,isol2,isol5,
									legal,math8,mspubl,
									pc8,pc850,pc852,
									pc8dn,pc8tk,pifont,
									psmath,roman8,vnintl,
									vnmath,vnus,win30,
									winl1,winl2,winl5	ROMAN8
EndSection

#
#
# PostScript Specific variables
#
# Syntax:
# 	switch			variable					options			default	
#	
Section variables
	-psjamrecovery		"@PJL SET LPARM:POSTSCRIPT JAMRECOVERY ="	OFF,ON,off,on		OFF
	-psprtpserrs		"@PJL SET LPARM:POSTSCRIPT PRTPSERRS ="		OFF,ON,off,on		OFF
EndSection

