Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem in print with tractor paper type
Message
De
06/08/2004 08:34:23
Reza Meamar
Homa Programming Group
Shiraz, Iran
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Stonefield
Titre:
Problem in print with tractor paper type
Divers
Thread ID:
00931263
Message ID:
00931263
Vues:
42
Hi all
I have a report that it's length is variable.
I want to stop printer when last line of report was printed.
But each time the printer exit all paper from printer.
my printer is LQ300 a dot matrix printer.
i work in VFP7
i test NOEJECT in REPORT command.
i test _PEJECT = "NONE"
i test _PEJECT = "NONE" in PRINTJOB ... ENDPRINTJOB
i test . . .

But i can not do this.
one of foxit users say below:



**********************************
In a previous case I had a similar problem.
What I did was I defined a NEW printer based on an existing printer.
That new printer had a custom page as it's default page.
In that custom page I did setup the size printmargins et cetera.

In the code I did as follows:

LOCAL lcOldPrinter as string
lcOldPrinter = set("Printer",2)
set printer to name "WindowsPrinterName"
* replace WindowsPrintername with the name of the new printer
report form MyReport to print noconsole noeject
set printer to name &lcOldPrinterName.

This completely solved my problem. Hope it can help you too.
***********************************

But i can not understand what he/she say.

Please help me !
Thanks
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform