Layer

Previous topic - Next topic

a.l.e

since i don't have a copy of acrobat pro (and currently no adobe reader either) it's hard for me to judge about what your are writing.

there is one thing: i've read

https://helpx.adobe.com/acrobat/using/pdf-layers.html

and in the note of the section "Show or hide layers" it says:

"""
A lock icon in the Layers panel indicates that a layer is for information only. Locked layers can be created from AutoCAD and Visio files. In Acrobat Standard, the visibility of a locked layer cannot be changed. In Acrobat Pro, use the Layer Properties dialog box to change the visibility of a locked layer.
"""

if this is correct, Scribus should not set the locked property in the pdf layers, when a layer is locked in scribus.

i will have to ask our pdf expert to see if your (and partially my) analysis is correct and if there is anything to be changed in scribus...


ciao
a.l.e

michel56

#16
This configuration of Scribus may be voluntary. This prevents printers from printing with deactivated layers.

I tested with the GDAL library, and it seems to work.

But it's in command line, a little more complicated.

GDAL is installed with the qgis sig.

Works on windows and linux.

GDAL Plus: EXCLUSIVE_LAYERS
(make button type radio)
***************************************
Cette configuration de Scribus est peut-être volontaire. Ca évite aux imprimeurs de faire des impressions avec des calques désactivés.

J'ai tester avec la bibliothèque GDAL, et ça semble fonctionner.

Mais c'est en ligne de commande, un peu plus compliqué.

GDAL est installé avec le sig qgis.

Fonctionne sur windows et linux.

Le plus de GDAL: EXCLUSIVE_LAYERS
(faire bouton type radio)

*************************
https://gdal.gloobe.org/gdal/formats/pdf.html

http://www.gdal.org/frmt_pdf.html
*************************
gdal_translate ^
-of PDF "C:\aaaaa\GDAL\fond.tif" "C:\aaaaa\GDAL\TEST_GDAL.pdf" ^
-co LAYER_NAME="fond" ^
-co EXTRA_RASTERS="C:\aaaaa\GDAL\atd.tif","C:\aaaaa\GDAL\points.tif","C:\aaaaa\GDAL\test1.tif","C:\aaaaa\GDAL\test2.tif","C:\aaaaa\GDAL\carreau1.tif","C:\aaaaa\GDAL\carreau2.tif" ^
-co EXTRA_RASTERS_LAYER_NAME="atd","points","test1","test2","carreau1","carreau2" ^
-co OFF_LAYERS="atd","points","test1","carreau1","carreau2" ^
-co EXCLUSIVE_LAYERS="carreau1","carreau2" ^
-co TILED=YES ^
-co AUTHOR="Moi" ^
-co CREATOR="gdal_translate" ^
-co CREATION_DATE=D:20180614132447+02 ^
-co KEYWORDS="BZH, Vannes, Lorientt" ^
-co PRODUCER="GDAL" ^
-co SUBJECT="TEST GDAL" ^
-co TITLE="TEST GDAL" ^
-co JAVASCRIPT_FILE=C:\aaaaa\GDAL\script.js

[attachment deleted by admin]