Hello,
I was wondering how to use device fonts in Java. These are the fonts that are in the printer and not in the operating system.
I'm writing some point of sale software that needs to use the Star TSP100 printer on Windows 7 64.
I need to use the device font "control" in order to instruct the printer to open the cash drawer.
I would also like to use the device font "3of9" for barcodes. I know there are alternatives to using this, but directly from the printer would be easier than trying to purchase and deploy a barcode font.
I know that star micronics has a JPOS implementation, but not for windows 7 64. And the JPOS with the StarMicronics bin is cumbersome and unstable for the end user even in Windows XP 32 bit.
If I specify the font "control" java replaces it with the default font. i.e.
Font deviceFont = new Font ("control", Font.PLAIN, 8.5);
is just the default font and not "control"