From: SMTP%"bill@office.ab.umd.edu" 14-SEP-1993 11:01:24.10 To: EVERHART CC: Subj: Re: DCPS for HP Laserjet 4? From: bill@office.ab.umd.edu (Bill Bame) X-Newsgroups: comp.os.vms Subject: Re: DCPS for HP Laserjet 4? Date: 13 Sep 1993 16:00:53 GMT Organization: UMMS/Shock Trauma Lines: 50 Sender: bill@bill.ab.umd.edu (Bill Bame) Distribution: world Message-Id: <2725fl$t9b@umd5.umd.edu> Reply-To: bill@office.ab.umd.edu Nntp-Posting-Host: bill.ab.umd.edu X-Newsreader: mxrn 6.18-4 To: Info-VAX@kl.sri.com X-Gateway-Source-Info: USENET >Have anyone discovered how to adapt DCPS to the HP Laserjet 4? >DCPS supports a number of HP PostScript printers and probably at least one >of these is a close fit to the Laserjet 4. The question is of >course what one does to make DCPS recognize this... >I get the following message when attempting to print to a HPLJ4M: > >>Queue DCPS: %DCPS-W-UNRECOGNIZEDPRI, Product name LaserJet 4 not recognized. >> Assuming Unrecognized If DCPS doesn't recognize the "product name" of a postscript printer it will assume this is a "generic" postscript printer (i.e. incapable of anything really cool). The steps it uses to recognize a postscript printer are: 1) DCPS$SMB asks the printer what it is (i.e. queries the postscript interpreter for the statusdict "product" object). 2) All the punctuation and non-printable characters are removed from the name (i.e. "HP Laserjet IIIsi" becomes "HPLaserjetIIIsi"). 3) DCPS$SMB looks (case insensitively) for some or all of the following modules in SYS$SHARE:DCPS$DEVCTL.TLB LPS$$_INITPSDEVICE LPS$$_SETCONTEXT LPS$$_SETINPUTTRAY LPS$$_SETOUTPUTTRAY where is the result of (2). 4) If the modules are not found DCPS$SMB will use LPS$$UNRECOGNIZED_*. If you know a little postscript and have the postscript-specific documentation for your printer, it's fairly easy to create the appropriate modules to add to DCPS$DEVCTL. I don't have an HP 4M, but I imagine you could copy the LPS$$LASERJETIII_* modules that come with DCPS$DEVCTL and insert them as LPS$$LASERJET4_* (don't forget to restart the queue - it won't recognize that you have added to DCPS$DEVCTL otherwise). FYI: Copying LPS$$LASERJETIIISI_* to LPS$$LASERJET4SI works just fine! -Bill -- +--------------------------------------+-------------------------------------+ | William P. Bame | Ground: William P. Bame | | internet: bill@office.ab.umd.edu | UMMS/Shock Trauma | | bbame@achi1.ab.umd.edu | 22 South Greene Street | | AT&T : [Work] (410) 328-3062 | Baltimore, MD 21201 | | CIS : 71620,425 | Room: T1R55 | +--------------------------------------+-------------------------------------+