Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
?? & ??? issue with printer,which is best
Message
De
09/03/2004 20:53:25
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00884349
Message ID:
00884666
Vues:
11
Hi,

Thank for your advise.
Some of my printer function is not working under ??
command even thought I though I think of using them.

For example

Actual command

Chr(27)+chr(83)+chr(1)

My code example under VFP list below is not working,
I won't know why. Any ideal ?

* sample NOT working using ??
* the chr(27) is taken out as
* font 'control' is acting on behalf of it
SET PRINTER FONT "Control",10
?? chr(83)+chr(1)


* sample working using ???
??? chr(27)+chr(83)+chr(1)


>THose guys work well - even with a GETPRINTER() dialog. I hope fox retains those features (as well as @SAY), because there are some things that [simply] cannot be done without lowlevel access to the pinter.
>
>??? is an inline method for sending control codes to the printer. It works with both set device to prin and set printer on.
>
>THe ?? feature only works with SET PRINTER ON.
>
>>Hi,
>>
>>I am confused with the ?? & ??? command for my application
>>to print to my Epson printer.
>>
>>From the document, it stated that ?? will print to the printer
>>through the printer driver.
>>
>>Whereas ??? will directly print to the printer, bypassing the
>>printer driver.
>>
>>However, it is stated in 'Hacking VFP7', that ??? is useless as the
>>printer driver is the way to go.
>>
>>Hence, which way is the best for my application. Using the
>>?? or ???, why ?
>>
>>I am using Epson ESC/POS command as my time is tight,
>>I don't had much time with the Advance printer driver
>>plus this printer of mine is not supported by the OPOS.
>>
>>Anyone advise or comment is very much appreciated.
Best Regards
Virusim
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform