Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Entry Points |  Used in RPC |  FileMan Files Accessed Via FileMan Db Call
Print Page as PDF
Routine: VPSPRINT

Package: VA Point of Service

Routine: VPSPRINT


Information

VPSPRINT ;SLOIFO/BT - Common APIs used for VPS Printing;07/18/14 15:08

Source Information

Source file <VPSPRINT.m>

Entry Points

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

Used in RPC

RPC Name Call Tags
VPS GET PRINTERS DEVICE

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^%ZIS(1 - [#3.5] Classic Fileman Calls
Info |  Source |  Entry Points |  Used in RPC |  FileMan Files Accessed Via FileMan Db Call