Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problems printing to a USB port
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Divers
Thread ID:
00625490
Message ID:
00626108
Vues:
17
In that case you should be able to print to the printer simply by issuing SET PRINTER TO < printer name >. Change the printer name to 8 characters or less with no spaces in it e.g. "HP656C".

>The software was deleloped using Foxpro for Windows.
>
>
>>FPW should be able to print to it OK so I assume you're talking about FPDOS.
>>
>>If the printer has no on-board processor and memory then its print jobs are actually rendered on the PC via its printer driver. This is a so-called "GDI" printer. Most inkjets, and low-cost laser printers are in this category. They are not able to support print jobs coming from DOS at all.
>>
>>Assuming it's not a GDI printer, USB printers aren't on a standard port that FPDOS recognizes (PRN, COM or LPT) so you need to redirect one of the standard ports to the USB printer. First make sure you give/rename the installed printer a short name with no spaces (8 chars or less) like "HP656C". If your computer's NetBIOS name is, say, "PC1" you can then redirect a standard port to this printer as follows:
NET USE LPT1: \\PC1\HP656C
You then print to LPT1 in your application and the job gets redirected to the printer.
>>
>>I just checked HP's site - it does not say it support DOS but at US$50 I suspect it is a GDI printer.
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform