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

ACHSPS16.m

Go to the documentation of this file.
  1. ACHSPS16 ; IHS/ITSC/PMF - COMPRESSED PRINTING SETUP ; [ 10/16/2001 8:16 AM ]
  1. ;;3.1;CONTRACT HEALTH MGMT SYSTEM;;JUN 11, 2001
  1. ;
  1. CHK16 ;EP for Compressed print for printer.
  1. W !?5,"(This report requires 132 Width Printer format)",!
  1. Q:'$$DIR^XBDIR("Y","Should Output be in CONDENSED PRINT","Y","","(This report requires 132 Width Printer format)","",1)
  1. K ACHS("PRINT")
  1. S ACHS("PRINT",16)=$P($G(^%ZIS(2,IOST(0),12.1)),U)
  1. S ACHS("PRINT",10)=$P($G(^%ZIS(2,IOST(0),5)),U)
  1. I ACHS("PRINT",16)="" W !,*7,"=== Condensed Print not set for device -- Request Cancelled. ===" G ERROR
  1. I ACHS("PRINT",10)="" W !,*7,"=== Standard Print not set for device -- Request Cancelled. ===" G ERROR
  1. Q
  1. ;
  1. 10 ;EP - Reset to standard print.
  1. I $D(^%ZIS(2,IOST(0),5)),$P(^(5),U)'="" S ACHS("PRINT",10)=$P(^(5),U,1) W @ACHS("PRINT",10)
  1. Q
  1. ;
  1. ERROR ;
  1. S ACHS("PRINT","ERROR")=""
  1. Q
  1. ;