Re: Emulating a laser printer (was Epson Printing)

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

 



Alain M. schreef:

> 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"

Yes.. this approach (using the Dosemu $_printer_command, and using
pcl6 directly) looks simpler than mine (I define a printer called
dos in /etc/printcap, with its own input filter involving pcl2pdf;
then I put $_printer = "dos" in ~/.dosemurc).

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

Please let us know how it goes. In my case I can even call (from dos):

copy /b xxx.pcl prn:

where xxx.pcl is some kind of pcl encoded graphics file (some
examples, high-resolution Mandelbrot set pictures, are to be found
on my page http://www.jw-stumpel.nl/z-scope.html).

> 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.

Compiling it is not such a big problem (but I have not tested it
yet). I just changed

#ifdef __TURBOC__
#define ANSI
#endif

to

#define ANSI

Then it compiled simply by "cc -o epsonps epsonps.c".

Regards, Jan

-
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