Information générale
Catégorie:
Gestionnaire de rapports & Rapports
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
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement