AnnyJacky


Hi all,

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

Thank!




Re: VFP 9 software problem nopageeject does not work?

CetinBasoz


NoPageEject is available in VFP9.




Re: VFP 9 software problem nopageeject does not work?

Lakshminarayana

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,000 say emptid pict '!XXXX'
      • @nrou,007 say custname pict '@!'
      • @nrou,040 say dept pict '@!'
      • @nrou,047 say desig pict '@!'
      • @nrou,059 say netsal pict '999999999.99'
      • 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.







Re: VFP 9 software problem nopageeject does not work?

riptramm

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