Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Print 20 cpi draft on Epson LQ2170
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00088578
Message ID:
00089095
Views:
32
>>>My clients keep complaining about the printing speed from my application. They wanted me to change the way my application prints each report. They wanted to use the Draft font of the printer and 20cpi for wide reports and 12 cpi for A4-size reports.
>>>I really need your help on how I can do that from my VFP5 application under Win95.
>>>
>>>Your help is tremendously appreciated,
>>>Best Regards,
>>>Andi Hidajat
>>>pkshq@cbn.net.id
>>
>>
>>IF this is the only printer to be used, you can hard-code the printer codes (prefaced with ???) into your report command. If they wish to switch between Draft and Regular, you could call the printer codes with a DO CASE sequence.
>>
>>HTH
>
>Would you please show me an example of placing the printer codes into a report form command ? Do you mean that I have to hard code the printer codes in the report designer ?
>
>About calling the printer codes via a DO CASE sequence, where should I put the DO CASE statements ?
>
>Thanks in advance and I'm looking forward to your help,
>
>Best regards,
>Andi Hidajat
>pkshq@cbn.net.id
>Jakarta, Indonesia

Andi, I haven't tried this with the Report command, but I have used it with hard-coded reports to set non-standard paper sizes and margins for pre-printed forms.
set printer on
??? chr(27)+"E"   && printer codes
set printer off

@ 1,2 say InvoiceNum  && data to print
The printer codes can be placed in a variable and called with a macro (&).

Try placing this code (with your own printer codes) just before you issue the report print command. Alternatively, you could put them into the Report in a UDF at the beginning of the title page.

HTH
Barbara
Barbara Paltiel, Paltiel Inc.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform