Re: [Freedos-user] looking for epson or escp printer users
Hello, 2008/2/15, Eric Auer <[EMAIL PROTECTED]>: > This will also be useful for some related projects: Writing some > extension for the Blocek DOS Unicode editor to print unicode text > as graphics, and writing a driver which lets you print text as > graphics using the font you are using on the screen or a font > loaded from a CPI file. This code could also be used by PRINTER > (by Aitor) later, unless he prefers loading the font to the > printer itself and then printing the text as text instead. Is not that I prefer it, it's that it's precisely what PRINTER.SYS is about: would just need code to select a printer hardcoded font, and also code to load new fonts into a printer. Aitor - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user
Re: [Freedos-user] looking for epson or escp printer users
Eric: I've set this in my calendar for Saturday Feb. 23nd. I'm in a sales campaign for my company as consulting has taken a dive in the Detroit auto industry. I have to stay on the phone making calls this week. Sorry for the slow response. On Feb 18, 2008 11:23 AM, Eric Auer <[EMAIL PROTECTED]> wrote: > > Hi Oleg, John, > > thanks for contacting me. I did use online and offline > handbooks for writing the ESC/P mode of GRAPHICS, but > it seems nobody tested it back then (and I myself only > had a HP PCL printer). Only this year, somebody told > me GRAPHICS would print an empty page for ESC/P, but > he refused to help me to figure out why... > > GRAPHICS (the GRAPHPIN part of it) can do both 120x60 > (on real 9pin: 120x72) dpi 8 pin modes (in /C mode) > as well as 180x180 dpi 24 pin mode. > > I use the following sequences, ESC=char(27), CR=char(13), > LF=char(10), FF=char(12), lo = /C mode, hi = normal mode: > > > > Init: Set line spacing > lo: ESC A char(8) CR LF > hi: ESC 3 char(24) CR LF > > Bitmap: Send one block of pixels > lo, 31 columns 8 rows: ESC L char(31) char(0) > hi, 70 columns 24 rows: ESC * char(39) char(70) char(0) > > Finish: Reset spacing, eject > both: ESC 0 FF CR LF > > > > > > What namely does not work? ~2 years ago I tried GRAPHICS, but > > > got bad results [on Epson LX300]... > > If you had told me, I could have repaired it 2 years ago... ;-) > > Eric > > PS: When I wrote GRAPHICS, I used DOSEMU to grab the printed data. > I can send you examples of the PostScript output for testing on > real printers, but it looked okay in ghostscript GV ;-). As for > the ESC/P part, I tested by writing a minimal simulation of such > a printer, with PNG output. So if that is broken, so is GRAPHICS. > > -- John S. Wolter President Wolter Works Mailto:[EMAIL PROTECTED] Desk 1-734-665-1263 Cell: 1-734-904-8433 - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user
Re: [Freedos-user] looking for epson or escp printer users
Hi Oleg, John, thanks for contacting me. I did use online and offline handbooks for writing the ESC/P mode of GRAPHICS, but it seems nobody tested it back then (and I myself only had a HP PCL printer). Only this year, somebody told me GRAPHICS would print an empty page for ESC/P, but he refused to help me to figure out why... GRAPHICS (the GRAPHPIN part of it) can do both 120x60 (on real 9pin: 120x72) dpi 8 pin modes (in /C mode) as well as 180x180 dpi 24 pin mode. I use the following sequences, ESC=char(27), CR=char(13), LF=char(10), FF=char(12), lo = /C mode, hi = normal mode: Init: Set line spacing lo: ESC A char(8) CR LF hi: ESC 3 char(24) CR LF Bitmap: Send one block of pixels lo, 31 columns 8 rows: ESC L char(31) char(0) hi, 70 columns 24 rows: ESC * char(39) char(70) char(0) Finish: Reset spacing, eject both: ESC 0 FF CR LF > > What namely does not work? ~2 years ago I tried GRAPHICS, but > > got bad results [on Epson LX300]... If you had told me, I could have repaired it 2 years ago... ;-) Eric PS: When I wrote GRAPHICS, I used DOSEMU to grab the printed data. I can send you examples of the PostScript output for testing on real printers, but it looked okay in ghostscript GV ;-). As for the ESC/P part, I tested by writing a minimal simulation of such a printer, with PNG output. So if that is broken, so is GRAPHICS. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user
Re: [Freedos-user] looking for epson or escp printer users
I have used EPSON wide carriage and OKI 390 turbo letter width dot matix in EPSON ESC/P and ESC/P2 modeS with custom code I wrote. As long as the correct escape code sequences were sent to the printer the output whether character based or graphics worked. One thing is to be sure you have good documentation of how the escape sequences work. The web is a ready resource to locate that information. The old printed 20th Century documentation from the late 1980's and early 1990's was not of great quality just a listing of the sequences. Thing would go-bad when the communications path to the printer was not working correctly. An example was for a printer port driver was not sending characters with the 8th bit set. That really ate up some time to figure out. Check to be sure the escape codes are actually reaching the printer. How would you figure that out. 1.) divert the printer output to a file from LPTx: 2.) use a Hex editor or a programmer's text editor with a Hex mode such as you can get from http://www.vedit.com, a really high quality editor. 3.) examine the actual Hex code series that the file indicates the printer receives to see if the printer is getting proper escape sequences. OR Write short programs that output short escape sequences to test the printer behavior. On Feb 18, 2008 2:23 AM, Oleg O. Chukaev <[EMAIL PROTECTED]> wrote: > Hello Eric, > > Eric Auer wrote: > > Hi everybody, I got a mail that GRAPHICS does not work right > > on some Epson ( ESC/P , ESC/P2 ) printers... > What namely does not work? ~2 years ago I tried GRAPHICS, but got bad > results... > > > Would anybody be willing to test and verify this? > I have Epson LX-300 and wide noname printer which also support ESC/P, > and I can test and verify GRAPHICS. > > > -- > Oleg O. Chukaev > > > - > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ > ___ > Freedos-user mailing list > Freedos-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/freedos-user > -- John S. Wolter President Wolter Works Mailto:[EMAIL PROTECTED] Desk 1-734-665-1263 Cell: 1-734-904-8433 - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user
Re: [Freedos-user] looking for epson or escp printer users
Hello Eric, Eric Auer wrote: > Hi everybody, I got a mail that GRAPHICS does not work right > on some Epson ( ESC/P , ESC/P2 ) printers... What namely does not work? ~2 years ago I tried GRAPHICS, but got bad results... > Would anybody be willing to test and verify this? I have Epson LX-300 and wide noname printer which also support ESC/P, and I can test and verify GRAPHICS. -- Oleg O. Chukaev - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user
[Freedos-user] looking for epson or escp printer users
Hi everybody, I got a mail that GRAPHICS does not work right on some Epson ( ESC/P , ESC/P2 ) printers... Would anybody be willing to test and verify this? I myself only have a PCL printer, no ESC/P printer, so I cannot check this myself... GRAPHICS is a tool which prints the (M)CGA / EGA / VGA screen when you hit a hotkey or trigger interrupt 5 manually, pretty simple user interface. But it has a few command line options and it is possible that only some cause problems. Unfortunately, the original problem reporter is not willing to help me with testing, but maybe somebody of you would want to help out? This will also be useful for some related projects: Writing some extension for the Blocek DOS Unicode editor to print unicode text as graphics, and writing a driver which lets you print text as graphics using the font you are using on the screen or a font loaded from a CPI file. This code could also be used by PRINTER (by Aitor) later, unless he prefers loading the font to the printer itself and then printing the text as text instead. > www.freedos.org/cgi-bin/lsm.cgi?mode=lsm&lsm=edit/blocek.lsm > www.freedos.org/cgi-bin/lsm.cgi?mode=lsm&lsm=base/graphics.lsm Thanks for your help already :-) Eric - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user