GMV CHECK DEVICE (1291)    REMOTE PROCEDURE (8994)

Name Value
NAME GMV CHECK DEVICE
TAG CHKDEV
ROUTINE GMVUTL2
RETURN VALUE TYPE ARRAY
AVAILABILITY RESTRICTED
INACTIVE ACTIVE
WORD WRAP ON TRUE
DESCRIPTION
This RPC calls a KERNEL utility to return a list of printers the user may 
select to print output. Returns a maximum of twenty entries.
INPUT PARAMETER
  • GMVIEN
    PARAMETER TYPE:   LITERAL
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    The value to begin the search in the Device file (#3.5). Can be null.
    
  • GMVDIR
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   1
    REQUIRED:   YES
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
    Direction of the search (1 = forward, -1 = backwards).
    If DIR is null, then set to 1.
    
  • GMVRMAR
    PARAMETER TYPE:   LITERAL
    REQUIRED:   YES
    SEQUENCE NUMBER:   3
    DESCRIPTION:   
    Right margin as a single number or range (e.g, 80, 132 or "80-132").
    
RETURN PARAMETER DESCRIPTION
RESULT(n)=P1^P2^P3^P4^P5^P6
      P6 = page length
 
 where n = a sequential number starting with 1
      P1 = File 3.5  IEN
      P2 = File 3.5 name (.01 value) 
      P3 = File 3.5 name (.01 value) or flag to indicate last entry in 
           the array
      P4 = location of terminal
      P5 = right margin