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 PDT From: "Ron Wu, SC2-24, 5-2368." Message-Id: <9305071459.utk13256@MATTEC.intel.com> X-To: VAXPOST Subject: create a device library To: info-vax@sri.com >Hello All, > Sorry if this question has been asked before, > > 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) Its easy to generate one yourself. Here is how I did it. Look into printer user's manual, find the printer commands section. use the editor (edt for me) to edit a text file which includes the printer commands Here is an example for LaserJet 4 printer to print a proportional(1p) Times New Roman font(16901t) with point size 12(12v), upright(0s), medium stroke(0b) (s1ps12v0s0b16901t Edit this line then call it ROMAN.TXT. The escape code is done by press the [Gold] key (PF1 key) then the number 27, [Gold] key again, then [Specin] key (number 3 key on the key pad). Edit more if you need it. When you are done call up the Library. If you don't have a library for the laserjet then you need to create one. $ LIBRARY/CREATE/TEXT SYS$LIBRARY:HPLJDEVCTL.TLB Now to insert the text file $ LIBRARY/INSERT/TEXT SYS$LIBRARY:HPLJDEVCTL ROMAN.TXT $ ...... See the 'VMS Librarian Utility Manual' for more details. (rwu@mattec.intel.com)