Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Send Raw Data to a Printer
Message
De
25/09/2009 22:30:06
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
25/09/2009 16:29:53
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2008
Divers
Thread ID:
01426219
Message ID:
01426257
Vues:
48
lcFileInRam = FileToStr("MyFile.txt")
??? lcPrinterSetupCodes + lcFileInRam
As for the printer setup codes, RTFM (the printer manual, in this case); for an Epson printer I often changed the dpi settings for specific reports.

>I am trying to print a text file to a printer that is shared and connected to another computer.
>
>>>Is that possible? I need it for Windows 2003. The printer is a network printer.
>>
>>Can you elaborate on why you're trying to do this?
>>
>>If the printer is a GDI printer then no, you can't send "raw data". If it has its own print engine you should be able to.
>>
>>There are several possible configurations for "network printers" - which is your case?
>>
>>1. Printer has a network card. Print jobs travel directly from workstations to the printer
>>2. Printer has a network card. Print jobs travel from workstations to a print queue on a server computer, which then sends them to the printer
>>3. Printer is directly attached to a server computer via USB, parallel cable etc. Print jobs travel from workstations to a print queue on this server, which sends them to the printer
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform