Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
2.6 Print to network printer???
Message
De
28/03/2002 08:55:18
 
 
À
28/03/2002 00:30:40
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Divers
Thread ID:
00638090
Message ID:
00638377
Vues:
22
Also add on: /Persistent:Yes
to the net use command.

:o)
Tracy

>>Is it possible to print to a network printer in 2.6? The code currently allows the user to select which lpt to print to:
>>set print to &pt (pt = 'lpt1' or 'lpt2')
>>
>>How would I use the code above to print to a network printer?
>
>If it's FPDOS you need to "map" a network printer (or queue) to a local port. On Microsoft networks you can issue the following from a DOS box:
NET USE LPTx: \\ServerName\QueueName
This command can be included in a logon script or as part of a batch file that starts up a FPDOS app.
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform