![]() |
|
Hoster Help Post Hoster questions, tips and suggestions here. |
![]() |
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
Admin:
Have your programmers create a "hot zone" like the one that was described before: ---------- SNIP FROM INSTRUCTIONS SENT TO YOU -------------- >At this point, we need to see if this line of text will actually fit in >one column on the page. To do this, we are going to check the physical >length of the title+artist+bookid against how it will print on the users >printer. We use the device independant measurment of "twips" to do this >and store the results [CODE SNIP] >Next, we add these lengths together to see if they exceed 4900. If they >don't, then we don't make any changes because it will fit just fine. > >However, if it EXCEEDS 4900 then we need to break the line into 2 parts to >make it easier to read in the book by adding a line break and a tab -------------- END OF SNIP ----------------- Adjusting the twip measurement of 4900 to a SMALLER number will cause a line to break sooner. Since numbers are being cut off at the column edge, there must not be any current measurement check of line length in place OR it is not implemented correctly. You already have the instructions and code, it appears it was never implemented. BTW, it is THIS section of code that requires that a user have a printer driver installed on their machine. If they don't (and a hotzone is implemented) you will get a "Printer Error" message and crash. (Beavis, you should've known this! I'll bet you could've answered it with a one-liner.) |
#2
|
||||
|
||||
Nice C & P Chip !!!
![]() i was busy this weekend, the church on the hill has a pilgrimage (mercy sunday) this weekend and about 20,000 show up for it. our town has only 2500 residents.
__________________
The King of One Liners! Windows 10 Hoster 5.10 |
#3
|
|||
|
|||
Posted by Beavis:
Quote:
(BTW admin, your welcome) |
#4
|
||||
|
||||
SOLD !!!
ha ha ha ha ! its about time someone had a Sense of humor around here ! everyone is way to serious all the time ! thanks chip admin, you should have a forum set up and call it "VENT HERE" ![]()
__________________
The King of One Liners! Windows 10 Hoster 5.10 |
#5
|
|||
|
|||
Beavis said:
Quote:
You are probably unaware that I'm the one that originally designed and created the *.rtf format that Hoster uses to create songbooks. MTU is allowed to use this format in their program and the above snippet came from the original implementation notes that accompanied the software code given to MTU. A combination software programmer, database publisher and graphic expert, I began with software programming PCL (that's Printer Control Language) for the original "Laser Jet" series produced by Hewlett Packard. What a pain the rear that was! I later taught myself how to program desired layouts using Rich Text Formatting (.rtf) which is why Hoster produces these files rather than printing directly. Writing software to control a printer/printing functions is the most difficult, repetitive, mundane and complex code you could imagine. Especially with the number and differences of printers manufactured today. As a national seminar instructor, I taught 6-hour desktop publishing seminars in over 70 cities per year and produced instruction materials as well. Here's a link to a type comparison book, make sure you read the publisher's note at the bottom of the page: http://www.addall.com/detail/0963268902.html |
#6
|
||||
|
||||
hey boss im just busting on you.
![]()
__________________
The King of One Liners! Windows 10 Hoster 5.10 |
#7
|
|||
|
|||
Beavis Said:
Quote:
I am intimately familiar with the .rtf coding that is used in hoster to produce songbooks --after all, I designed and wrote it. The fact that the current code is letting bookid's disappear (or be cut-off) to the right in a column is a clear indication that a key portion of the code is either not implemented correctly or not implemented at all. Even if this section were not implemented at all, the code will still produce a book that is 95% correct. It's those songs with unusually long titles or a long list of performers (or both) that causes the problem. The "hot zone" code mentioned above prevents the unusually long ones from truncating (cutting off) anything on a line by moving the artist and bookid to the next line. Where you set this zone on the column line will determine it's sensitivity. You can only point the way.... Last edited by PastMember; April 25th, 2006 at 04:55 PM. |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|