MTU.Community


Go Back   MTU.Community > Hoster Software > Hoster Help

Hoster Help Post Hoster questions, tips and suggestions here.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old April 23rd, 2006, 03:35 AM
PastMember PastMember is offline
Blocked From MTU.Community
 
Join Date: Mar 2001
Location: Farmington, MI
Posts: 153
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.)
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On


All times are GMT -4. The time now is 01:07 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2009 - 2025, Jelsoft Enterprises Ltd.
The contents of this forum are copyrighted by Micro Technology Unlimited, 2000-2008. Use of any material from these Forums is prohibited without written agreement from MTU.