This may be more of a printer than a Foxpro issue, but I think the legacy crowd here is more qualified to answer this than those in some printer forum.
My FPD 2.6 procedures are full of CHR() printer codes to use with my Brother HL-660 laser parallel (LPT1) printer set to Epson FX-85 emulation. I have one in use and another spare and although they've been very reliable are getting old, now about 15YO. They do what I need for a Foxpro printer, and I doubt if a newfangled USB printer is capable of working with these codes. If it was printing only text I could use one of the spooler programs mention in earlier threads here, and I've tried NET USE LPT3: \\OFFICE\EPSON in an effort to send printer commands to my USB inkjet, but it comes back saying the device is already in use, which it isn't. There are numerous laser printers on the market with Epson FX emulation, and I would like some pointers if anyone has gotten any of these to work with the coding I have.
The problem I'm having now is that whenever I use the present laser printer for Windows functions (Word, Firefox, etc.) it fowls up the configuration and subsequent printing in Foxpro does not render ASCI characters as specified in the coding. I get text but other characters like borders are nonsense characters. If I turn the printer off, then on again it corrects itself, and if I let it sit in sleep mode for a while it will also reset.
Does anyone know why this is happening or how to correct it short of turning the printer off or waiting for it to sleep for a while?
I could buy another laser and use it only for Windows printing, then use the old laser exclusively for Foxpro. That would clutter the office even more than it is and isn't an elegant solution.