I'm trying to get sub-sets to be stapled within a multiple page report based on codes in our data as to where the staples should start and stop.
I found the commands in the PPD and can make it work to staple a whole set of pages, but not a sub-set.
The PPD of "EFSubsetFinishingInUse" with True or False seems to be what I want to enable sub-sets, but there is near zero documentation that I have found on how to do this.
Is anyone doing sub-set staping on a Fiery Ricoh box by chance using PT or other tricks to make it work?
>>>>>>>>>>>> code sample below <<<<<<<<<<<<
%Letter size
&stapleon:= '1UpLeftH'
% 1RightA 1UpLeftH 1UpRightH 1UpLeftS 1UpLeftV
define(&iLoop,Integer,0)
define(&iMax,Integer,strtoint(XmlGet('/INVOICE[1]/TOTALPGS[1]')))
selectmedia(8.5,11,'plain','White',75,0,0)
callppd('EFMediaType', 'Plain')
callppd('EFSubsetFinishingInUse', 'True')
for(&iLoop,1,1,&iMax)
if(&iMax>3)
if(&iLoop=2)
callppd('EFStapler', &stapleon)
execpage('staple_on')
&stapleon:= '1UpRightH'
endif()
endif()
&gbarcode:= inttostr(&iLoop)
execpage('blank_page')
if(&iMax>3)
if(&iLoop=&iMax)
callppd('EFStapler','False')
execpage('staple_off')
endif()
endif()
showpage()
endfor()
If I comment out the callppd('EFSubsetFinishingInUse', 'True') I get a single staple around all the pages. If I leave that callppd() there, I get no staples.
Any thoughts or help greatly appreciated.