www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/07/27/18:09:20

Message-ID: <35BCFAC6.5794@teleline.es>
Date: Tue, 28 Jul 1998 00:10:14 +0200
From: Mariano Alvarez Fernández <malfer AT teleline DOT es>
Reply-To: malfer AT teleline DOT es
Organization: teleline.es
MIME-Version: 1.0
To: "Roger H." <rogerwh AT aa DOT net>
CC: djgpp AT delorie DOT com
Subject: Re: SET's editor v0.4.17 printing problem

>  Does anyone know how to setup Set's editor to print with a laser
> printer?

I don't know if this work whith SET's editor, but I use the next
initialization secuence in all my dos programs to print to HP printers.
I have tested it with LaserJet 4L, 5M, DeskJet 500 Plus, DeskJet 670.

\033E		Reset
\x1B&k2G	LF=CR+LF and \n works!!
\x1B(10U	PC-8 char-set (to print line-drawings)
\x1B(s12H	Use 12 cpi, LaserJet printers only print 78 chars
		in 10 cpi!!!!
\x1B&a6L	Set left margin to center text

Regards, M.Alvarez

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019