Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.postscript > #1935
| From | "Stewart C. Russell" <scruss@scruss.com> |
|---|---|
| Subject | Writing a Ghostscript uniprint driver |
| Newsgroups | comp.lang.postscript |
| Message-ID | <lfgCv.110314$LH2.38756@fx17.iad> (permalink) |
| Date | 2014-07-31 00:39 +0000 |
<pIzg75!!FzS>D]ZDze,9L$TL)$oI8]\U6.`>Ou8&TrrpF{Jg,>_N\'P$\Q}d)`DibeD\0%~Uw;
zte
`9Hn7f@0|PTu%k?pcc9JO"yb40)KJIkkYU6L.T`,8~|\i%
User-Agent: Pan/0.139 (Sexual Chocolate; GIT bf56508
git://git.gnome.org/pan2)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Hi,
I've recently started experimenting with small roll-fed thermal printers,
a bit like this one: <https://www.sparkfun.com/products/10438>. They all
understand variants of Epson ESC-POS, which in turn is very similar to
the ESC-P and ESC-P/2 command sets of Epson's older impact printers.
Ghostscript's uniprint driver - http://ghostscript.com/doc/7.07/
Devices.htm#Uniprint - looks perfect for supporting these little devices.
Unfortunately, there's precious little documentation on this elderly
"community supported" driver. Particularly:
* There's little explanation of the upOutputFormat option
* most of the parameters for terms like margins and print density are
only hinted at, and never explained. Unsetting them, or removing them
causes the output to fail.
These thermal printers are incredibly simple: 384 monochrome pixels
across, 8 pixels/mm, effectively unlimited print length; printed (slowly,
at 9600 baud) as 24 pixel deep by up to 384 pixel wide band.
Any suggestions, please, as to where I might find clearer guidelines?
thanks,
Stewart
(if anyone wishes to print to these from a bitmap, I wrote a little
Python filter that should work on most of them: https://gist.github.com/
scruss/95c61c9a1501ada2a6c5 )
--
Stewart C. Russell — http://scruss.com/blog — OpenPGP Key: EB265B06
‘Remember the Golden Rule of Selling:
“Do not resort to violence.”’ — McGlashan.
Back to comp.lang.postscript | Previous | Next — Next in thread | Find similar | Unroll thread
Writing a Ghostscript uniprint driver "Stewart C. Russell" <scruss@scruss.com> - 2014-07-31 00:39 +0000
Re: Writing a Ghostscript uniprint driver Helge Blischke <h.blischke@acm.org> - 2014-07-31 12:45 +0200
Re: Writing a Ghostscript uniprint driver tlvp <mPiOsUcB.EtLlLvEp@att.net> - 2014-07-31 14:05 -0400
csiph-web