SLAC CPE Software Engineering Group
Stanford Linear Accelerator Center
System Admin

Adding SCP Printers

 

SLAC Detailed
SLAC Computing
Software Home
Software Detailed
 

 

 


 

Modified: Ken Brobeck  20-Aug-2013

 

Adding MCC SCP Printers

 

Help file:  REF_DSPSHR:PRNTCTL_INIT.FOR

 

  1. login to mccdev –noprivs

    1. check out PRNTCTL_INIT.FOR

      1. slccms

        1. set library cms_dspshr

        2. reserve prntctl_init.for

      2. edit the file

        1. More details in Help file

      3. cchk prntctl_init.for    –look for errors

        1. This is a syntax check only -Below is normal

        2. mccdev::brobeck>cchk prntctl_init.for

          %COPY-S-COPIED, NL: copied to USER_DISK_SLC:[BROBECK.WORK5]CMP_2440061E.TEST;1 (0 records)

           Processing file USER_DISK_SLC:[BROBECK.WORK5]PRNTCTL_INIT.FOR;2

          **MEMBER**=SLCLIBS:DSPSHRLIB overridden to DEVLIB

          %FIND_MEMBER_CARD-W, but neither DSPSHR_DEVLIB nor DEVLIB library file found

          First compiling with /NODEBUG/OPT/RECUR/OBJECT=NL:/NOLIST for error checking

          Now recompiling /DEBUG/NOOPTI/NOLIST (with messages suppressed) to produce object code

          %LIBRAR-F-OPENIN, error opening USER_DISK_SLC:[BROBECK.WORK5]DEVLIB.OLB; as input

          -RMS-E-FNF, file not found

          %COMPILE.COM exiting with %LIBRAR-F-OPENIN, error opening !AS as input

      4. cmp prntctl_init.for    –look for errors

        1. this compiles it and puts it back into cms

  2. check out one of the REF_SLCPNL:PRNTCTL*.PNL

    1. slccms

      1. set library cms_slcpnl

      2. reserve prntctl*.pnl

    2. edit the file

      1. More details in Help file

    3. cchk prntctl*.pnl

    4. Check panel

      1. Define slcpnl [],slcpnlGo to User Dev Panels on SCP

        1. toggle “Change Panel Mode” to “Use .PNL”

      2. Run a scp to check panel

      3. cmp prntctl*.pnl

  3. check out setup_print_lists.com

      1. slccms

        1. set library cms_com_gen

        2. reserve setup_print_lists.com

      2. edit file

        1. replace setup_print_lists.com

  1. login as slcshr

    1. type: buildshr dspshr same

    2. type: devshr dspshr

      1. Test on MCCDEV

    3. type: newshr dspshr

      1. Test on MCC

 

Note:     (It is possible SCP will fail, if for instance got too many printers in PRNTCTL_INIT.FOR, or if someone else had modified some DSPSHR code.)

 

 

 

 



 

[SLAC CPE Software Engineering Group][ SLAC Home Page]