VPSPRINT ;SLOIFO/BT - Common APIs used for VPS Printing;07/18/14 15:08
Source file <VPSPRINT.m>
Name | Comments | DBIA/ICR reference |
---|---|---|
GETDFN(VPSTYP,VPSNUM) | ;Return DFN given Patient ID Type and Value
|
|
DEVICE(VPSDEV,FROM,DIR) | ; RPC: VPS GET PRINTERS
; -- Return up to 20 entries from the Device file based on Input criteria ; INPUT ; FROM : List all printers start from (text to $O from) ; B (all device with name start *WITH* B) ; B* (all device with name start *FROM* B) ; DIR : Ascending order (1) or Descending order (-1) ($O direction) ; OUTPUT ; VPSDEV : By reference local array contains VistA printers based on input criteria ; SYNTAX ; Found : VPSDEV(0) = 1 ; VPSDEV(1..n)=IEN^Name^DisplayName^Location^RMar^PLen |
|
DEVEXIST(DEVNAME) | ;check if DEVNAME exists on file
; Returns 1 if found, otherwise returns -1^err message |
RPC Name | Call Tags |
---|---|
VPS GET PRINTERS | DEVICE |
FileNo | Call Tags |
---|---|
^%ZIS(1 - [#3.5] | Classic Fileman Calls |