Hello,

On Wed, 4 Jan 2023 at 01:52, Jim Hall <jh...@freedos.org> wrote:

> >> a) printer.htm (printer.sys) (in htmlhelp):
> >>
> >> According to help 1.0.5 this version was made by Aitor
> >> SANTAMARIA MERINO with copyright 2003. I overtook it from
> >> Rob Plat "as is".  I did not find the files at Ibiblio.
> >> Question: Is it still in use - and where can I find it? Or
> >> can I forget it?
>

PRINTER.SYS (or PRINTER.COM) would be a totally different project from
printer queues, etc. that is being discussed here.

PRINTER.SYS would be to PRN (LPT1) what DISPLAY.SYS is to CON: it would
provide the PRN device with IOCTL functions, that is, codepage management
functions, by means of using printer-specific commands sent to the printer,
and eventually, even sending full codepage information to a printer.

This is useful for when a codepage change command is issued:

CHCP 850

Kernek would issue the ioctl calls to all devices and no device is left
inconsistent (unlike what happens with the MODE CON CP SELECT= call).


Making this requires two things:

(1) Printer model specific commands for codepage management inside
PRINTER.SYS/COM (the same way that DISPLAY has CGA, EGA and VGA specific
functions):
DISPLAY CON=(EGA,....)
would be
PRINTER PRN=(my_printer,...)

(2) codepage specific data files, that contain bulk codepage information to
be sent to the printer by means of MODE:
MODE CON CODEPAGE PREPARE=((850) EGA.CPX)
would be
MODE PRN CODEPAGE PREPARE=((850)  codepage_information_file)

Regrettably, I don't have any of the codepage information files, or their
format so that MODE can bulk send them to PRINTER.SYS. And second, very
long long time ago I was sent SOME information about PCL printers, but this
project is not very appealing to me, as I assume there are not many FreeDOS
users that would find this useful.

So although DISPLAY sources could be slightly adapted to produce a
PRINTER.SYS/COM, there is no PRINTER that I know of.

Aitor
_______________________________________________
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to