How print continually in VFP?  
Author Message
AnnyJacky





PostPosted: Visual FoxPro General, How print continually in VFP? Top

Hi all,

How print report continually in VFP (no eject after print finish)

Thank!



Visual FoxPro2  
 
 
CetinBasoz





PostPosted: Visual FoxPro General, How print continually in VFP? Top

NoPageEject is available in VFP9.
 
 
Lakshminarayana





PostPosted: Visual FoxPro General, How print continually in VFP? Top

Hai,

If u are not using VFP9 or if u dont want to use the reprot writer then write a program to print to a dos text file

eg.

if u have a employee.dbf with empid C(5),empname C(30),dept C(5),desig C(10),netsal N(12,2)

then your program will be

    • clos all
    • clear
    • private nrou
    • nrou = 0
    • set device to file empdet.txt
    • sele a
    • use employee shared alias employee
    • go top
    • do while !eof()
      • nrou = nrou + 1
      • sele employee
    • if !eof()
    • skip
    • endif
    • enddo
    • set devi to scree
    • sele employee
    • use
    • modi comm empdet.txt noed

now u can print empdet.txt which will not have any page eject character.



 
 
riptramm





PostPosted: Visual FoxPro General, How print continually in VFP? Top

If our OKI Microline 320 turbo printer always ejects a page after the command <<REPORT FORM myreportfile.frx TO PRINTER NOPAGEEJECT>>, is this in all likelihood a VFP 9 software problem or is there a simple solution other than printing to a text file