From: Fairfield@SLAC.Stanford.EDU
Sent: Tuesday, March 14, 2000 6:06 PM
To: Info-VAX@Mvb.Saic.Com
Subject: [SUMM] Do HP Color LaserJet's work with DCPS?

        With helpful  input  from  Mark  Berryman,  David  Mitchell  and
    others,  I  can  now  report SUCCESS using DCPS with  the  HP  Color
    LaserJet 4500N, including using ip_rawtcp as the transport and doing
    input tray selection.

    Summary:
    -------
     0) DCPS will talk to  the  HP  4500 as a "unrecognized printer"
        just fine, at least over Appletalk.

     1) To use ip_rawtcp talking to  port  9100  on the HP 4500, you
        need  to (locally) go into the printer's Configuration Menu,
        select Personality, and change it from "Auto" to  "PS".   It
        seem this printer doesn't auto-detect Postscript over the IP
        channel correctly...

     2) To get input tray  selection  to work, extract the HP 4000's
        input   tray  module  from  SYS$LIBRARY:DCPS$DEVCTL.TLB  and
        rename it (or  extract  it  to)  a  file  with  the  correct
        "unrecognized"   name.   (In  fact,  I  also  extracted  the
        "initpsdevice" module for the HP 4000 into an "unrecognized"
        version so that  gray-scale  will  work  with LIST data type
        output.)

        A) $ LIB/TEXT/EXTR=LPS$$HPLASERJET4000_SETINPUTTRAY -
                     /OUT=LPS$$UNRECOGNIZED_SETINPUTTRAY.TXT_4500 -
             SYS$LIBRARY:DCPS$DEVCTL

        B) $ LIB/TEXT/EXTR=LPS$$HPLASERJET4000_INITPSDEVICE -
                     /OUT=LPS$$UNRECOGNIZED_INITPSDEVICE.TXT_4500 -
           SYS$LIBRARY:DCPS$DEVCTL

     3) Create a new text  library  in SYS$LIBRARY and add these two
        text modules to it:

        $ LIB/TEXT/CREAT SYS$COMMON:[SYSLIB]HP4500_DEVCTL *.TXT_4500

     4) In your DCPS startup procedure, add an executive mode search
        list logical name that  includes  the new text library ahead
        of the default DCPS library:

        $ DEFINE/SYSTEM/EXEC/NOLOG DCPS_HP4500_LIB -
			SYS$LIBRARY:HP4500_DEVCTL,DCPS$DEVCTL

     5) In your DCPS startup where  you initialize the HP 4500 print
        queue(s),  specify  DCPS_HP4500_LIB as the /LIBRARY  in  the
        INITIALIZE/QUEUE  command,  or  as  the   P3   argument   to
        SYS$STARTUP:DCPS$EXECUTION_QUEUE.COM (in place of DCPS_LIB).


        Note that the steps above  are  precisely  the same as one would
    use  to get at the full features of an HP 4050N from DCPS using  the
    HP 4000 text modules.  In fact, since I already had the library  set
    up for an HP 4050, I just used that library for the 4500.  :-}


        Oh,  and  lastly,  and   as   one  might  have  expected,  using
    /PARAMETER=INPUT_TRAY=TRAY_1  selects the "loose" or "manual" feeder
    on the upper front of the HP  4500N.   Specifying  INPUT_TRAY=TRAY_2
    takes input from the bottom 250-sheet tray.


        Again, thanks for everyone's input! :-)

            -Ken
--      
 Kenneth H. Fairfield            |  Internet: Fairfield@SLC.Slac.Stanford.Edu
 SLAC, 2575 Sand Hill Rd, MS 46  |  Voice:    650-926-2924
 Menlo Park, CA  94025           |  FAX:      650-926-3515
 -----------------------------------------------------------------------------
 These opinions are mine, not SLAC's, Stanford's, nor the DOE's...