Well, as said, you can just concentrate on the printer-interfacing
stuff  (select hardware or software codepage, and load a character
table), all the rest is already done (DISPLAY). But not QBASIC, but
NASM   ;)

Aitor



2011/5/5 Henrique Peron <hpe...@terra.com.br>:
> Hi Eric,
>
> ok, so printing in graphics mode it is.
>
> Yes, it would be slow, but there would be no limitations. There would be
> no dependence on codepages, either hardcoded or not.
>
> Programming in QBASIC was a long time ago. I don't program on any
> language anymore for almost 20 years. It seems, then, that it is all
> about intercepting texts and calculating glyphs. It seems you have the
> knowledge for that. Would you be interested?
>
> Cheers,
> Henrique
>
> Em 5/5/2011 15:04, Eric Auer escreveu:
>> Hi Henrique,
>>
>>> I just read a PDF file "Epson ESC/P Reference Manual". It explains that
>>> 24-pin printers can "receive" definitions on 241 characters into its RAM
>>> but those 9-pin LX printers cannot. They can only receive 6 characters
>> Well 241 is enough for normal purposes, control chars do
>> not really need to have a shape which is visible on paper.
>>
>> But yes if you find a 9 pin printer in a museum, no font.
>>
>>> Perhaps the idea (which is what I did once with a 9-pin Epson LX-800
>>> that I had) is to manipulate the printer head directly.
>> That is simply called "printing graphics" :-p
>>
>>> would force me to manually provide the data (through a TXT file) which
>>> would be sent to a printer through some program which would pose as a
>>> "printer driver". I would like to elaborate more on this but...
>> No, you can just intercept the text and calculate the
>> picture based on a font in RAM. You could just use the
>> font of DISPLAY or the VGA card to save some RAM, but
>> of course the necessary transformation of formats will
>> make this somewhat CPU-heavy and slow. You can put the
>> font pre-calculated in printer data style in RAM which
>> saves CPU work but uses more RAM. Or you can do as you
>> suggest - use some tool which would work similar to
>> "font-prn fontfile.cpi 4242 sometext.txt" where 4242
>> would be the codepage number selected from the CPI...
>>
>> Cheers, Eric
>>
>>
>> ------------------------------------------------------------------------------
>> WhatsUp Gold - Download Free Network Management Software
>> The most intuitive, comprehensive, and cost-effective network
>> management toolset available today.  Delivers lowest initial
>> acquisition cost and overall TCO of any competing solution.
>> http://p.sf.net/sfu/whatsupgold-sd
>> _______________________________________________
>> Freedos-user mailing list
>> Freedos-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/freedos-user
>
> ------------------------------------------------------------------------------
> WhatsUp Gold - Download Free Network Management Software
> The most intuitive, comprehensive, and cost-effective network
> management toolset available today.  Delivers lowest initial
> acquisition cost and overall TCO of any competing solution.
> http://p.sf.net/sfu/whatsupgold-sd
> _______________________________________________
> Freedos-user mailing list
> Freedos-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freedos-user
>

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user

Reply via email to