Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Printing using printer codes to GDI printers?
Message
From
09/04/2002 10:50:45
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
09/04/2002 10:39:09
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00642572
Message ID:
00642685
Views:
17
Quite interesting, thanks. And it seems to confirm that the GDI printers have quite limited capabilities.

>Hilmar, you might find this article interesting:
>
>http://www.pctechguide.com/12lasers.htm
>
>Scroll down to GDI printers. There is also a comment on GDI printers under the laser printer section.
>
>Tracy
>
>>Can you confirm whether I understood this correctly: the "GDI crap" has no built-in fonts, and no "text-mode", whatsoever?
>>
>>Hilmar.
>>
>>>Not trivially; there are no 'printer codes' per se in the GDI printers, since they have no internal rendering engine to address. Your best bet in the short run is going to be to purchase a commercial version of GhostScript (a PostScript emulator that works through the GDI) and send PostScript to the printers; GhostScript will intercept the PostScript codes and render the page through the GDI. This means that you'll have to support PostScript through your ??/@ reports - there's at least one commercial GhostScript implementation that supports PCL and Epson LX codes as well as PostScript, but it's going to run ~ $100/station, about what a real printer would cost. I'm not certain you'll be saving time or money - you're likely to find that the cost of 'real' printers to replace the GDI crap is going to be less than the cost of implementing GhostScript or converting your reports.
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
Reply
Map
View

Click here to load this message in the networking platform