Article View: vmsnet.misc
Article #263Re: How to use a non-DEC postscript printer???
From: Bernhard Fabricius
Date: Sun, 03 Jan 1993 23:05
Date: Sun, 03 Jan 1993 23:05
50 lines
2998 bytes
2998 bytes
In article <31DEC199209514502@author.gsfc.nasa.gov>, rkoehler@author.gsfc.nasa.gov (Bob Koehler) writes:
>In article <35.2b41ce0c@wrglex>, l_seibert@wrglex writes...
>>
>>I have a problem to use a postscript printer as a postscript printer under VMS.
>>The printer is a Brother HL-10PS, it is connected serial with the DECserver200
>>and everything is working fine as long as I use it as a text printer, but as
>>soon as I send a postscript file or I connect it to a queue created with DEC's
>>CPS-software, it doesn't print anything. If it is connected to a text queue,
>>the printer tells me IGNORE DATA. If it is connected to a CPS queue, it takes
>>sometime and then the queue is stalled.
>
>The CPS software inquires from the printer as to what kind of printer it is.
>If its not recognized, it assumes DEC LN03R (Scriptprinter), and utilizes
>vendor and model specific knowledge in communicating to the "LN03R". Of
>course, if its not an LN03R, that's likely not to work.
Ah, but if you have no genuine LN03R printers in your system then try to
replace the module LPS$$LN03R_INITPSDEVICE in SYS$LIBRARY:CPS$DEVCTL.TLB
with the following:
% Copyright 1988, 1989, Digital
% V2.1-2a
% Modified for non-LN03R printers (papersize and papertray stuff removed)
statusdict begin/returnstatus{(%%[ ReturnStatus: )print(0123456789)cvs
print counttomark{counttomark -1 roll( ")print print(")print}repeat
pop( ]%%\n)print flush} end
Extract these 6 lines to the file LPS$$LN03R_INITPSDEVICE.TXT and do a
library/text/replace on the device control library. Happy printing!
CAVEAT: You may run into problems if you also have LN03R printers! In that
case you can create a module with the missing stuff and send that
as a SETUP to your genuine LN03R printers (include that as part of
the queue definitions in the CPS startup file).
AND: Whatever you do, make a copy of the original .TLB file before you
start playing...
Cheers
Bernhard
--------------------------------------------------------------------------------
Dr Bernhard Fabricius |
Academic VAX/VMS Support | "I am a Bear of Very Little Brain,
Department of Nuclear Physics | and long words Bother me."
Australian National University |
| - A.A. Milne
InterNet: BEAR@NUC.ANU.EDU.AU |
POSTMASTER@NUC.ANU.EDU.AU |
Technical Details
Message-ID:
<1i7rgeINN5ak@manuel.anu.edu.au>Path:
arc1-ca.pugleaf.net!sparky!uunet!munnari.oz.au!manuel.anu.edu.au!manuel.anu.edu.au!usenetReferences:
<35.2b41ce0c@wrglex> <31DEC199209514502@author.gsfc.nasa.gov>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!munnari.oz.au!manuel.anu.edu.au!manuel.anu.edu.au!usenet From: bear@nuc.anu.edu.au (Bernhard Fabricius) Newsgroups: vmsnet.misc,vmsnet.networks.desktop.pathworks,comp.os.vms Subject: Re: How to use a non-DEC postscript printer??? Date: 3 Jan 1993 23:05:50 GMT Organization: Nuclear Physics, ANU Lines: 51 Distribution: world Message-ID: <1i7rgeINN5ak@manuel.anu.edu.au> References: <35.2b41ce0c@wrglex> <31DEC199209514502@author.gsfc.nasa.gov> Reply-To: BEAR@NUC.ANU.EDU.AU NNTP-Posting-Host: 150.203.19.47