If you did to hide your file , how to get the files, with this function : use .... to open dbffile file(..... to check if file exist fread(....to open file
Hi Fafi That's good but if you want more control over your printer (like graphics, controlling fonts) you'll need a more sophisticated approach. If you have a postscript printer you might want something like this in cFilePrint: ...
... GUI :lol: function main() local cFilePrint := "report.prn" set console off set printer on set printer to (cFilePrint) ?"Hello xProgrammer" ?"I'm Fafi" ?"Thank's for help" set console on set printer off __run("lpr "+cFilePrint) return nil regards Fafi
Hi Fafi All my work has been xHarbour / FiveLinux but this worked: fafi.prg was as follows: FUNCTION Main() CLEAR @2,2 SAY "Hello World" @4,0 SAY "Hit any key to continue" INKEY(0) CLEAR RETURN nil Above code built and run ...
Hi Fafi The best way to start is probably to build and run the samples. If everything is installed properly you can do this as follows: From a terminal window go cd /home/yourname/fivelinux/samples (That gets you into the correct ...