General information
Category:
Reports & Report designer
try this
SET DEVICE TO PRINTER && Send output to printer
SET PRINT ON && starts queuing output for the current printer
DO WHILE NOT EOF( )
@ PROW( )+1,10 SAY 'Company: ' + company
@ PROW( )+1,10 SAY 'Phone: ' + phone
@ PROW( )+1,1 SAY ''
IF PROW( ) > 62
EJECT
ENDIF
SKIP
ENDDO
SET PRINT OFF && Stop queuing output for the current printer
SET PRINT TO &&The queued output is sent to the printer
SET DEVICE TO SCREEN
The set print to command actually send data immediatly to printer. Here is the fox help explain.
When you direct output to a network printer, output prints or collects in a print spooler until a new SET PRINTER command is issued
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only