Re: [Freedos-user] Printer driver

2005-12-28 Thread Arkady V.Belousov
Hi!

25-Дек-2005 21:47 [EMAIL PROTECTED] (Edmund Swylan) wrote to
freedos-user@lists.sourceforge.net:

ES> How does one go about finding a DOS driver for a given
ES> parallel port printer (eg Epson Stylus C84, Epson LX-300+)?

 For which program? Each program under DOS works with own drivers, there
are no common drivers (except for disks).





---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Printer driver

2005-12-27 Thread Andre Tertling

Edmund Swylan wrote:


I have tried the FILE: approach - with LX-300+, a 9 pin
Epson. The Win95 FILE: seems to be unknown in the DOS
window; so I did the printing in Notepad. The .prn
turned out 401 bytes long. The original .txt was 10 bytes:
8 letters plus 0x0d 0x0a. I then changed the printer setting
back to LPT1 and printed the .prn from DOS (window) EDIT.
The original eight letters, in something like subscript font,
were printed; but so were many spaces and some other characters.
It looks like under Win95 .prn is not exactly what goes to
the port. Also, the eight letters ('abcdefgh') must have
been encoded in some (to me) unusual way: I do not readily see
any 8 consecutive bytes or half-words in the .prn. Nor do
carriage returns and line feeds come in pairs.


By default, Windows prints a lot of stuff as bitmaps. If you can send me 
the prn file, I can have a look at it and explain its content to you.

BTW, the proper way of printing prn files is this:

copy /b filename.prn lpt1

Opening the prn file in EDIT will have all kinds of funny effects as the 
printer control commands will become misinterpreted.


In Windows 95, you can capture whatever a DOS application sends to the 
printer port. While configuring the printer, you just have to tell 
Windows that DOS applications will be using this printer, too. (If I am 
not mistaken, Win95 is so long ago for me...) Windows will then 
intercept all DOS print commands and translate the output, then send it 
through its Windows printer driver.


The best thing to start is probably your printer manual. It should 
contain all the sequences your printer can understand. After that, you 
just have to make up a small programm that can send such command 
sequences to the printer port. I will check if I have some introductory 
material somewhere...


I could probably whip up a program for sending stuff to your printer in 
QBasic (must be lying around here somewhere *g*) :)


Best regards,
Andre

P.S. Please make sure to CC: the Freedos Mailinglist instead of BCC: it. 
It is much more comfortable if I don't have to add the mailinglist to 
the recipients list each time I reply to your mails :) (yes, I AM lazy *g*)




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Printer driver

2005-12-26 Thread Andre Tertling

Hi Edmund,

there is no such thing as a generic DOS printer driver for a particular 
printer. You have to compile the printer commands all by yourself and 
just send them to the printer port. Depending on the printer, available 
printer commands will be listed in its manual. Generally speaking, ink 
printers and cheap lasers (GDI printers) are unsupported due to lack of 
documentation. On ink printers, text mode output may or may not be 
available. Common lasers use PCL which is rather good documented.


If you need a particular problem solution, let us know. :)

Best regards,
Andre


Edmund Swylan wrote:

How does one go about finding a DOS driver for a given
parallel port printer (eg Epson Stylus C84, Epson LX-300+)?
The Epson sites and the more often referenced driver sites
do not seem to offer DOS drivers for the printers I am interested
in. But maybe some of the offered drivers will do or perhaps
there is a DOS specific survey site or two.
es



---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user





---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user