Package com.lightcrafts.model

Examples of com.lightcrafts.model.PrintSettings


     * If this synthetic PrintSettings is passed to an Engine for printing,
     * and if the Engine simply stretches its image to fit the imageable
     * area, then the printed image will match the dialog's preview.
     */
    public PrintSettings getPrintSettings() {
        PrintSettings settings = new PrintSettings();
        settings.setRenderingIntent(intent);
        settings.setColorProfile(
            (profile != null) ? profile.getICCProfile() : null
        );
        settings.setPrintBounds(imageRect);
        settings.setPixelsPerInch(pixelsPerInch);
        return settings;
    }
View Full Code Here


        // The layout info:
        PrintLayoutModel layout = doc.getPrintLayout();

        // The Engine's layout sub-info:
        final PrintSettings settings = layout.getPrintSettings();

        PrinterLayer printer = Platform.getPlatform().getPrinterLayer();

        // The PageFormat:
        printer.setPageFormat(layout.getPageFormat());
View Full Code Here

    ProofSelectableControl(Engine engine) {
        this.engine = engine;

        setTitle(LOCALE.get("ProofControlTitle"));

        settings = new PrintSettings();

        initPrinterProfile();
        initRenderingIntent();

        initContent();
View Full Code Here

TOP

Related Classes of com.lightcrafts.model.PrintSettings

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.