home *** CD-ROM | disk | FTP | other *** search
/ Network Support Encyclopedia 96-1 / novell-nsepro-1996-1-cd2.iso / download / netware / hpt004.exe / HOSTPRT.CLS < prev    next >
Text File  |  1993-05-17  |  3KB  |  142 lines

  1. /* (c) Copyright 1990-1992 Novell, Inc. All rights reserved.
  2.  *
  3.  * $Logfile:   H:/csm/hostprt/vcs/hostprt.clv  $
  4.  * $Revision:   1.0  $
  5.  * $Date:   17 May 1993 15:21:24  $
  6.  * $Author:   SGOLDSTE  $
  7.  * $Log:   H:/csm/hostprt/vcs/hostprt.clv  $
  8.  * 
  9.  *    Rev 1.0   17 May 1993 15:21:24   SGOLDSTE
  10.  * Initial revision.
  11.  * 
  12.  */
  13.  
  14.  
  15. Class HostPrt10 List
  16.     Super  Service
  17.     Method HasSession
  18.     Method GetObjectClass
  19.     Method LaunchSessions
  20. EndClass
  21.  
  22. Class  SCRHostPrtConfig
  23.     Super   ViewPort
  24.     method  BtPA1Act
  25.     method  BtPA2Act
  26.     method  BtCancelAct
  27.     method  BtRestartAct
  28.     method  BtOkayAct
  29.     method  OIAAckCSGetAttribute
  30.     method  BtStartAct
  31.     method  BtStopAct
  32.     method  ListData
  33. EndClass
  34.  
  35. Class  SCRHostPrtSessions
  36.     Super   ViewPort
  37.     method  BtHomeAct
  38.     method  BtPgUpAct
  39.     method  BtPgDownAct
  40.     method  BtUpdateAct
  41.     method  BtMoreInfoAct
  42. EndClass
  43.  
  44. Class PrinterLUSession  LIST
  45.     super   ServiceComponent
  46. EndClass
  47.  
  48. LIST PrinterLUSession PrinterLUSession
  49.   Element GraphTool
  50.      ShortInt nameless  000000000
  51. EndList
  52.  
  53. Class PrintQueue  LIST
  54.     super   ServiceComponent
  55. EndClass
  56.  
  57. LIST PrintQueue PrintQueue
  58.   Element GraphTool
  59.      ShortInt nameless  000000000
  60. EndList
  61.  
  62. Class PrinterSession    LIST
  63.     super   DataElement
  64.     method  GetString
  65.     method  GetTitle
  66. EndClass
  67.  
  68. LIST HostPrt10 HostPrt10
  69.       Element ObjectIdList
  70.         List ObjectIdList ObjectIdList
  71.           Element ObjectId
  72.             # Object Id: PrinterSession
  73.             ObjectId nameless "" "2.1.2.26"
  74.           Element ObjClass
  75.              ShortInt nameless PrinterLUSession
  76.         EndList
  77. #      Element ObjectIdList
  78. #        List ObjectIdList ObjectIdList
  79. #          Element ObjectId
  80. #            # Object Id: PrinterQueue
  81. #            ObjectId nameless "" "2.1.2.27"
  82. #          Element ObjClass
  83. #             ShortInt nameless PrintQueue
  84.         EndList
  85.    EndList
  86. EndList
  87.  
  88. Class HostPrtTEMPLLIST list
  89.     Method GetTemplate
  90. EndClass
  91.  
  92. LIST HostPrtTEMPLLIST HostPrtTEMPLLIST
  93.     Element  PrinterSession
  94.         LIST  PrinterSession PrinterSession
  95. # it is essential to keep the first 4 elements in this order.
  96. # They are used in the CSGetNextAttribute request.
  97.             Element LUName
  98.                 ShortInt nameless 00000
  99.             Element JobName
  100.                 ShortInt nameless 00000
  101.             Element HostApplication
  102.                 ShortInt nameless 00000
  103.             Element PrinterSessionState
  104.                 ShortInt nameless 00000
  105. #            Element ServiceName
  106. #                ShortInt nameless 00000
  107.             Element PrinterStatus
  108.                 ShortInt nameless 00000
  109.             Element CharsPerLine
  110.                 ShortInt nameless 00000
  111.             Element LinesPerPage
  112.                 ShortInt nameless 00000
  113.             Element LinesPerInch
  114.                 ShortInt nameless 00000
  115.             Element JobNumber
  116.                 ShortInt nameless 00000
  117.             Element JobStatus
  118.                 ShortInt nameless 00000
  119.             Element PrintQueue
  120.                 ShortInt nameless 00000
  121.             Element ObjectId
  122.                 ShortInt nameless 00000
  123.             Element ObjectInstance
  124.                 ShortInt nameless 00000
  125.             Element MSAdr
  126.                 ShortInt nameless 00000
  127.             Element ParObjPtr
  128.                 ShortInt nameless 00000
  129.         EndList
  130.     Element  PrintQueue
  131.         LIST  PrintQueue PrintQueue
  132.             Element QueueName
  133.                 ShortInt nameless 00000
  134.             Element Server
  135.                 ShortInt nameless 00000
  136.             Element JobName
  137.                 ShortInt nameless 00000
  138.         EndList
  139. EndList
  140.  
  141. PCODE PCDHostPrt HostPrt.pcd
  142.