&comment Script File Name: WPRINT &comment Date of Last Revision: 02/19/92 &comment Revised by: Bruce Marshall, WRQ TexSport (206 325-4357) &comment Last Revision closes and opens printer so Reflection 1 &comment for Windows will initiate printing. &comment &comment This script prints HPDesk items to a slaved printer &comment &forward NONE > &forward IT >> "IT"> &save SLASH > "/"> &forward SINGLE 0> &save END >> &save FIRST 1> &save NUM1 > 1 > &save NUM1 > &save LAST > &save NUM2 > 1> > &save NUM2 > &save COUNT &forward LOOP $NONE &save COUNT &forward LOOP $SINGLE &save COUNT &save NUM2 1 &forward LOOP $IT &save COUNT &save NUM2 1 $LOOP Main Program Loop &pagelength 9999 &print &p11C read &pagelength 24 &print &p13C &print &print AAJ &forward DONE > 0> &save COUNT 1> &Comment Get out of Loop if no more parameters &forward DONE > &back LOOP $DONE Exit the program &Comment The next 2 lines issue Reflection commands. &print &oFclose printer &print &oFopen printer &exit