Monday, April 5, 2021

Making your own album 04

Scroll down for previous entries...

2.5     The first page

2.5.1     Opening an existing design in code language

Click in your start screen in AlbumEasy 4.2.1 on the icon ‘OPEN’ and look fort he file ‘font.txt’ If necessary, look in the AlbumEasy folder:


All recently opened files can also be found when clicking the grey arrow.

When opening the file, the programming code will appear in the text field of the program.
There is green text (comments)

Purple text (program commands)

Black text (coordinates or references to lines, fonts or font sizes)

Blue text (visible text and references to specific non-standard lettertypes)

2.5.2      ‘Generate’ your first page

Now that we have ‘written’ our first program, we can have a look at the result.

Without peeking at the it, we can already find out, how the result will look like, by taking a closer look at the programming code:


The page will have an A4 size (see line 7)
The working area will be limited by margins at 15 mm W/E/N/S (line 6)

There will be a frame border, consisting of two lines – (line 9)
Text will be spaces : letters are 5 point from each other, and so are the lines, separated from each other (line 10)
The page will have a title, the font and size will be “TB 16” (see later).
This title will be ‘Font Example’ (line 11)

There is a newly introduced font - “Penguin Attack” - that is not a standard available font (line 13)

The real page starts with the commands online 15

Here we see a longer text, written in the newly introduced font ‘Penguin Attack’

There is also a second part of text, now in a standard) font type.
 

Now we see that the ‘Generate’-button becomes available. This is how we turn the program codes into a real page.


2.5.3     View the generated page in a PDF-reader

After ‘generating’ the page, nothing seems to happen. At least we don’t see any page yet. However, now the ‘View PDF’ button becomes available too.

We can open the created page, on condition that we have a (free) PDF reader on our computer (Acrobat reader for example)


By clickin the PDF button, this PDF-reader will open and we will see the page that we just ‘created’.

Remark : once the PDF-page is open, we cannot re-use the ‘view PDF’ button to open the same document once more. If we plan to chang something to the program code, we will have to close the PDF-version first, in order to re-open it again later on.


In this result, we see what we were expected to see, but now as a non-coded page.

to be continued ...

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

No comments: