diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/maingui/printergui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/maingui/printergui.cpp b/src/maingui/printergui.cpp index f3a0b85..6f72b15 100644 --- a/src/maingui/printergui.cpp +++ b/src/maingui/printergui.cpp @@ -164,7 +164,7 @@ void PrinterGui::on_buttonPrint_clicked() // Schieb file durch ghostscript if (ui->comboBoxColor->isEnabled() && ui->comboBoxColor->currentIndex() == 0) { // Run ghostscript to make file grayscale - cmd = QString::fromUtf8("gs -sDEVICE=psgray -dNOPAUSE -dBATCH -dQUIET -dSAFER -sOutputFile=\"%1.conv\" \"%1\"") + cmd = QString::fromUtf8("gs -sDEVICE=ps2write -sProcessColorModel=DeviceGray -sColorConversionStrategy=/Gray -dNOPAUSE -dBATCH -dQUIET -dSAFER -sOutputFile=\"%1.conv\" \"%1\"") .arg(QString::fromUtf8(this->file)); if (system(cmd.toUtf8().constData())) { QMessageBox::critical(this, "PrinterGUI", "Kann Druckauftrag nicht in Graustufen konvertieren."); |