[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference vaxuum::document_ft

Title:DOCUMENT T1.0
Notice:**New notesfile (DOCUMENT.NOTE) now available (see note 897)**
Moderator:CLOSET::ADLER
Created:Mon Feb 09 1987
Last Modified:Thu Oct 31 1991
Last Successful Update:Fri Jun 06 1997
Number of topics:897
Total number of notes:4397

398.0. "Suppressing font loads to ln03?" by COOKIE::JOHNSTON () Tue May 19 1987 19:55

Consider a case where I would like to queue 2 copies of the same 
document to the ln03.  At the DCL level, how do I suppress the fonts
being loaded twice, once for each copy?  Not having to load the fonts
into each document would save 100 - 200 blocks of extra overhead going
over the com line? 

I'm thinking that 

     $ PRINT/QUE=LN03/COPIES=2

is the same as

     DOC filename doctype LN03/PRINT=(QUE=LN03,COPIES=2)

the result being that fonts are loaded into each .ln3 file, regardless
of which of the above commands is used.

Comprendre?  (further, am *I* making sense?)


Thanx

Rose

T.RTitleUserPersonal
Name
DateLines
398.1Sounds Like a VMS IssueCLOSET::ETZELMikeWed May 20 1987 14:448
    Rose,
    
    I believe the support for this is not yet provided by VMS, but have
    sent mail to an appropriate developer. I'll post the reply here.

    This sounds like a VMS print symbiont issue, not a DOCUMENT issue. 

    Mike
398.2How about not putting fonts in LNx output?COOKIE::WITHERSLe plus ca change...Wed May 20 1987 15:1320
If we can't suppress the loading of the fonts into an LN03 for multiple
copies of a file, is there a way to load fonts from an external source
when we print documents?  My thinking is thus...

I have a sample of a directory listing where the LN3 and LNO files are 12
times larger than the source.  After generating lots of documents, this
starts to really eat up disk space.  For example:

SW_REL_SYM_AT_FORD_AERO.GNC;64
                                   27  19-MAY-1987 13:44  (RW,RWED,,RE)
SW_REL_SYM_AT_FORD_AERO.LN3;16
                                  178  19-MAY-1987 13:46  (RW,RWED,,RE)
SW_REL_SYM_AT_FORD_AERO.LNO;10
                                  148  19-MAY-1987 13:45  (RW,RWED,,RE)

If fonts have to be loaded every time we print something that's in LNO or
LN3 format, could we have some way of saving disk space?

Thanks,
BobW
398.3SMOP, right?CUPOLA::HAKKARAINENAlbatross!Wed May 20 1987 17:245
    As Mike noted in .1, the solution is probably in the print symbiont. 
    The fonts could be loaded on the fly, saving  users time and
    disk space. DSRplus offers this on a limited basis for the ln01.
    It still seems to be tricky business to do conditional font loads,
    but that's what makes forums such as this so much fun. 
398.4in the future -- maybeVAXUUM::DEVRIESThose are features, not bugsThu May 21 1987 17:3015
    From a technical point of view, this is something a future print
    symbiont (say, a "font server") might well be able to do.
    
    But it brings up all kinds of management and legal questions.  We
    ship these printable files all over the net.  If you want to print
    such an in-the-future file where you are, then you would have to
    have the fonts needed (a system management issue), which probably
    means you would have had to pay many bucks for the royalties on
    all the fonts you might ever want to print (a legal/business issue)
    or the font server will have to have a "satisfactory" fallback plan
    (both a system management and a technical issue).
    
    So it's a great idea -- but not a *simple* idea.
    
    Mark
398.5there's always a wayRDCV01::FSLRob AldridgeThu Jul 23 1987 01:1018
    If you *really* need to print multiple copies of the same .LN3
    file, you can break the file into its two pieces.  The first
    "half" of the file is the font information, the second "half" is
    the encoded "text" to be printed.
    
    Using EDT or other, you can Search for the end of the font-load.
    (I believe that it ends with <ESCAPE>\ .)  Then you can "cut" the file
    into its two pieces.    For more info, consult your LN03 programming
    book.
    
    If you manage to successfully cut the file into two, then you can
    print the file containing the font-information ONCE, then print
    the file containing the encoded-text as many times as you'd like.
    
    All this takes some technical expertise.  *Not recommended for the
    novice!*

    -Rob-
398.6Bravo!GNUVAX::LIBRARIANLooking at the big skyThu Jul 23 1987 09:506
    
       Bravely editing the un-editable...I love it!  Carry on!
       
                                     
    
    				Lance
398.7It gets even worse!VAXUUM::DEVRIESM.D. -- your Device DoctorThu Jul 23 1987 13:4643
RE: .5

>    If you *really* need to print multiple copies of the same .LN3
>    file, you can break the file into its two pieces.  The first
>    "half" of the file is the font information, the second "half" is
>    the encoded "text" to be printed.
    
    The second half also ends with commands to clear all fonts and reset
    the internal state, so your second copy of the text part would not see
    the font load.
    
    Even if you succeed in stripping out the reset stuff, you're not
    out of the woods.  In a very large file this pattern can be repeated:
    
    	<fonts><text><fonts><text> ...
    
    so if you break up the document after the first font load and run
    the rest of it TWICE, the second copy will start with the second
    font load in place, not the first one.
    
    
>    Using EDT or other...
    
    Other, yes (TPU-based things, at least).
    EDT, no.  It reformats the output and truncates long records.
    
    
>    If you manage to successfully cut the file into two, then you can
>    print the file containing the font-information ONCE, then print
>    the file containing the encoded-text as many times as you'd like.
    
    If you are on a shared LN03, and you submit these pieces as separate
    jobs, you must be sure that nobody else prints a job that fools
    with fonts in between your jobs.
    
    
>    All this takes some technical expertise.  *Not recommended for the
>    novice!*
    
    Or the expert, either.  :-)
    
    --Mark