@@ -0,0 +1,2027 @@
+/*%0A    Copyright 2013 appPlant UG%0A%0A    Licensed to the Apache Software Foundation (ASF) under one%0A    or more contributor license agreements.  See the NOTICE file%0A    distributed with this work for additional information%0A    regarding copyright ownership.  The ASF licenses this file%0A    to you under the Apache License, Version 2.0 (the%0A    %22License%22); you may not use this file except in compliance%0A    with the License.  You may obtain a copy of the License at%0A%0A     http://www.apache.org/licenses/LICENSE-2.0%0A%0A    Unless required by applicable law or agreed to in writing,%0A    software distributed under the License is distributed on an%0A    %22AS IS%22 BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY%0A    KIND, either express or implied.  See the License for the%0A    specific language governing permissions and limitations%0A    under the License.%0A*/%0A%0Apackage de.appplant.cordova.plugin;%0A%0Apublic class KitKatPrinter extends CordovaPlugin %7B%0A%0A    @Override%0A    public boolean execute (String action, JSONArray args, CallbackContext callbackContext) throws JSONException %7B%0A        // Es soll %C3%BCberpr%C3%BCft werden, ob ein Dienst zum Ausdrucken von Inhalten zur Verf%C3%BCgung steht%0A        if (%22isServiceAvailable%22.equals(action)) %7B%0A            isServiceAvailable(callbackContext);%0A%0A            return true;%0A        %7D%0A%0A        // Etwas soll ausgedruckt werden%0A        if (%22print%22.equals(action)) %7B%0A            print(args, callbackContext);%0A%0A            return true;%0A        %7D%0A%0A        // Returning false results in a %22MethodNotFound%22 error.%0A        return false;%0A    %7D%0A%0A    /**%0A     * %C3%9Cberpr%C3%BCft, ob ein Drucker zur Verf%C3%BCgung steht.%0A     */%0A    private void isServiceAvailable (CallbackContext ctx) %7B%0A        Boolean supported   = Build.VERSION.SDK_INT %3E= Build.VERSION_CODES.KITKAT;;%0A        PluginResult result = new PluginResult(PluginResult.Status.OK, supported);%0A%0A        ctx.sendPluginResult(result);%0A    %7D%0A%0A    /**%0A     * Druckt den HTML Content aus.%0A     */%0A    private void print (final JSONArray args, CallbackContext ctx) %7B%0A%0A    %7D%0A%7D%0A

Add KitKatPrinter file