Carmen,
Sending control codes to printer before report is printer wouldn't make any difference because Report Writer will use info stored in the report to reset them anyway. Try to set the paper size you need in the reports Page Setup. The following articles may be of help: mskb #
Q157172 How to Create Custom Forms in Windows NT 4.0 and Windows 2000 and mskb #
Q304639 HOWTO: Find PaperSize for Custom Print Sizes Under Windows NT and Windows 2000.
>Hi All
> After having found a print driver ( Generic Text Printer ) that allows the dot matrix printer to run in high speed draft and use the full width of the printer, I am finding it very difficult to control the length of the form. The application is printing on pre-printed invoices, packing slips etc. all of which are 8.5 inches in length and 11 inches wide. I have tried sending the control codes given at the OKIDATA website before calling the report writer both through setting the number of lines, and through setting the actual length in inches. Neither seems to have an effect on the form length. In a Fox 2.6 application I had no trouble with this, but in the VFP 6.0 under Win XP it is a nightmare, unless I have missed something. All help appreciated. Thanks for reading.
>
>Regards,
>
--sb--