diff --git a/Modules/ControlCenter/BuiltinPlugins/CupsWidget.qml b/Modules/ControlCenter/BuiltinPlugins/CupsWidget.qml index b69ecd4f..9b862bca 100644 --- a/Modules/ControlCenter/BuiltinPlugins/CupsWidget.qml +++ b/Modules/ControlCenter/BuiltinPlugins/CupsWidget.qml @@ -39,6 +39,26 @@ PluginComponent { radius: Theme.cornerRadius color: Theme.surfaceContainerHigh + Column { + visible: !CupsService.cupsAvailable || CupsService.getPrintersNum() == 0 + anchors.centerIn: parent + spacing: Theme.spacingS + + DankIcon { + name: "print_disabled" + size: 36 + color: Theme.surfaceVariantText + anchors.horizontalCenter: parent.horizontalCenter + } + + StyledText { + text: !CupsService.cupsAvailable ? I18n.tr("Print Server not available") : I18n.tr("No printer found") + font.pixelSize: Theme.fontSizeMedium + color: Theme.surfaceVariantText + anchors.horizontalCenter: parent.horizontalCenter + } + } + Column { id: detailColumn anchors.fill: parent