Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
More Printing Problems - OKI 320 ( 321 )
Message
 
À
22/02/2003 09:38:16
Carmen Gassi
Perseus Software Systems
Oakville, Ontario, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00756557
Message ID:
00756774
Vues:
16
Hi Carmen

This should not be a problem as I have a VFP 5.0 application running at a clients site under WinXP and it writes to an Okidata printer using control codes without problem. They have invoices that are 4 inches long and 9 inches wides. I send the control codes using the ???.

I first set the printer using:

Set Printer To Name (lcPrinterName)

Then I send control codes and the text using:

??? lcTxt+Chr(13)+Chr(10)

I usually printer the report using "@ Say" to a text file and then open it using low level files functions and send it to the printer using the ??? command.

This is about the only way I found of handling dot-matrix printers and bypassing the printer driver for high-speed printing because most print drivers do not handle non-standard form lengths and print very slowly.

I also have done this using VFP 7.0

Simon


>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,
>Carmen
Simon White
dCipher Computing
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform