Author Topic: Printing Image Frame Placeholders  (Read 2555 times)

gekko15

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
  • Scribus User
Printing Image Frame Placeholders
« on: August 16, 2016, 03: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.

Nermander

  • Hero Member
  • *****
  • Posts: 1311
  • Karma: 17
Re: Printing Image Frame Placeholders
« Reply #1 on: August 16, 2016, 09: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.)


a.l.e

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2125
  • Karma: 27
    • the graphics lab
Re: Printing Image Frame Placeholders
« Reply #2 on: August 16, 2016, 10:50:39 am »
good idea nermander!

there is also a script for doing something like this... but i cannot find it right now...

a.l.e

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2125
  • Karma: 27
    • the graphics lab
Re: Printing Image Frame Placeholders
« Reply #3 on: August 16, 2016, 10: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...

a.l.e

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2125
  • Karma: 27
    • the graphics lab
Re: Printing Image Frame Placeholders
« Reply #4 on: August 16, 2016, 11: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...

gekko15

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
  • Scribus User
Re: Printing Image Frame Placeholders
« Reply #5 on: August 16, 2016, 12:16:21 pm »
Thanks guys for the prompt replies - I will give them a try.

gekko15

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
  • Scribus User
Re: Printing Image Frame Placeholders
« Reply #6 on: August 16, 2016, 12:49:51 pm »
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 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.

a.l.e

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2125
  • Karma: 27
    • the graphics lab
Re: Printing Image Frame Placeholders
« Reply #7 on: August 16, 2016, 01: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...

a.l.e

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2125
  • Karma: 27
    • the graphics lab
Re: Printing Image Frame Placeholders
« Reply #8 on: August 17, 2016, 11: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...

Nermander

  • Hero Member
  • *****
  • Posts: 1311
  • Karma: 17
Re: Printing Image Frame Placeholders
« Reply #9 on: August 18, 2016, 09:14:22 pm »
I'd say making them gray could be a way.

(And image frames could get random colors from en predfined set.)

gekko15

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
  • Scribus User
Re: Printing Image Frame Placeholders [SOLVED]
« Reply #10 on: August 20, 2016, 01:28:22 pm »
Dear a.l.e,

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