Hi AlWhite,
So if I understand, for each data pages, you want to print 8 copies on 8 different media?
To do this, you'll need the "selectmedia" command. You'll find it's syntax here:
http://help.objectiflune.com/en/planetpress-design-user-guide/7.6/Default_CSH.html#/3025.htmlOne particularity is that the "selectmedia" command doesn't support variables as it's parameters, so you'll need to make several conditions to check the value of the array, and manually enter the correct paper type in the parameters of selectmedia. It could look like this:
if(get(&paper_type,i) = 'Paper1')
selectmedia(8.5, 11, 'Paper1', 'White', 75, 0, 0)
endif()
if(get(&paper_type,i) = 'Paper2')
selectmedia(8.5, 11, 'Paper2', 'White', 75, 0, 0)
endif()
...
After you've done all your conditions, you need to add the "showpage()" command to actually generate the page. In this case, you'll want to add it right after the "endfor".
Do note, however, that for selectmedia to work, your printer actually has to support postscript-based media selections, and your media names needs to be properly defined on the printer. Not all printers supports these features, or they might not support the method we use to do it. If it doesn't work, an alternative method would be to use "callppd" instead of selectmedia, and use ppd commands to do the media selection. This will require you to find a ppd file that's made specifically for your printer, and that contains it's own option for media selections. This may or may not exist, however, so you'll need to visit your printer manufacturer's web site, and see what ppd files you can find.
Neither of these methods will work in the context of "Print Using a Windows Driver". In Workflow, you must use a "Printer Queue Output", not "Print Using a Windows Driver", or it will not work.
Regards,
Raphaël Lalonde Lefebvre