# File lib/ezprint/processors/prince.rb, line 13 def self.cmd(options) stylesheets = options.delete(:stylesheets) prince_cmd = `which prince`.chomp if prince_cmd.length == 0 raise RuntimeError.new "Cannot locate prince binary. Please check your path" end prince_cmd << " --input=html --server " stylesheets.each { |s| prince_cmd << " -s #{s} " } prince_cmd << " --silent - -o -" end