Mail Archives: djgpp/1997/03/16/08:56:19
From: | "Colin W. Glenn" <cwg01 AT gnofn DOT org>
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | Concerning printer control codes and such
|
Date: | Sat, 15 Mar 1997 23:44:18 -0600
|
Organization: | Greater New Orleans Free-Net
|
Lines: | 40
|
Message-ID: | <Pine.GSO.3.95.970315233455.24096A-100000@sparkie.gnofn.org>
|
NNTP-Posting-Host: | sparkie.gnofn.org
|
Mime-Version: | 1.0
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
Alright, I'll be the first to admit this, I only program for and with what
I'm familar with.
The setup:
I have a program which produces output for several different types of
printers, including postscript, except for mine. Good feature is
availability of redirecting output to file, neat. Closest I'm familar
with would happen to be a 24 pin generic epson driver, ok, select that.
Now, the problem, convert this file into something my (ancient) 8 pin will
understand. After much fiddling around, I've determine the graphics
package lengths and have so far managed to produce some type of output
that almost resembles the original.
Now for the kicker question, I'm currently recomposing the 24 pin output
into three equal 'strings' in sequence, ie first byte to first string,
second byte to second string, third byte to third string, fourth byte to
first string. How, or rather, in what order should I be printing these
strings?
<! PrePared HTML! Just export as a HTML file and Click!>
<! New Stuff!>
Promise Keepers, for mature people only
<a href="http://www.promisekeepers.org/">.</a><br>
<br>
DJGPP A Free GNU C & more compiler
<a href="http://www.delorie.com/djgpp/">!</a><br>
DJ Delorie's Home Page
<a href="http://www.delorie.com/">.</a><br>
<br>
A Christian Web Site! The Light
<a href="http://www.thelight.org/">.</a><br>
A neat place to visit. HotSpot
<a href="http://www.hspro.com/hotspot/">.</a><br>
Caldera, Inc. / Makers of OpenDOS
<a href="http://www.caldera.com/">.</a><br>
Caldera's OpenDOS page
<a href="http://www.caldera.com/dos/dos.htm">.</a><br>
- Raw text -