Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Print to dot-matrix printer
Message
De
05/11/2009 15:35:28
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
05/11/2009 15:31:30
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
01432759
Message ID:
01433456
Vues:
45
>Thanks Hilmar for the info. I have installed OKI Microline 590 and trying to set the page size to 13.9mm long and 22mm wide (in old dos program the page was set to 51lines, "@0,0 SAY CHR(27)+"C"+CHR(51)"). But this page size which I have created in the "Print server properties" is not visible when I use the page setup in the reports screen. Is there any other way to set the page length ??? Thanks

Methinks it is safer to send printer codes with "???". This is supposed to send the codes directly to the printer, avoiding certain interpretation that might be done by a Windows printer driver.

In other words, assuming the codes specified above are the correct codes:
??? CHR(27)+"C"+CHR(51)
(The triple question mark is the actual command, not missing information.)
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