Linux MS DOS discussions
 help / color / mirror / Atom feed
From: "Alain M." <alainm@pobox.com>
To: dosEmu-list <linux-msdos@vger.kernel.org>
Subject: Emulating a laser printer (was Epson Printing)
Date: Wed, 08 Nov 2006 19:03:17 -0200	[thread overview]
Message-ID: <45524615.4050005@pobox.com> (raw)
In-Reply-To: <45518F3C.8060700@my.home>

Hi Jan,

Thanks for your reply :) :) I installed GhostPCL reconfigured my DOS 
program and it is working wonderfully.

So here is what I did:
1) download and compile GhostPCL (http://www.artifex.com/downloads/)

2) Configure Dosemu with this to generate PS (faster then PDF) and 
convert from stdin to stdout sending to printer:
$_printer_command = "pcl6 -dNOPAUSE -dBATCH -sDEVICE=pswrite 
-sOutputFile=- - | lpr -P EpsonC87"

I only tested with a simple DOS program, I will test with some CAD later.

As for Epson PS, maybe someday I will test it. I haven't tested it 
because it is a very old source code which will probably take some work 
to use with new compilers.

Alain

Jan Willem Stumpel escreveu:
> I haven't, but this approach is sound in principle. I do a similar
> thing with the HP (PCL) control language.
> 
> My Brother printer (with its drivers) only understands
> Postscript and pdf. I made an input filter (for lprng) that
> changes PCL to pdf, using pcl2pdf, which is part of GhostPCL
> (http://www.artifex.com/downloads/). I tell my DOS programs that
> they are talking to an HP Laserjet. Pure "raw text" is first
> changed into PCL by prepending a PCL initialisation string. This
> works. DOS programs can print both text and graphics.


  reply	other threads:[~2006-11-08 21:03 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-08  0:32 Epson Printing Alain M.
2006-11-08  8:03 ` Jan Willem Stumpel
2006-11-08 21:03   ` Alain M. [this message]
2006-11-09  8:10     ` Emulating a laser printer (was Epson Printing) Jan Willem Stumpel
2006-11-10 10:18     ` Jan Willem Stumpel
2006-11-10 18:23       ` 1.3.3 flashy screen and overactive keyboard Jamie McPherson
2006-11-21 17:55       ` jamie

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=45524615.4050005@pobox.com \
    --to=alainm@pobox.com \
    --cc=linux-msdos@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox