Hi,
It doesn't work..? Hmm, why does it not surprise me... Let's try to fix it, but I'd suggest we try to fix it in the device type first. Because we need to verify somehow if that PJL (not PCL) command works at all... I feel that doing it via device type first is a better bet.
First please read through the Note 1049778 - Additional print options for SAPscript/Smart Forms, the restrictions part.
The note says:
The new print options are available in both the SAPscript print dialog and the Smart Forms print dialog only if:
(..)
- The print dialog is called directly from the SAPscript or Smart Composer
This means that you cannot select any print options if an application calls the print dialog itself.
and
A default setting of the administrator for a print option in transaction SPAD takes effect only if the user explicitly opens the screen with the list of options in the print dialog.
Remark to SAP people responsible: oh, puhleeeze - why do you guys keep doing stuff like this..? Was there really no other way? Do we need to mail Bill McDermott and Hasso Plattner to get this fixed up so it's simple and somewhat humane?
Then, please check with your Basis folks whether Note 1913771 - "Zusätzliche Druckoptionen (POSS) funktionieren nicht" might be applicable for your SAP kernel version and patch level. For those who don't read German... it basically says that the advanced print options do not function anymore, if I'm interpreting it correctly, from 7.21 onward...
Then please read through Print Options for SAPscript and SAP Smart Forms, the part about editing the options using program RSPOPOSS_SET. I was able to fix the forth option for Stapling in KOC360A2 as follows:
You obviously can put your own comment, but leaving it out seems not to be possible - two commands are expected, courtesy of Takashi, if I understood correctly
The sequence I used was:
- type in device type, press "Load From DB"
- "Stapling", 3 times "Next"
- type in the stuff, "Save", "Ok"
- "write to DB", confirm, "OK", confirm
So I have this now in print dialog:
Remember, if I'm reading the notes correctly, the functionality appears to work only if you let the smartform itself handle the print options dialog. But we want to verify if the PJL command works in principle... That means: create a simple smartform and run it in test mode.
I'll read up on SF COMMAND and get back to you - haven't used that before. The form ought to have been device independent...
cheers
Jānis