IMPORTANT ANNOUNCEMENT

These forums were permanently set to read-only mode on July 20, 2022. From that day onwards, no new posting or comment is allowed on the site, but the historical content remains intact and searchable.

A new location for posting questions about PlanetPress Suite is now available:

OL Learn - PlanetPress Classic (opens in new tab)

Topic Options
#57864 - 02/02/21 07:07 PM Ricoh 8210 Stapling - using Fiery PPD
ricks Offline
OL Guru

Registered: 04/17/10
Posts: 101
Loc: Seattle
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.

Top
#57865 - 02/02/21 07:09 PM Re: Ricoh 8210 Stapling - using Fiery PPD [Re: ricks]
ricks Offline
OL Guru

Registered: 04/17/10
Posts: 101
Loc: Seattle
sorry about the formatting of the code, no indent options that I could find.

Top
#57870 - 02/04/21 03:14 PM Re: Ricoh 8210 Stapling - using Fiery PPD [Re: ricks]
jim3108 Offline
OL Expert

Registered: 04/19/10
Posts: 316
Loc: London, UK
I'm not sure on the specifics of the PPD that you're using but usually you would callppd('Staple', 'On') and then list all the other parameters you want - i.e. Location of staple etc. and then callppd('Staple', 'Off') to fire the staple itself.
NB: I appreciate that 'Staple' might not be the specific command but for illustration and legibility purposes, I have used this for simplicity.

I would start with a very basic example. Get a blank PP7 doc, create two pages and then in the Paper Handling Before on the first page, turn the staple on and in the Paper Handling After in the second page, turn the staple off.

This should give you two stapled pages.

Top