home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / vmsnet / misc / 1101 < prev    next >
Encoding:
Internet Message Format  |  1993-01-07  |  7.2 KB

  1. Xref: sparky vmsnet.misc:1101 vmsnet.networks.desktop.pathworks:3955 comp.os.vms:20498
  2. Newsgroups: vmsnet.misc,vmsnet.networks.desktop.pathworks,comp.os.vms
  3. Path: sparky!uunet!zaphod.mps.ohio-state.edu!howland.reston.ans.net!usc!cs.utexas.edu!geraldo.cc.utexas.edu!slcs.slb.com!BRYDON@128.58.42.3
  4. From: brydon@asl.slb.com (Harvey Brydon (918)250-4312)
  5. Subject: re: Re: How to use a non-DEC postscript printer??
  6. Message-ID: <1993Jan7.131903.25423@slcs.slb.com>
  7. Sender: news@slcs.slb.com (News Administrator)
  8. Nntp-Posting-Host: 129.87.186.2
  9. Reply-To: brydon@dsn.SINet.slb.com
  10. Organization: Schlumberger/Anadrill Sugar Land, TX
  11. References: <9301060244.AA01911@uu3.psi.com>,<1993Jan6.073552@mccall.com>
  12. Date: Thu, 7 Jan 93 13:19:03 GMT
  13. Lines: 120
  14.  
  15. In article <1993Jan6.073552@mccall.com>, tp@mccall.com (Terry Poot) writes:
  16. >[...]
  17. >In article <9301060244.AA01911@uu3.psi.com>, leichter@lrw.com (Jerry Leichter)
  18. >writes:
  19. >>
  20. >>
  21. >>    In article <31DEC199209514502@author.gsfc.nasa.gov>,
  22. >>    rkoehler@author.gsfc.nasa.gov (Bob Koehler) writes:
  23. >>    >The CPS software inquires from the printer as to what kind of printer
  24. >>    >it is.  If its not recognized, it assumes DEC LN03R (Scriptprinter), 
  25. >>    >and utilizes vendor and model specific knowledge in communicating to
  26. >>    >the "LN03R". Of course, if its not an LN03R, that's likely not to
  27. >>    >work.  
  28. >>
  29. >>    I always wondered how DEC managed to not support a standard Postscript
  30. >>    printer.  Thanks for the info. If they weren't trying to lock you into
  31. >>    their own printers, of course, they'd assume a standard Postscript
  32. >>    printer if they didn't recognize what they got back. Assuming an LN03R
  33. >>    is ludicrous, since that is one they WOULD recognize! I wonder what
  34. >>    marketting guru thought of that little ploy.
  35. >>
  36. >>And just what do you think a standard Postscript printer IS?  
  37.  
  38. [and then it gets into Terry's discussion of what a 'standard' printer is and
  39. how it could be handled by CPS...]
  40.  
  41. I have done a bunch of screwing around with CPS for the last couple of
  42. man-months (and I call it screwing around because I haven't really
  43. accomplished anything) and am completely frustrated by CPS.  Having looked at
  44. all the setup modules, disassembled the symbiont and a few other things, I can
  45. say without too much error that CPS was meant to be used with a (now) subset
  46. of DEC printers and intentionally made to NOT work with anybody else's
  47. printers.  The printers that it supports:
  48.  
  49. Scriptprinter - LN03R
  50. DEClaser 2150 - LN05 (R?)
  51. DEClaser 2250
  52. DEClaser 1150
  53. DEClaser 3250
  54. Colormate PS
  55. OceColor
  56.  
  57. I don't know the mapping for all of the above, but this translates into device
  58. types of LN03R, LN05R, LN06R, LN07R, LN08R, Colormate PS and OceColor.  I have
  59. no idea what the Oce printer is, but the Colormate PS is actually an NEC
  60. Colormate PS80 (not the PS40).
  61.  
  62. The setup module LPS$$PRINTERTYPE checks to see if the symbol /product is
  63. defined on the printer and returns that to the symbiont.  If it is unknown or
  64. not something on the above list, the symbiont treats it as an LN03R.  You
  65. can't just add modules for an 'xyz' printer because DEC has intentionally
  66. crippled the symbiont so that it will specifically NOT WORK with anything
  67. other than the above.  Not even the newer DEC printers such as the 1152.  You
  68. can take over the 'family' of setup modules for one of the above and rewrite
  69. them for your printer, but the symbiont still treats it as the DEC printer and
  70. may give you trouble.  For example, there are a couple of routines common to
  71. the black/white printers that are executed by all called (surprise)
  72. LPS$$LNXX_INITPSDEVICE and LPS$$LNXX_SETCONTEXT.  If you want to run an
  73. environment mixed with a DEC printer and your own printer, you may need to do
  74. some serious modifications.  Here is a piece of what my 'test'
  75. LPS$$PRINTERTYPE module looks like:
  76.  
  77. (%%[ ReturnStatus: 195 )print
  78. statusdict /p ("NOTFOUND") def
  79. statusdict/product known {/p /product def} if
  80. statusdict/product get (HP LaserJet III)        eq {/p ("LN03R")def} if
  81. statusdict/product get (OL830)                  eq {/p ("LN03R")def} if
  82. statusdict/product get (OL840)                  eq {/p ("LN03R")def} if
  83. statusdict/product get (Silentwriter 95)        eq {/p ("LN03R")def} if
  84. statusdict/product get (Silentwriter S62P)      eq {/p ("LN03R")def} if
  85. statusdict/product get (Personal ColorPoint PS) eq {/p ("OceColor")def} if
  86. statusdict/product get (IBM Color Jetprinter PS 4079)
  87.                                                 eq {/p ("OceColor")def} if
  88. statusdict/product get (Phaser II PXe)          eq {/p ("Colormate PS")def} if
  89. /p print ( ]%%\n)print
  90. flush
  91.  
  92. I have obviously been trying this with a few printers.  I am really hacked off
  93. that CPS won't let me use my own LPS$$'non-DEC_printer'_x modules.  This is
  94. clearly not in the spirit of open systems.  OpenVMS? Ptui!
  95.  
  96. By the way, you will also have to buy a license to use it in this unsupported
  97. fashion as well, too.  It's stated at about $1300.  Pricing is unclear if that
  98. is supposed to be per printer, per system or per site.  I haven't bought one
  99. yet because I haven't got it to work.
  100.  
  101. Somebody asked about the NEC Silentwriter 95.  This printer will not work
  102. correctly in the CPS environment. I have managed to get it to print single
  103. jobs correctly, but if you queue 2 jobs back to back, the symbiont and printer
  104. hang in an infinite loop trying to deliver printer status back to the
  105. symbiont.  I think it has to do with the printer's auto-emulation sensing (the
  106. vax sends a "ctrl/d, ctrl/t, ctrl/d, ctrl/t..." forever between jobs waiting
  107. for the printer to show 'idle' and the printer is looking for a <CR>
  108. terminated line of text to decide if it is postscript or PCL, and returns
  109. "busy", "processing" forever to the vax).  I haven't tested this on it's
  110. International version (the Silentwriter S62P) but I believe it would have the
  111. same problem because it has the same internals.
  112.  
  113. Jerry and Terry made comments about support for standard printers.  I think
  114. Jerry's comments are more or less true for postscript level 1 printers.  Every
  115. postscript printer manufacturer for level 1 that I know of added their own
  116. extensions to postscript to allow choosing between different paper sizes,
  117. trays, colors, etc. and the printer driver for that printer (on the VAX, PC,
  118. Mac, unix box...) was expected to know about these extensions.  Postscript
  119. level 2 added a means for inquiring this of the printer so that
  120. printer-specific drivers should be no longer necessary (he says hopefully).
  121. The problem with Postscript level 1 is that extensions to the language were
  122. required and I think existed on every printer ever made.  I may be wrong but I
  123. believe that every level 2 printer I have seen does not have or need device
  124. specific extensions ... so the conclusion in my opinion is that any symbiont
  125. handling postscript level 2 printers should be able to do so without special
  126. knowledge of the printer.  This is not the case with postscript level 1
  127. printers.  DEC's follow-on product to CPS, called DCPS (comes in three parts:
  128. DCPS-base, DCPS-open, DCPS-plus) just *might* be able to do this.  I have a
  129. copy on order but haven't seen it yet (announced in November, but currently on
  130. engineering hold).
  131. _______________________________________________________________
  132. Harvey Brydon         | Internet:   brydon@dsn.SINet.slb.com
  133. Dowell Schlumberger   | P.O.T.S.:   (918)250-4312
  134.   The large print giveth and the small print taketh away.
  135.