home *** CD-ROM | disk | FTP | other *** search
-
- Cassette Cover Printer V1.1
-
- ©1991 by Jörn Clausen
-
-
-
-
- 1. Introduction
-
- What is Cassette Cover Printer? It is a program to generate labels for
- compact cassettes (you didn't guess that, did you?). I know, there a lot of
- programs of this type out there, but this one is different a little bit:
-
- 1 - It is written in Pascal. I used Maxon's Kick-Pascal 2.0, mainly to learn
- programming with the library functions that make the Amiga so great.
- Maybe other people can learn something from this, too?
-
- 2 - It is able to generate LaTeX-files for printing cassette covers in a
- much better way than printing them with ASCII-characters.
-
- It works under KickStart 1.2, 1.3 and OS2.0.
-
-
-
-
- 2. What you find on the disk
-
- In this directory you find the following programs:
-
- Cass.doc this file
- Cass_PAL THE program (PAL-mode 640x256 pixel)
- Cass_PAL.p the source
- Cass_NTSC THE program (NTSC-mode 640x200 pixel)
- Cass_NTSC.p the source
- Cass.data an example-cover, to be read from the program
- Cass.ascii the example-cover made with ASCII-characters
- Cass.tex the same cover as LaTeX-source
- Cass.dvi the same after TeX has seen it
-
- The cass.ascii-file can be send directly to the next printer. For the
- .tex- and the .dvi-file you need a LaTeX-system. (If you don't have TeX,
- read the last section of this documentation).
-
-
-
-
- 3. How to use the program
-
- There are two versions of Cassette Cover Printer, Cass_PAL and Cass_NTSC.
- It is rather obvious, that the first one is for all european users, who
- have a PAL Amiga that can display 256 lines. If you have an NTSC Amiga,
- please use the other version of the program. I heard, that with OS2.0, NTSC
- Amigas can display 256 lines. So maybe all owners of this operating system
- check out, which version they prefer.
-
- When starting the program from CLI or Shell, set the stack to 12000 or so.
- Be sure to have the arp.library in your LIBS: directory. To start it from
- WorkBench, simply double-click on its icon. (Hey, if you didn't know that,
- how can you read this document?)
-
- Once the screen is completed, you see several string gadgets. The gadgets
- on the left side are for the A-side of your cassette, the gadgets on the
- right for the B-Side. As the PAL and NTSC version are not so much
- different, I will explain the PAL version first and then show, how to work
- with the NTSC version.
-
- At first, there are two rows of fifteen string-gadgets. These are for the
- songtitles. Below them, in each row are two gadgets for the artist (upper
- gagdet) and the title of the record (lower one). Then there are gadgets to
- adjust noise-reduction and source for each side of the cassette. You can
- specify a recording date. In the last line are two gagdets for setting the
- length and type of the cassette. The last gagdet is for switching to a
- second page of songs. It can happen that you need more than fifteen lines
- of text on a cassette. For this reason the program prints another page if
- it is needed.
-
- The only difference in the NTSC version is, that there are only ten lines
- for the songtitles visible. If you press on the "Switch Sides"-Gadget, you
- can flip between three pages of songs. But as the lengths of the printed
- covers are the same in both versions of the program, the second page,
- showing songs 11 to 20, is for the front page of the cover, and, if there
- are entries in lines 16 to 20, for the additional page. So here the
- additional songs are not seperated as clearly as in the PAL version, but
- this was the easiest way to do it, except giving the program a totally
- different style.
-
- You can load from and save data to disk by using the corresponding option
- from the pull-down-menu. To give you a quick start-up, I have enclosed a
- demonstration file called 'cass.data'. The data is written line per line as
- ASCII-text; not very economical, but useful and easy.
-
- The second pull-down-menu is for printing. You can print a cover made of
- ASCII-characters either to a printer or to a file. Both outputs are
- identical, but maybe you want to collect some covers on disk and print them
- later in one session. I presume (better: I hope) that the printing size of
- different printers is the same. The program works with a Star LC-10, but I
- deeply believe, covers made on other printers fit as well. I used the PRT:
- port and ANSI-escape-sequences, so the printer.device should recognize them.
- The cover will look like this:
-
- +-------------------------------------------------------------------+
- | Magical Mystery Tour | Taxman |
- | The Fool On The Hill | Eleanor Rigby |
- | Flying | I'm Only Sleeping |
- | Blue Jay Way | Love You Too |
- | Your Mother Should Know | Here, There And Everywhere |
- | I Am The Walrus | Yellow Submarine |
- | Hello Goodbye | She Said She Said |
- | Strawberry Fields Forever | Good Day Sunshine |
- | Penny Lane | And Your Bird Can Sing |
- | Baby You're A Rich Man | For No One |
- | All You Need Is Love | Doctor Robert |
- | | I Want To Tell You |
- | | Got To Get You Into My Life |
- | | Tomorrow Never Knows |
- | | |
- +-------------------------------------------------------------------+
- | The Beatles Magical Mystery Tour |
- | Revolver |
- +-------------------------------------------------------------------+
- | NR: Dolby C Source: CD | NR: Dolby C Source: CD |
- | Date: 31.07.91 | Date: 12.08.91 |
- | C90 Position: Chrome |
- +-------------------------------------------------------------------+
-
- The LaTeX-output can be done of course only to disk. The LaTeX-file is
- ready to translate, you don't have to \include it in any environment in
- another file. Simply type
-
- virtex &latex Cass.tex
-
- in your CLI if your .tex-file is called Cass.tex. (Maybe you have a
- different LaTeX version. I know only C-TeX V3.0 and V3.14. Please check
- your manual or your Local Giude for detailed information, how to start
- LaTeX).
-
-
-
-
- 4. Known Bugs and other disgusting things
-
- There are a few, well not really bugs, but annoying things. Some of them
- are result of my laziness, others I blame on Maxon and their run-time-system.
- I thought about the possibility to insert and delete single lines, but then
- I decided, that this is not worth the effort. Okay, they would give the
- program a professional outfit, but I would rarely use them, so I didn't
- worked on this feature. The other thing is, that when you are making
- LaTeX-files, it is not checked if a line gets to long. If a line exeeds
- the width statet in the \makebox-command, then nobody cares, neither my
- program nor LaTeX. If this happens, I'm afraid you have to edit the
- .tex-file by yourself. Although I have the widths of the single
- TeX-characters, I don't know how to check the length of a string in the
- string-gadget while I am typing it. If anybody has any suggestions, please
- let me know.
-
- The other faults are Maxon's problem (I guess). Before leaving the program
- or erasing data, a requester checks if you are kidding or if the program
- should continue. This requester has a sizing-gadget. If you click on it,
- the requester vanishes, before the mousebutton is released. I don't know,
- why there is a gadget and why it is not checked correctly (fortunately it
- does not appear with OS2.0, so this problem seems to be just a matter of
- time). The other problem is, that I used to have the RightAmiga-Q-shortcut
- in my pulldown-menu to quit the program. But when using this within a
- string-gadget, where it should only clear the present text, it called the
- menu-item and terminated the program. I don't know if this is some kind of
- speciality of Kick-Pascal (I saw it happen in "Aquarium") or can be avoided
- somehow. For this reason I removed the shortcut.
-
-
-
-
- 5. The copyright and other legal stuff
-
- This program was written and is copyrighted by
-
- Jörn Clausen
- Oppenwehe 459
- D-4995 Stemwede 3
- Germany (Western Part)
-
- It is Freeware.
-
- The icon was created by Marcus Kramer, who was also my beta-tester.
-
- I have enclosed the source to encourage other people to take a look at it and
- either shake their heads or learn something from it. Feel free to adjust it
- to your specific needs, but please keep my copyright-notice in it. You may
- give it to everybody you like (maybe you want to give it to people you don't
- like), as long as you don't charge money for it. It may be enclosed in every
- Public-Domain-library, that does not take more than a reasonable fee for a
- disk. This excludes people charging more than about $6/DM10 per disk.
-
- I am not responsible for any damage caused directly by this program or by
- using it together with other programs.
-
- If you feel the strong urge to give money away for the program, don't give it
- to me, look around and you will find organisations that can use it much
- better than I, e.g. Greenpeace, Amnesty International or organisations
- caring for handicapped people. Support these groups in the great job they are
- doing.
-
-
-
-
- 6. Some words about TeX and LaTeX
-
- If you have to write some more or less good-looking texts, that may contain
- a mathematical formula, a table or something more complicated (like cassette
- covers), then TeX is superior to ALL other editors or DTP-programs that are
- available on any computer. It cares about distributing the text over the
- pages, numbering them, placing formulas in a readable way, making a table of
- contents, footnotes, and many many more things. Have you ever tried to make
- a simple equation with a common word-processor? TeX can handle formulas of
- nearly arbitrary complexity, no matter how many square roots, powers or
- fraction lines it may contain. Once you've seen it you'll never want to miss
- it. And I think lots of people are realizing this, as there are already many
- utilities, especially on Fred Fish's disks, that are for use with TeX (and
- with my program you got another one).
-
- And the best is yet to come: TeX is nearly free, you have to pay DM 5,-/disk.
- To obtain a copy of a very good TeX-package (Passau-TeX) write to:
-
- Karl Skibinski
- Gewerbering 20
- D-8398 Pocking
- Germany (Western Part)
-
- The basic package contains the main program, a previewer and a printer
- driver. The programs support ARexx. This package costs DM 25,-.
-