Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Printing using printer codes to GDI printers?
Message
De
09/04/2002 08:47:03
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
09/04/2002 08:30:10
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00642572
Message ID:
00642590
Vues:
31
>Hi Hilmar,
>Thanks for replying! The problem I am having is that the GDI printers ignore the printer codes. They print everything in the standard format-no condensed printing, etc. If I understand GDI printers, they MUST go through the windows GDI to print and you cannot send printer codes directly to the printer using ???, correct? The reports work as is using ??? or @...say to standard printers (HP Lasers, Okidata Dot Matrixes, etc), but not to the GDI printers.

Well, I'm not quite sure what is meant by GDI printers. Do the standard Epson dot-matrix fall in this category? Anyway, sending printer codes, followed by a text-file (loaded into RAM) to an Epson Dot-Matrix printer works for me.

Example:
printer_codes = CHR(27) + CHR(15) && Condensed printing, usually 17 CPI for Epson
* Optional: SET PRINTER TO ...
??? printer_codes + FileInRam
Hilmar.
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform