[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

851.0. "Printing address labels" by NWGEDU::DINGEMANS (Hans Dingemans, E.S. Holland) Wed Aug 26 1987 07:11

    DESIGN expert wanted!
    
    Has somebody a design file available to print the standard
    address label forms? It contains 8*2 labels on A4 paper.

    Total height of 8 labels: 271 mm
    Total width  of 2 labels: 211 mm (whole A4)    
    
    I was thinking of a design file using the TO_ADDRESS tag of the
    letter document reserving a vertical box of precisely the label
    size and combine it with some data of the 2 column report and
    disabling the footer information.
    
    Sounds like I already tried some ...  True, but I got stuck at the
    point where TEX gives messages like PAGETOOSHORT etc.
    
    Thanks in advance,
    Hans.
T.RTitleUserPersonal
Name
DateLines
851.1Some thoughts, no guaranteesIJSAPL::KLERKTheo de KlerkWed Aug 26 1987 16:3545
851.2A SolutionNWGEDU::DINGEMANSHans Dingemans, E.S. HollandThu Sep 03 1987 06:2254
Please find below a design file to accomplish 8*2 address label printing.
It expects the data to be present in the TO_ADDRESS tag of the letter document.
Therefor process your SDML file with TAG$LETTER.

E.g.  <TO_ADDRESS>(My_name\My_address\My_ZIP_code\<UNDERLINE>(My_city))
      <TO_ADDRESS>(His_name\His_address\\<UNDERLINE>(His_city))

The Zip code (if present) will be placed on the same line in front of
the city. This is the preferred Dutch way to do it.

Hans.
______________________________________________________________________________


\input doc$standard_formats:tex$article.design

\def\normaltextfontspecs{\twelvepoint\raggedrightspacing}%

\hsize=210mm
\hoffset=0pc

\vsize=275mm
\voffset=-12mm

\physicalpagewidth=\hsize
\gutterwidth=0pc

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Initialize mult-column mode
%
\SDMLmultcol
\def\twocolwidth{105mm}%
\def\twocol{\beginmultcol{2}%
            \pageheight           % set by multcol to \vsize
            \pagewidth            % set by multcol to \hsize
            {\twocolwidth}        % width of each column
            \physicalpagewidth    % set by multcol to \hsize
            {L}                   % set left on physicalpagewidth
}
\twocol% start out in two-column mode

\def\toaddress#1#2#3#4#5
{
 \hbox %
   {\vbox to 33.65mm{\vss \hbox{#1 \hfill}
  \ifx0#2\else   \hbox{#2 \hfill} \fi
  \ifx0#4\else   \hbox{\ifx0#3\else   #3 \kern10pt \fi #4 \hfill} \fi
  \ifx0#5\else   \hbox{#5 \hfill} \fi
           \vss  }%
   }%
}

\def\leftfooterline{}
\def\rightfooterline{}