Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem in print with tractor paper type
Message
From
06/08/2004 08:34:23
Reza Meamar
Homa Programming Group
Shiraz, Iran
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Stonefield
Title:
Problem in print with tractor paper type
Miscellaneous
Thread ID:
00931263
Message ID:
00931263
Views:
41
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
Next
Reply
Map
View

Click here to load this message in the networking platform