home *** CD-ROM | disk | FTP | other *** search
/ Network Support Encyclopedia 96-1 / novell-nsepro-1996-1-cd2.iso / download / netware / hpt004.exe / PRTSESS.SCR < prev    next >
Text File  |  1993-06-15  |  14KB  |  396 lines

  1. #
  2. # (c) Copyright 1991, 1992 Novell, Inc. All rights reserved.
  3. #
  4. # $Logfile:   H:/csm/hostprt/vcs/prtsess.scv  $
  5. # $Revision:   1.4  $
  6. # $Date:   15 Jun 1993 13:58:30  $
  7. # $Author:   SGOLDSTE  $
  8. # $Log:   H:/csm/hostprt/vcs/prtsess.scv  $
  9. #    Rev 1.4   15 Jun 1993 13:58:30   SGOLDSTE
  10. # Changed HelpId back to C039.
  11. #    Rev 1.3   15 Jun 1993 13:40:22   SGOLDSTE
  12. # Changed HelpId to C00A.
  13. #    Rev 1.2   11 Jun 1993 09:48:12   SGOLDSTE
  14. # Added hint text.
  15. #    Rev 1.1   20 May 1993 08:51:24   SGOLDSTE
  16. # Changed ToolBar control class to ToolBar.  Made sure that all named controls
  17. # and their WndType have the same name.
  18. #    Rev 1.0   14 May 1993 15:06:46   SGOLDSTE
  19. # Initial revision.
  20.  
  21. LIST SCRHostPrtSessions SCRHostPrtSessions
  22.   #
  23.   # The MemCom value is the memory commisioned for screen use.  If the
  24.   # memory is not available, the screen will not come up.  The default
  25.   # value below is used or it can be over-written by the screen's
  26.   # ::MemCom method.  The MemDcom value is set on successful memory
  27.   # commision and is used to decommision the screen's memory.
  28.   #
  29.   Element MemCom
  30.     ShortInt nameless 04000
  31.   Element MemDcom
  32.     ShortInt nameless 00000
  33.   #
  34.   Element ScreenHelpId
  35.     ShortInt nameless 00000C039
  36.   Element ScreenTypes
  37.     ShortInt nameless ScrBySelObject
  38.   Element WndAttribute
  39.     LIST nameless SCRHostPrtSessions
  40.       Element WndClass
  41.         string  nameless "SCRHostPrtSessions"
  42.       Element WndCaption
  43.         string  WndCaption "Printer Sessions"
  44.       Element WndName
  45.         string  WndName "SCRHostPrtSessions"
  46.       Element WndStyle
  47.         long  WndStyle 000000000
  48.       Element WndCoord
  49.         Coord  WndCoord 000000002 000000002 000000270 000000180
  50.       Element WndType
  51.         ShortInt nameless 000000000
  52.     EndList
  53.   Element WndControl
  54.     LIST nameless Window
  55.       Element WndObject
  56.         LIST ToolBar ToolBar
  57.           Element WndAttribute
  58.             LIST ToolBar ToolBar
  59.               Element WndClass
  60.                 string  nameless "STATIC"
  61.               Element WndCaption
  62.                 string  WndCaption ""
  63.               Element WndName
  64.                 string  WndName ""
  65.               Element WndStyle
  66. # define SS_GRAYRECT        0x00000005L
  67.                 long  WndStyle 050000005
  68.               Element WndCoord
  69.                 Coord  WndCoord 000000000 000000000 000000A00 000000026
  70.               Element WndType
  71.                 ShortInt nameless ToolBar
  72.             EndList
  73.         EndList
  74.       Element WndObject
  75.         LIST BtHomeAct  PUSHBUTTON
  76.           Element LoadBitmap
  77.                 ShortInt nameless 000000000
  78.           Element GetBitmapName
  79.                 string  nameless "CSMFIRST"
  80.           Element WndAttribute
  81.             LIST nameless  BUTTON
  82.               Element WndClass
  83.                 string  nameless "BUTTON"
  84.               Element WndCaption
  85.                 string  WndCaption "Displays the first page of printer sessions"
  86.               Element WndName
  87.                 string  WndName "PUSHBUTTON"
  88.               Element WndStyle
  89.                 long  WndStyle 05800000B
  90.               Element WndCoord
  91.                 Coord  WndCoord 000000000 000000000 000000032 000000026
  92.               Element WndType
  93.                 ShortInt nameless BtHomeAct
  94.             EndList
  95.           Element DataItemCtrl
  96.             LIST nameless ViewElement
  97.               Element ButtonAction
  98.                 ShortInt nameless BtHomeAct
  99.             EndList
  100.         EndList
  101.       Element WndObject
  102.         LIST BtPgUpAct  PUSHBUTTON
  103.           Element LoadBitmap
  104.                 ShortInt nameless 000000000
  105.           Element GetBitmapName
  106.                 string  nameless "CSMPREVIOUS"
  107.           Element WndAttribute
  108.             LIST nameless  BUTTON
  109.               Element WndClass
  110.                 string  nameless "BUTTON"
  111.               Element WndCaption
  112.                 string  WndCaption "Displays the previous page of printer sessions"
  113.               Element WndName
  114.                 string  WndName "PUSHBUTTON"
  115.               Element WndStyle
  116.                 long  WndStyle 05800000B
  117.               Element WndCoord
  118.                 Coord  WndCoord 000000032 000000000 000000032 000000026
  119.               Element WndType
  120.                 ShortInt nameless BtPgUpAct
  121.             EndList
  122.           Element DataItemCtrl
  123.             LIST nameless ViewElement
  124.               Element ButtonAction
  125.                 ShortInt nameless BtPgUpAct
  126.             EndList
  127.         EndList
  128.       Element WndObject
  129.         LIST BtPgDownAct  PUSHBUTTON
  130.           Element LoadBitmap
  131.                 ShortInt nameless 000000000
  132.           Element GetBitmapName
  133.                 string  nameless "CSMNEXT"
  134.           Element WndAttribute
  135.             LIST nameless  BUTTON
  136.               Element WndClass
  137.                 string  nameless "BUTTON"
  138.               Element WndCaption
  139.                 string  WndCaption "Displays the next page of printer sessions"
  140.               Element WndName
  141.                 string  WndName "PUSHBUTTON"
  142.               Element WndStyle
  143.                 long  WndStyle 05800000B
  144.               Element WndCoord
  145.                 Coord  WndCoord 000000064 000000000 000000032 000000026
  146.               Element WndType
  147.                 ShortInt nameless BtPgDownAct
  148.             EndList
  149.           Element DataItemCtrl
  150.             LIST nameless ViewElement
  151.               Element ButtonAction
  152.                 ShortInt nameless BtPgDownAct
  153.             EndList
  154.         EndList
  155.       Element WndObject
  156.         LIST BtEndAct PUSHBUTTON
  157.           Element LoadBitmap
  158.                 ShortInt nameless 000000000
  159.           Element GetBitmapName
  160.                 string  nameless "CSMLAST"
  161.           Element WndAttribute
  162.             LIST nameless  BUTTON
  163.               Element WndClass
  164.                 string  nameless "BUTTON"
  165.               Element WndCaption
  166.                 string  WndCaption "Displays the last page of printer sessions"
  167.               Element WndName
  168.                 string  WndName ""
  169.               Element WndStyle
  170.                 long  WndStyle 05800000B
  171.               Element WndCoord
  172.                 Coord  WndCoord 000000096 000000000 000000032 000000026
  173.               Element WndType
  174.                 ShortInt nameless BtEndAct
  175.             EndList
  176.           Element DataItemCtrl
  177.             LIST nameless ViewElement
  178.               Element ButtonAction
  179.               ShortInt nameless BtEndAct
  180.             EndList
  181.         EndList
  182.       Element WndObject
  183.         LIST BtMoreInfoAct PUSHBUTTON
  184.           Element LoadBitmap
  185.                 ShortInt nameless 000000000
  186.           Element GetBitmapName
  187.                 string  nameless "CSMMORE"
  188.           Element WndAttribute
  189.             LIST nameless  BUTTON
  190.               Element WndClass
  191.                 string  nameless "BUTTON"
  192.               Element WndCaption
  193.                 string  WndCaption "Displays detailed information of the selected printer session"
  194.               Element WndName
  195.                 string  WndName ""
  196.               Element WndStyle
  197.                 long  WndStyle 05800000B
  198.               Element WndCoord
  199.                 Coord  WndCoord 0000000C8 000000000 000000032 000000026
  200.               Element WndType
  201.                 ShortInt nameless BtMoreInfoAct
  202.             EndList
  203.           Element DataItemCtrl
  204.             LIST nameless ViewElement
  205.               Element ButtonAction
  206.                 ShortInt nameless BtMoreInfoAct
  207.             EndList
  208.         EndList
  209.       Element WndObject
  210.         LIST BtUpdateAct  PUSHBUTTON
  211.           Element LoadBitmap
  212.                 ShortInt nameless 000000000
  213.           Element GetBitmapName
  214.                 string  nameless "CSMUPDATE"
  215.           Element WndAttribute
  216.             LIST nameless  BUTTON
  217.               Element WndClass
  218.                 string  nameless "BUTTON"
  219.               Element WndCaption
  220.                 string  WndCaption "Updates the list of printer sessions with the most recent information"
  221.               Element WndName
  222.                 string  WndName "PUSHBUTTON"
  223.               Element WndStyle
  224.                 long  WndStyle 05800000B
  225.               Element WndCoord
  226.                 Coord  WndCoord 0000000FA 000000000 000000032 000000026
  227.               Element WndType
  228.                 ShortInt nameless BtUpdateAct
  229.             EndList
  230.           Element DataItemCtrl
  231.             LIST nameless ViewElement
  232.               Element ButtonAction
  233.                 ShortInt nameless BtUpdateAct
  234.             EndList
  235.         EndList
  236.       Element WndObject
  237.         LIST nameless  STATIC
  238.           Element WndAttribute
  239.             LIST nameless  STATIC
  240.               Element WndClass
  241.                 string  nameless "STATIC"
  242.               Element WndCaption
  243.                 string  WndCaption    "LU Name    Print Job/Server/Print Queue    Host Application    Session State"
  244.               Element Tabs
  245.                 Tabs Tabs 100 350 480
  246.               Element WndFont
  247.                 ShortInt  nameless 0D
  248.               Element WndName
  249.                 string  WndName ""
  250.               Element WndStyle
  251.                 long  WndStyle 050000000
  252.               Element WndCoord
  253.                 Coord  WndCoord 00000000D 00000002A 000000258 000000014
  254.               Element WndType
  255.                 ShortInt nameless 00004
  256.             EndList
  257.         EndList
  258.       Element WndObject
  259.         LIST PrinterSessionView LISTBOX
  260.           Element SetFocus
  261.             ShortInt nameless 1
  262.           Element HasFocus
  263.             ShortInt nameless 1
  264.           Element WndAttribute
  265.             LIST nameless  LISTBOX
  266.               Element WndClass
  267.                 string  nameless "LISTBOX"
  268.               Element WndCaption
  269.                 string  WndCaption ""
  270.               Element Tabs
  271.                 Tabs Tabs 100 350 480
  272.               Element WndFont
  273.                 ShortInt  nameless 0C
  274.               Element WndName
  275.                 string  WndName ""
  276.               Element WndStyle
  277.                 long  WndStyle 050A10011
  278.               Element WndCoord
  279.                 Coord  WndCoord 00000000A 000000040 000000258 000000100
  280.               Element WndType
  281.                 ShortInt nameless PrinterSessionView
  282.             EndList
  283.         EndList
  284.       Element WndObject
  285.         LIST DispStatus   DispStatus
  286.           Element WndAttribute
  287.             LIST nameless   DispStatus
  288.               Element WndClass
  289.                 string  nameless "CSMSTATUS"
  290.               Element WndCaption
  291.                 string  WndCaption ""
  292.               Element WndName
  293.                 string  WndName ""
  294.               Element WndStyle
  295.                 long  WndStyle 050000000
  296.               Element WndCoord
  297.                 Coord  WndCoord 000000000 0000000C0 000000270 00000001A
  298.               Element WndType
  299.                 ShortInt nameless DispStatus
  300.             EndList
  301.         EndList
  302.     EndList
  303.   Element DataItemCtrl
  304.     LIST nameless  ViewElement
  305.       # As a way to get control once the screen is created and the
  306.       # ObjInstAgent is ready for our commands connect to him and request
  307.       # its CsmMsAdrData:
  308.       Element RteList
  309.         LIST RteList RteList
  310.           Element NamedRte
  311.             ShortInt nameless SelObjInstCsmMsAdrData
  312.           Element RteCmd
  313.             ShortInt nameless Connect
  314.           Element RteP1
  315.             ShortInt nameless CsmMsAdrData
  316.         EndList
  317.       Element ConfigElement
  318.         # All the data needed for the screen to operate is here:
  319.         LIST nameless  ConfigElement
  320.           Element PrinterSession
  321.             # This query is needed for the GetNext query of HostPrt's:
  322.             # See file NMOBJS.H for this object ID's
  323.             LIST AttributesQuery AttributesQuery
  324.               Element ObjectId
  325.                 # Object Id: Host Printer Session
  326.                 ObjectId nameless "" "2.1.2.26"
  327.               Element ObjectInstance
  328.                 ShortInt nameless 00001
  329.               Element ObjectInstCnt
  330.                 ShortInt nameless 00000
  331.               Element AttrList
  332.                 List AttrList AttrList
  333.                   Element ObjectId
  334.                     # Object Id: LU Name
  335.                     ObjectId nameless "" "2.1.3.88"
  336.                   Element ObjectId
  337.                     # Object Id: Job Name
  338.                     ObjectId nameless "" "2.1.3.130"
  339.                   Element ObjectId
  340.                     # Object Id: Host Application
  341.                     ObjectId nameless "" "2.1.3.56"
  342.                   Element ObjectId
  343.                     # Object Id: Printer Session State
  344.                     ObjectId nameless "" "2.1.3.107"
  345.                 EndList
  346.             EndList
  347.           Element PrintQueue
  348.             # This query is needed for the GetNext query of HostPrt's:
  349.             # See file NMOBJS.H for this object ID's
  350.             LIST AttributesQuery AttributesQuery
  351.               Element ObjectId
  352.                 # Object Id: Host Print Queue
  353.                 ObjectId nameless "" "2.1.2.27"
  354.               Element ObjectInstance
  355.                 ShortInt nameless 00001
  356.               Element ObjectInstCnt
  357.                 ShortInt nameless 00000
  358.               Element AttrList
  359.                 List AttrList AttrList
  360.                   Element ObjectId
  361.                     # Object Id: Queue Name
  362.                     ObjectId nameless "" "2.1.3.109"
  363.                   Element ObjectId
  364.                     # Object Id: File Server
  365.                     ObjectId nameless "" "1.3.148"
  366.                   Element ObjectId
  367.                     # Object Id: Job Name
  368.                     ObjectId nameless "" "2.1.3.129"
  369.                 EndList
  370.             EndList
  371.         EndList
  372.     EndList
  373.   Element ObjVars
  374.     List ObjVars ObjVars
  375.       Element QueryDisplayMax
  376.         ShortInt nameless 0000A
  377.       Element ObjectInstance
  378.         ShortInt nameless 00001
  379.       Element maxPrinterSessions
  380.         ShortInt nameless 00000
  381.       Element maxPrintQueues
  382.         ShortInt nameless 00000
  383.     EndList
  384. EndList
  385.  
  386.  
  387.  
  388.  
  389.  
  390.