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

ABMDR16.m

Go to the documentation of this file.
  1. ABMDR16 ; IHS/ASDST/DMJ - COMPRESSED PRINTING SETUP ;
  1. ;;2.6;IHS 3P BILLING SYSTEM;;NOV 12, 2009
  1. ;Original;TMD;
  1. ;
  1. 16 ;EP for Compressed print for printer.
  1. W !?5,"(This report requires 132 Width export format)"
  1. K ABM("PRINT") S:$D(^%ZIS(2,IOST(0),12.1)) ABM("PRINT",16)=^(12.1)
  1. I $G(ABM("PRINT",16))="" W !,*7,"=== Condensed Print has not been established for this Device. ===" G XIT
  1. W ! K DIR S DIR(0)="Y",DIR("A")="Should Output be in CONDENSED PRINT (Y/N)",DIR("B")="Y" D ^DIR K DIR I '$G(Y) K ABM("PRINT") G 10
  1. Q
  1. 10 ;EP for resetting to standard print.
  1. I $D(^%ZIS(2,IOST(0),5)),$P(^(5),U)'="" S ABM("PRINT",10)=$P(^(5),U)
  1. I $D(ABM("PRINT",10)) W @ABM("PRINT",10)
  1. Q
  1. ;
  1. XIT K ABM("PRINT")
  1. Q