There seem to be many variations of this subject in a web search, but none that clearly addresses this question.

I have a printer with a cups name of
"Totally_impractical_for_command_line_use".

The printer has a duplexer. I would like to create two aliases with names like hpd and hps implying duplex and simplex. hpd can be an exact alias of "Totally_..._use" which was defined with the duplexer enabled. hps should differ only in that the duplexer is disabled.

In the past I've copied/modified/renamed a ppd to achieve this but there has to be a better way. I can create a cups class for hpd, but selecting a PPD option like the duplexer for the hps class doesn't seem to work.

The bottom line requirement is to be able to print with lpr -P hps (for example).