Beenden
  • Globale Community
    • Sprache:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티

Unable to export PSD through Artboards to PDF or file

Community-Einsteiger ,
Apr 25, 2023 Apr 25, 2023

After creating multiple artboards in a PSD and exporting it through Artboards to PDF or file, Photoshop crashes with an error "There was an error opening your printer. Printing functions will not be available until you have selected a printer and reopened any documents."

No clue why this happens suddenly. The issue gets resolved with complete Creative cloud uninstallation and reinstallation but don't want to do that anymore.

Is anyone else facing this technical issue?

THEMEN
Windows
2.9K
Übersetzen
Melden
Community-Richtlinien
Seien Sie freundlich und respektvoll, geben Sie die ursprüngliche Quelle der Inhalte an und suchen Sie vor dem Absenden Ihres Beitrags nach Duplikaten. Weitere Informationen
community guidelines

correct answers 1 richtige Antwort

Community-Einsteiger , Feb 06, 2025 Feb 06, 2025

Hello, folks! I faced some issues with the same warning. I fixed it by activating the Print spooler.

WIN+R > Type: Services.msc [press enter] > Search for Print Spooler > Open and set Startup Type to Automatic and on Service Status click on Start.

Übersetzen
Adobe
Community-Einsteiger ,
Apr 25, 2023 Apr 25, 2023

Screenshot 2023-04-26 105147.pngScreenshot 2023-04-26 105204.pngHere are the screenshots.

Übersetzen
Melden
Community-Richtlinien
Seien Sie freundlich und respektvoll, geben Sie die ursprüngliche Quelle der Inhalte an und suchen Sie vor dem Absenden Ihres Beitrags nach Duplikaten. Weitere Informationen
community guidelines
Community Expert ,
Apr 25, 2023 Apr 25, 2023

Before saving, try holding down the spacebar when selecting the Print menu command (this should reset document printing prefs).

 

If all else fails, do you still have the same issue with the following script? It uses PSD, however that can be changed.

 

// artboardsToPSD.jsx - Adobe Photoshop Script
// Version: 0.6.0
// Requirements: Adobe Photoshop CC 2015, or higher
// Author: Anton Lyubushkin (nvkz.nemo@gmail.com)
// Website: http://lyubushkin.pro/
// ============================================================================
// Installation:
// 1. Place script in:
//    PC:  C:\Program Files\Adobe\Adobe Photoshop CC#\Presets\Scripts\
//    Mac:     <hard drive>/Applications/Adobe Photoshop CC#/Presets/Scripts/
// 2. Restart Photoshop
// 3. Choose File > Scripts > artboardsToPSD
// ============================================================================

//#target photoshop

app.bringToFront();

var docRef = app.activeDocument,
    allArtboards,
    artboardsCount = 0,
    inputFolder = Folder.selectDialog("Select a folder to process");

if (inputFolder) {
    function getAllArtboards() {
        try {
            var ab = [];
            var theRef = new ActionReference();
            theRef.putProperty(charIDToTypeID('Prpr'), stringIDToTypeID("artboards"));
            theRef.putEnumerated(charIDToTypeID('Dcmn'), charIDToTypeID('Ordn'), charIDToTypeID('Trgt'));
            var getDescriptor = new ActionDescriptor();
            getDescriptor.putReference(stringIDToTypeID("null"), theRef);
            var abDesc = executeAction(charIDToTypeID("getd"), getDescriptor, DialogModes.NO).getObjectValue(stringIDToTypeID("artboards"));
            var abCount = abDesc.getList(stringIDToTypeID('list')).count;
            if (abCount > 0) {
                for (var i = 0; i < abCount; ++i) {
                    var abObj = abDesc.getList(stringIDToTypeID('list')).getObjectValue(i);
                    var abTopIndex = abObj.getInteger(stringIDToTypeID("top"));
                    ab.push(abTopIndex);

                }
            }
            return [abCount, ab];
        } catch (e) {
            alert(e.line + '\n' + e.message);
        }
    }

    function selectLayerByIndex(index, add) {
        add = undefined ? add = false : add
        var ref = new ActionReference();
        ref.putIndex(charIDToTypeID("Lyr "), index + 1);
        var desc = new ActionDescriptor();
        desc.putReference(charIDToTypeID("null"), ref);
        if (add) desc.putEnumerated(stringIDToTypeID("selectionModifier"), stringIDToTypeID("selectionModifierType"), stringIDToTypeID("addToSelection"));
        desc.putBoolean(charIDToTypeID("MkVs"), false);
        executeAction(charIDToTypeID("slct"), desc, DialogModes.NO);
    }

    function ungroupLayers() {
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(charIDToTypeID('Lyr '), charIDToTypeID('Ordn'), charIDToTypeID('Trgt'));
        desc1.putReference(charIDToTypeID('null'), ref1);
        executeAction(stringIDToTypeID('ungroupLayersEvent'), desc1, DialogModes.NO);
    }

    function crop() {
        var desc1 = new ActionDescriptor();
        desc1.putBoolean(charIDToTypeID('Dlt '), true);
        executeAction(charIDToTypeID('Crop'), desc1, DialogModes.NO);
    }

    function saveAsPSD(_name) {
        var psd_Opt = new PhotoshopSaveOptions();
        psd_Opt.layers = true; // Preserve layers.
        psd_Opt.embedColorProfile = true; // Preserve color profile.
        psd_Opt.annotations = true; // Preserve annonations.
        psd_Opt.alphaChannels = true; // Preserve alpha channels.
        psd_Opt.spotColors = true; // Preserve spot colors.
        app.activeDocument.saveAs(File(inputFolder + '/' + _name + '.psd'), psd_Opt, true);
    }

    function main(i) {
        selectLayerByIndex(allArtboards[1][i]);
        var artboardName = app.activeDocument.activeLayer.name;
        executeAction(stringIDToTypeID("newPlacedLayer"), undefined, DialogModes.NO);
        executeAction(stringIDToTypeID("placedLayerEditContents"), undefined, DialogModes.NO);
        app.activeDocument.selection.selectAll();
        ungroupLayers();
        crop();
        saveAsPSD(artboardName);
        app.activeDocument.close(SaveOptions.DONOTSAVECHANGES);
    }

    allArtboards = getAllArtboards();

    artboardsCount = allArtboards[0];

    for (var i = 0; i < artboardsCount; i++) {
        docRef.suspendHistory('Save Artboard as PSD', 'main(' + i + ')');
        app.refresh();
        app.activeDocument.activeHistoryState = app.activeDocument.historyStates[app.activeDocument.historyStates.length - 2];
    }
}

 

https://prepression.blogspot.com/2017/11/downloading-and-installing-adobe-scripts.html

 

Übersetzen
Melden
Community-Richtlinien
Seien Sie freundlich und respektvoll, geben Sie die ursprüngliche Quelle der Inhalte an und suchen Sie vor dem Absenden Ihres Beitrags nach Duplikaten. Weitere Informationen
community guidelines
Community-Einsteiger ,
Apr 26, 2023 Apr 26, 2023

The scripts are exported in PSD. Do you think we can change some elements so that the script can export in PDF?

Übersetzen
Melden
Community-Richtlinien
Seien Sie freundlich und respektvoll, geben Sie die ursprüngliche Quelle der Inhalte an und suchen Sie vor dem Absenden Ihres Beitrags nach Duplikaten. Weitere Informationen
community guidelines
Community Expert ,
Apr 26, 2023 Apr 26, 2023

Did holding down the spacebar while selecting print from the menu with the mouse fix the issue? I'm guessing not, but you didn't say.

 

Yes, PDF can be used instead of PSD if you are otherwise happy with the script?

 

You would need to provide screenshots of the various PDF options windows so that I can use your desired settings.

Übersetzen
Melden
Community-Richtlinien
Seien Sie freundlich und respektvoll, geben Sie die ursprüngliche Quelle der Inhalte an und suchen Sie vor dem Absenden Ihres Beitrags nach Duplikaten. Weitere Informationen
community guidelines
Community-Einsteiger ,
Apr 26, 2023 Apr 26, 2023

I tried holding space bar when selecting File>print. The same error occurs when I go file>export>artboard to PDF/file. Here is the screenshot.002.png003.png

 

Also, here is the PDF option which comes when exporting:
001.jpg

Also, I tried converting PSD to Photoshop PDF and then exporting via ArtboardtoPDF/file. Same error.

Scripts will work for me, but a solution to this bug will be greatly appreciated as I export via ArtboardtoPDF a lot.

Übersetzen
Melden
Community-Richtlinien
Seien Sie freundlich und respektvoll, geben Sie die ursprüngliche Quelle der Inhalte an und suchen Sie vor dem Absenden Ihres Beitrags nach Duplikaten. Weitere Informationen
community guidelines
Community Expert ,
Apr 26, 2023 Apr 26, 2023

It's the PDF export options I need to know (the box is unchecked in your photo of the screen). I'll need to see if I can work this out from the original script.

Übersetzen
Melden
Community-Richtlinien
Seien Sie freundlich und respektvoll, geben Sie die ursprüngliche Quelle der Inhalte an und suchen Sie vor dem Absenden Ihres Beitrags nach Duplikaten. Weitere Informationen
community guidelines
Community-Einsteiger ,
Apr 26, 2023 Apr 26, 2023

001.jpg
It doesn't work both ways (checked or unchecked).

Übersetzen
Melden
Community-Richtlinien
Seien Sie freundlich und respektvoll, geben Sie die ursprüngliche Quelle der Inhalte an und suchen Sie vor dem Absenden Ihres Beitrags nach Duplikaten. Weitere Informationen
community guidelines
Community Expert ,
Apr 26, 2023 Apr 26, 2023

Thanks, I didn't mean that checking/unchecking the box would fix the problem – just that I need to know what settings to use to replace the PSD options in the alternative script.

 

Edit: Do you ever save multi-page PDFs?

Übersetzen
Melden
Community-Richtlinien
Seien Sie freundlich und respektvoll, geben Sie die ursprüngliche Quelle der Inhalte an und suchen Sie vor dem Absenden Ihres Beitrags nach Duplikaten. Weitere Informationen
community guidelines
Community-Einsteiger ,
Apr 27, 2023 Apr 27, 2023

Yes, I do.
Basically, I create multiple artboards and export all of them in a single PDF.

Übersetzen
Melden
Community-Richtlinien
Seien Sie freundlich und respektvoll, geben Sie die ursprüngliche Quelle der Inhalte an und suchen Sie vor dem Absenden Ihres Beitrags nach Duplikaten. Weitere Informationen
community guidelines
Community Expert ,
Apr 28, 2023 Apr 28, 2023

Sounds like it is easier to fix the original issue than to code around it! Either way isn't easy or fun.

Übersetzen
Melden
Community-Richtlinien
Seien Sie freundlich und respektvoll, geben Sie die ursprüngliche Quelle der Inhalte an und suchen Sie vor dem Absenden Ihres Beitrags nach Duplikaten. Weitere Informationen
community guidelines
Community-Einsteiger ,
Apr 28, 2023 Apr 28, 2023

The only solution for this problem is to clean all Adobe files and reinstall everything from scratch. But thanks for your help.

Übersetzen
Melden
Community-Richtlinien
Seien Sie freundlich und respektvoll, geben Sie die ursprüngliche Quelle der Inhalte an und suchen Sie vor dem Absenden Ihres Beitrags nach Duplikaten. Weitere Informationen
community guidelines
Community-Einsteiger ,
Apr 28, 2023 Apr 28, 2023

The workaround I found was to create an action for all the artboards one by one and then export them to one specific location every time. 

Übersetzen
Melden
Community-Richtlinien
Seien Sie freundlich und respektvoll, geben Sie die ursprüngliche Quelle der Inhalte an und suchen Sie vor dem Absenden Ihres Beitrags nach Duplikaten. Weitere Informationen
community guidelines
Neu hier ,
Sep 26, 2023 Sep 26, 2023

Somewhere else, I read that when exporting artboards, Photoshop truncates the sixth line when a paragraph is longer than six lines. I had a document with 12 lines, and most of the sixth line would not print. It just came out blank, but lines seven through 12 were intact. What I did as a workaround was change the spacing after paragraph from essentially a double return (25 pt using 12 pt copy) to the default for the point size of the text (14.4 pt). Then I artificially broke the sixth line at the end with a single paragraph return (in the middle of a sentence!) and deleted the initial space in front of the text that moved to the following line.  So, to Photoshop, it looked like two consecutive paragraphs of six lines each. And that worked. Until Adobe can address this bug, this may work for you, too.

Übersetzen
Melden
Community-Richtlinien
Seien Sie freundlich und respektvoll, geben Sie die ursprüngliche Quelle der Inhalte an und suchen Sie vor dem Absenden Ihres Beitrags nach Duplikaten. Weitere Informationen
community guidelines
Neu hier ,
Jun 23, 2024 Jun 23, 2024

i am stuck with this issue. did anyone resolve this issue?

 

Übersetzen
Melden
Community-Richtlinien
Seien Sie freundlich und respektvoll, geben Sie die ursprüngliche Quelle der Inhalte an und suchen Sie vor dem Absenden Ihres Beitrags nach Duplikaten. Weitere Informationen
community guidelines
Community-Einsteiger ,
Feb 06, 2025 Feb 06, 2025
AKTUELL

Hello, folks! I faced some issues with the same warning. I fixed it by activating the Print spooler.

WIN+R > Type: Services.msc [press enter] > Search for Print Spooler > Open and set Startup Type to Automatic and on Service Status click on Start.

Übersetzen
Melden
Community-Richtlinien
Seien Sie freundlich und respektvoll, geben Sie die ursprüngliche Quelle der Inhalte an und suchen Sie vor dem Absenden Ihres Beitrags nach Duplikaten. Weitere Informationen
community guidelines