A From:	SMTP%"RELAY-INFO-VAX@CRVAX.SRI.COM"  7-MAY-1993 12:28:37.62  To:	EVERHART CC:	 Subj:	create a device library     Date: Fri, 7 May 93 07:59:16 PDT6 From: "Ron Wu, SC2-24, 5-2368." <RWU@MATTEC.intel.com>2 Message-Id: <9305071459.utk13256@MATTEC.intel.com>
 X-To: VAXPOST   Subject: create a device library To: info-vax@sri.com   >Hello All, 1 >   Sorry if this question has been asked before,  > G >    Does anyone known where I might be able to pickup a printer device # >control library for a HP laserJet.  >  >Thanks in advance...steve( >                    (milwics@sytex.com)  C 	Its easy to generate one yourself. Here is how I did it. Look into H printer user's manual, find the printer commands section. use the editorD (edt for me) to edit a text file which includes the printer commands  F 	Here is an example for LaserJet 4 printer to print a proportional(1p)J Times New Roman font(16901t) with point size 12(12v), upright(0s), medium 
 stroke(0b)   	<ESC>(s1ps12v0s0b16901t    C 	Edit this line then call it ROMAN.TXT. The escape code is done by  J press the [Gold] key (PF1 key) then the number 27, [Gold] key again, then J [Specin] key (number 3 key on the key pad). Edit more if you need it. WhenN you are done call up the Library. If you don't have a library for the laserjet then you need to create one.  1 	$ LIBRARY/CREATE/TEXT SYS$LIBRARY:HPLJDEVCTL.TLB    	Now to insert the text file  7 	$ LIBRARY/INSERT/TEXT SYS$LIBRARY:HPLJDEVCTL ROMAN.TXT 	 	$ ......   9 	See the 'VMS Librarian Utility Manual' for more details.    (rwu@mattec.intel.com)  