Quantcast
Channel: WinDev Forum
Viewing all articles
Browse latest Browse all 1914

[WD20] Printing to a USB (Epson) receipt printer

$
0
0
Hi guys,

I'm trying to print to a thermal USB (Epson compatible printer) receipt printer using Windows drivers. This printer is set as the default printer in Windows on a test PC. My problem is that using iPrint in GO (test) mode works perfectly with a line of code like:
iPrint(iFont(glocaliBodyBold) + Upper(glocalsPrintLine))

(Note: I've used iCreateFont before the iPrint)

However, when the application is built and installed onto the same test PC and run as it would be on the customer site, the receipt prints as a very (very) small bitmap on the receipt printer.

For obvious reasons, I don't want to use the iConfigure function as I don't want the user to have to select the printer every time they want to print a receipt, and I'm pretty sure this is because I'm not using iParameter before the print.

Q: It's not clear in the Help system what iParameter settings to use; does anyone use iPrint in similar circumstances and have a set of iParameters.

I looked at using PrinterType, but according to the Help, this is only available in WDM :confused:

Thanks in advance...

Viewing all articles
Browse latest Browse all 1914

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>