You can print the current screenshot (which may or may not have been saved)
using the printSlot
command, as shown below:
$
dcop ksnapshot-23151 interface slotPrint
Note that this will bring up the normal KDE print dialog, which may require user interaction.