Emulating a laser printer (was Epson Printing)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

-
To unsubscribe from this list: send the line "unsubscribe linux-msdos" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Console]     [Linux Audio]     [Linux for Hams]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite Camping]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Samba]     [Linux Media]     [Fedora Users]

  Powered by Linux