Sunday, April 25, 2021

Making your own album 17

click the 'Documents' header to see previous entries
https://rainbowstampsandcoins.blogspot.com/search/label/documents 

4.3.2     Testing the codes

Open a new blank program page, and save it as Test Design 7

# ------------------------------------------------------------------------------
# Setting the standards for the album.

# ------------------------------------------------------------------------------

ALBUM_PAGES_SIZE (210.0 297.0)
# A4 size (or 215.9 279.4 for US Letter)

ALBUM_PAGES_MARGINS (12.0 12.0 15.0 15.0)

# W/E/N/S margins

ALBUM_PAGES_BORDER (0.5 0.1 0.0 1.0)

#4 pm (in pt) frame : line 1/ line 2 / line 3 / distance in-between

ALBUM_TITLE ("My New Album")

# title of the album

ALBUM_AUTHOR ("Johnny Collector")

# the author

ALBUM_PAGES_SPACING (6.0 6.0)

#standard spacing

ALBUM_DEFINE_FONT (DJ "DejaVu Sans")

#standard font

# ------------------------------------------------------------------------------
# The first page

# ------------------------------------------------------------------------------

PAGE_START

PAGE_TEXT_CENTRE (HB 12 "\nDecorative dividers.")

ROW_START_ES (HN 12 0.5)
STAMP_ADD_IMG (30.0 10.0 "decoration/deco line 01.png" "" "" "" NO_FRAME)

Add all codes above to the program. The folder was created earlier, the file name depends on your choices in the previous excercise.

Click Generate and PDF
If you get your own divider on the page, close the PDF again.


Copy the last two commands and paste them serveral times under the previous part, change in each image something :

Choose another width
Choose another hight
Choose another image
Change “no_frame” to “frame”
In case you have more images in a different folder, try also to add something from another folder.

Click again on Generate and see the PDF. Check if you get the result you wanted, and close the PDF again, before making changes.
If the result needs improvement, change the settings (pm’s) and regenerate to see the PDF.  At the end, close the PDF again.


 

to be continued...

previous part : https://rainbowstampsandcoins.blogspot.com/2021/04/making-your-own-album-16.html
next part : https://rainbowstampsandcoins.blogspot.com/2021/04/making-your-own-album-18.html

No comments: