Unfortunately, I get no copies with this cpdftocps. The following ends up in the PostScript that gets sent to the printer:
%RBIBeginNonPPDFeature: *NumCopies 0 0/languagelevel where{pop languagelevel 2 ge}{false}ifelse {1 dict begin/NumCopies exch def currentdict end setpagedevice} {userdict/#copies 3 -1 roll put}ifelse
Presumably your copies variable is getting assigned the null string.
Unfortunately, I get no copies with this cpdftocps. The following ends up in the PostScript that gets sent to the printer:
%RBIBeginNonPPD Feature: *NumCopies 0
0/languagelevel where{pop languagelevel 2 ge}{false}ifelse
{1 dict begin/NumCopies exch def currentdict end setpagedevice}
{userdict/#copies 3 -1 roll put}ifelse
Presumably your copies variable is getting assigned the null string.