Scribus Forums

Scribus => Beginner Talk => Topic started by: gekko15 on August 16, 2016, 02:03:50 AM

Title: Printing Image Frame Placeholders
Post by: gekko15 on August 16, 2016, 02:03:50 AM
Hi,

I'm busy putting together a layout for a comic book and I have done a preliminary layout with Image Frame placeholders. I was wondering if there is a setting to make these Placeholders printable? I would like to print out a copy to make some notes on. I know that these frames are not meant to be printed but I was hoping there might be a hidden setting somewhere that makes it possible to print everything that is shown on the screen?

Any help will be greatly appreciated.
Title: Re: Printing Image Frame Placeholders
Post by: Nermander on August 16, 2016, 08:53:00 AM
Not that I know of, but there are probably some ways to solve this.

What I would do is to create a line style, call it ImageFrames or something like that. Apply that line style as a border to all image frames.

When you want them to be visible, edit the line style to have color, when you want them to be invisible, edit the line style to no color.

(Hmm, it seems as if line styles can not have None as color... I guess you'll have to set opacity to 0% instead.)

Title: Re: Printing Image Frame Placeholders
Post by: a.l.e on August 16, 2016, 09:50:39 AM
good idea nermander!

there is also a script for doing something like this... but i cannot find it right now...
Title: Re: Printing Image Frame Placeholders
Post by: a.l.e on August 16, 2016, 09:57:52 AM
i could find this:

http://lists.scribus.net/pipermail/scribus/2011-September/044408.html

i know that i used to have such a script somewhere on a hard disk... let's hope it has not been eaten by an hard disk crash...
Title: Re: Printing Image Frame Placeholders
Post by: a.l.e on August 16, 2016, 10:10:41 AM
mailing list archive are a good thing:

http://scribus.scribus.narkive.com/qWbojtf2/how-to-print-guides-empty-image-frames-and-other-internal-indications#post11

i've uploaded it on github:

https://github.com/aoloe/scribus-script-repository/tree/master/preview-placeholder

all the spaces have been lost and i've tried to re-add them but i could not run the script and test it right now... so feedback is needed...
Title: Re: Printing Image Frame Placeholders
Post by: gekko15 on August 16, 2016, 11:16:21 AM
Thanks guys for the prompt replies - I will give them a try.
Title: Re: Printing Image Frame Placeholders
Post by: gekko15 on August 16, 2016, 11:49:51 AM
I fixed the syntax and indent issues in the script and got it to run. Unfortunately I don't have a GitHub account. I uploaded the script here: http://pastebin.com/20s0uveu (http://pastebin.com/20s0uveu) At the moment it only runs on one page at a time. Is there any way of making it run for the whole document?
Other than that it works perfectly, thanks again.
Title: Re: Printing Image Frame Placeholders
Post by: a.l.e on August 16, 2016, 12:58:20 PM
yes, it's to make it go through all pages.

here is an example that shows how to go through a full documen:

https://github.com/aoloe/scribus-script-repository/blob/master/export-all-text/export_all_text.py

you can try to tweak the "placeholders" script to do the same.

i don't think that i'll have the time to "check in" your changes and to the changes before tomorrow... so you can try and see if you manage it...
Title: Re: Printing Image Frame Placeholders
Post by: a.l.e on August 17, 2016, 10:16:24 PM
i have fixed the spaces in

https://github.com/aoloe/scribus-script-repository/blob/master/preview-placeholder/preview-placeholder.py

and made go through the whole document...

are there any further wishes?

as an example, i wonder how to make text frames visible... adding a lorem ipsum seems a bit overkill to me...
Title: Re: Printing Image Frame Placeholders
Post by: Nermander on August 18, 2016, 08:14:22 PM
I'd say making them gray could be a way.

(And image frames could get random colors from en predfined set.)
Title: Re: Printing Image Frame Placeholders [SOLVED]
Post by: gekko15 on August 20, 2016, 12:28:22 PM
Dear a.l.e,

Thanks so much for your help. The script worked perfectly and did exactly what I wanted.