Have ppt_printout_ps.vbs take the printer name as an argument.
Misc. changes in Makefile.sample.
2 SRCTEX = $(TARGET).tex file1.tex file2.tex
3 SRCFIG = fig/fig_file1.ppt fig/fig_file2.ppt
5 SRCFIG_DIGEST = $(SRCFIG:.ppt=.md5)
7 PRN2EPS = c:/cygwin/home/swk/lib/tex/prn2eps.pl
8 PPTPRINT = c:/cygwin/home/swk/lib/tex/ppt_printout_ps.vbs
9 PRINTER = "Generic PostScript Writer"
14 #$(TARGET).pdf: $(TARGET).dvi
15 # dvipsk -Pdl $(TARGET).dvi
16 # -pdfclose --file $(TARGET).pdf
17 # cygstart $(TARGET).ps
18 # @while test ! -e $(TARGET).pdf; do echo -n .; sleep 2; done
20 # pdfopen --file $(TARGET).pdf --back
22 $(TARGET).pdf: $(TARGET).dvi
23 -pdfclose --file $(TARGET).pdf
25 pdfopen --file $(TARGET).pdf --back
27 $(TARGET).dvi: $(SRCTEX) $(SRCMISC) $(SRCFIG_DIGEST)
32 -grep Warning $(TARGET).log
38 wscript $(PPTPRINT) $(PRINTER) `cygpath -wa $<` `cygpath -wa $*.prn` > $*.note.txt