Generic / Text Only print
-
Hi We would like to be able to use the different hardware fonts that exists on most printers, when we use the windows driver "Generic / Text Only" *. We have written some code that enables us to write text to a "Generic / Text Only" (GTO) printer, but despite many attempts we haven't been able to change the font. For writing text we use the importer legacy function WritePrinter(). Any ideas? *) We have to use this driver since we also want to use our code for POS printers etc. Mads
-
Hi We would like to be able to use the different hardware fonts that exists on most printers, when we use the windows driver "Generic / Text Only" *. We have written some code that enables us to write text to a "Generic / Text Only" (GTO) printer, but despite many attempts we haven't been able to change the font. For writing text we use the importer legacy function WritePrinter(). Any ideas? *) We have to use this driver since we also want to use our code for POS printers etc. Mads
-
use the printing events. I cant remember the name but an event rises before it starts a print. you can then query for the selected fonts like a font-family in html
Since .NET print any stuff as graphics, the standard .NET printing mechanism doesn't work with a "generic / text only" printer. Having tried it anyway, we found out that it didn't raise the event (and the code was ok - the event was raised if we choose any other printer). Personally, I think we have to use some escape sequences - but I haven't been able to find out how to write them. Thanks for your reply. Mads
-
Since .NET print any stuff as graphics, the standard .NET printing mechanism doesn't work with a "generic / text only" printer. Having tried it anyway, we found out that it didn't raise the event (and the code was ok - the event was raised if we choose any other printer). Personally, I think we have to use some escape sequences - but I haven't been able to find out how to write them. Thanks for your reply. Mads
-
Since .NET print any stuff as graphics, the standard .NET printing mechanism doesn't work with a "generic / text only" printer. Having tried it anyway, we found out that it didn't raise the event (and the code was ok - the event was raised if we choose any other printer). Personally, I think we have to use some escape sequences - but I haven't been able to find out how to write them. Thanks for your reply. Mads