string mode;
mode = parent->service_engine->config->Search(PRINTER_SELECTION, PRINTER_SELECTION_DEFAULT);
if (mode == "ask") {
command.addArgument("-printdialog");
command.addArgument("-print-dialog");
copies = 1; //Ignore existing copies information when print dialogue is being displayed
} else {
command.addArgument("-print-to-default");