Unit installation
Appendix C: Additional Workstation Configuration Information
Altera Corporation 295
[ports]
lpt1:=lp -c "%s"
lpt2:=lp -c -dps1700 "%s"
lpt3:=
...
The [ports] section lists the communication and printer ports 
available to MAX+PLUS II. The Windows LPTn: variables are 
equated to UNIX commands. In this example, LPT1 and LPT2 are 
equated to the print command lp. MAX+PLUS II prints its output to 
an intermediate Postscript file, which is then substituted for the term 
ā%sā. The term -dps1700 in the example refers to a UNIX printer 
named ps1700 that should be defined in the UNIX printcap file.
[PrinterPorts]
Apple LaserWriter II NT=PSCRIPT,LPT1:,15,90
Postscript Printer QMS=PSCRIPT,LPT2:,15,90
The [PrinterPorts] section lists the active and inactive output 
devices that can be accessed by the printer drivers, specifies the ports 
to which the output devices are connected, and specifies time-out 
values. In the example, the Apple LaserWriter II NT printer is 
connected to the PSCRIPT queue, and is connected to LPT1. 
MAX+PLUS II ignores the time-out values.
Printer Fonts
You can use the [PSFontSubstitutes] section of the win.ini file to 
specify aliases for actual printer fonts to match the fonts in MAX+PLUS II. 
The following example shows the default font substitute list:
[PSFontSubstitutes]
Helv=Helvetica
helvetica=Helvetica
MS Sans Serif=Helvetica
Tms Rmn=Times Roman
MS Serif=Times Roman
Times New Roman=Times Roman
Arial=Helvetica
courier=Courier
81_GSBOOK.fm5 Page 295 Tuesday, October 14, 1997 4:04 PM










