Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to tell if printer is PCL
Message
From
29/10/2004 10:52:44
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00955649
Message ID:
00955799
Views:
15
>Unfortunately I do not have an answer for You. Eventhough we still have FP Dos applications that print reports, I completely forgot how We handle them, I remember we have a table with fields for each "command" we want to send to a printer, for example one for bold, another for expanded etc, then we put the necessary code in there, I am not sure if that helps You or not, but I can check tomorrow our table and see some code to see if I remember how to handle it.
>
>There is a class written by Victor Espina, from Venezuela, that several people of the spanish newsgroup use for this (dosprint or something) that might help you too (I will try to find it)

Thank you Hugo. If you find the table I would appreciate if you sent it. Actually there FPDos brings something like that. I'll look at it and also in PortalFox.

In summary the question has become how to print FPDos reports from VFP in non PCL laser and ink jet printers while controlling orientation and font name and size. Luckily we do not change those conditions in the middle of a report, only at the beginning. Also it would be useful but not essential to be able to determine programmatically the type of printer/driver.

Thank you very much,

Alex

>
>>We keep reports in FpDos format in order to make them print quickly in dot matrix printers and save correctly in ascii.
>>
>>The problem with that is that we have to insert control codes for smaller fonts and landscape. We did it for PCL printers thinking that all laser printers were PCL compatible... but they are not.
>>
>>What do you suggest?
>>
>>TIA,
>>
>>Alex
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform