How to cancel `wp_print_scripts`?

There is a way, but it’s not recommended since there might be some other inline scripts attached to the enqueued scripts. You can hook to the wp_enqueue_scripts action and empty the global $wp_scripts as follows:

add_action( 'wp_enqueue_scripts', 'remove_all_scripts', 1000 );
function remove_all_scripts() {
    global $wp_scripts;
    $wp_scripts->queue = array();
}

You can then run a loop and enqueue do whatever you want with them.