Hi Infinitelo,
I made some tests on my HP-DeskJet 670C. It didn't print at all, the printer Ejects 2 blank pages.
I think that only print on dotmatrix printers only...
Please help me out.
thanks again
Here is my source code:
*******************************
**Print report to FILE
*******************************
procedure Printing
set printer to file c:\syscash\Invent.txt
set printer on
********************
*** Report routine
********************
set exclusive on
Report form INV noeject off to printer
set printer off
set printer to
sele 63
use printp
sele printp
delete all
pack
append from c:\syscash\Invent.txt type sdf
printpage = 0
SET DEVICE TO PRINTER
??? chr(27) + '&l1O' && Landscape mode
??? chr(27) + '(s19H' && Pitch = 19
??? chr(27) + '&l3A' && output to Tray 2
Sele printp
go top
Scan
? printp.line
If mod(recno(),45) = 0 && page detect
eject
printpage = printpage+1
If printpage = 2
printpage = 0
Wait "Need more paper..."
EndIf
EndIf
Loop
EndScan
??? chr(27) + '&l0O'
??? chr(27) + '(s10H'
??? chr(27) + '&l2A' && output to Tray 2
SET DEVICE TO SCREEN
set exclusive off
Return