Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Routine: LRLABEL1

LRLABEL1.m

Go to the documentation of this file.
  1. LRLABEL1 ;SLC/TGA - PRINTS LABELS 2X5 UNEVEN ;2/6/91 08:18
  1. ;;5.2;LAB SERVICE;**161**;Sep 27, 1994
  1. ;For the 10 part SLC label at 16.5 CPI, With 1 label per 4 tests.
  1. 1 U IO
  1. S LRDAT=$P(LRDAT," ")
  1. S LRTXT=$$LRTXT^LRLABLD(.LRTS,45)
  1. S A=0,T=1
  1. F C=1:1:T D T,T1
  1. Q
  1. ;
  1. T W !,$E(PNM,1,$S($L(LRINFW):18,1:28)),@$S($L(LRINFW):"?19",1:"?28"),LRINFW
  1. W ?30,LRACC
  1. F J=1:1:4 W ?(J*22+27),LRACC
  1. W !,SSN," W:",$E(LRLLOC,1,17),?33,LRDAT F J=1:1:4 W ?(J*22+27),LRDAT
  1. W ! I LRXL G SKIP:N-I<LRXL
  1. W LRPREF
  1. SKIP W LRTOP,?15," Order:",LRCE
  1. S LRLPNM=$P(PNM,",",1),LRLPNM=LRLPNM_$S($L(LRLPNM)<17:","_$E($P(PNM,",",2),1),1:"")
  1. F J=1:1:4 W ?(J*22+27),$E(LRLPNM,1,17)
  1. K LRLPNM
  1. W !,LRTXT
  1. F J=1:1:4 W ?(J*22+27),$E(LRTOP,1,17)
  1. Q
  1. ;
  1. T1 W:'$L($G(LRBAR1)) !
  1. W !,$E(PNM,1,28) W ?30,LRACC
  1. F J=1:1:4 W ?(J*22+27),LRACC
  1. W !,SSN," W:",$E(LRLLOC,1,17),?33,LRDAT
  1. F J=1:1:4 W ?(J*22+27),LRDAT
  1. W:'$L($G(LRBAR1)) !!
  1. W:$L($G(LRBAR1)) !,@LRBAR1,LRBARID,@LRBAR0,!