I am the Operations Manager of a literature fulfillment company and have the following problem. Currently we use a third party WMS application that manages PS files of "electronic SKU's". We want to be able to send a print job to the printer in postscript format, containing all the attributes required to include staple, duplex, simplex, etc as single spooled print job.
Currently if an order requesting 500 copies of a two page document, a single PS file, is scheduled, 500 separate print jobs are sent through the print spooler to the printer via our WMS application. We have attempted to send the print job via the WMS application as a whole document and have successfully plugged the qty to print and a staple command for the multiple page document into the PS file however this results in a single print job that will not staple. The staple command is not getting inserted at each end of each 2 page document. It will print 500 two page docs but will not staple.
Below is the code we have used to manipulate the number of copies and the staple command. Can anyone see where we are going wrong or point me in another direction?
%%BeginNonPPDFeature: NumCopies 500
500 /languagelevel where {pop languagelevel}{1} ifelse
2 ge { 1 dict dup /NumCopies 4 -1 roll put setpagedevice }{ userdict /#copies 3 -1 roll put } ifelse %%EndNonPPDFeature
Thank you in advance for your time.
James Pstrzoch
Currently if an order requesting 500 copies of a two page document, a single PS file, is scheduled, 500 separate print jobs are sent through the print spooler to the printer via our WMS application. We have attempted to send the print job via the WMS application as a whole document and have successfully plugged the qty to print and a staple command for the multiple page document into the PS file however this results in a single print job that will not staple. The staple command is not getting inserted at each end of each 2 page document. It will print 500 two page docs but will not staple.
Below is the code we have used to manipulate the number of copies and the staple command. Can anyone see where we are going wrong or point me in another direction?
%%BeginNonPPDFeature: NumCopies 500
500 /languagelevel where {pop languagelevel}{1} ifelse
2 ge { 1 dict dup /NumCopies 4 -1 roll put setpagedevice }{ userdict /#copies 3 -1 roll put } ifelse %%EndNonPPDFeature
Thank you in advance for your time.
James Pstrzoch