Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Printing using printer codes to GDI printers?
Message
From
09/04/2002 08:47:03
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
09/04/2002 08:30:10
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00642572
Message ID:
00642590
Views:
29
>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)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform