Information générale
Titre:
Problem in print with tractor paper type
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement