Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Whats the cause of spool32 error?
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Whats the cause of spool32 error?
Divers
Thread ID:
00838369
Message ID:
00838369
Vues:
61
i have a program that prints on a network printer (sales order for drug stores). currently i experiencing and Intermittent occurence of SPOOL32.EXE error. I am using a generic text driver for the printer. the printer is a POS Printer. the win98 workstations printer spooling is enabled.

this is the sample code when printing
WAIT WIND " Printing Sales Order Receipt Please Wait ... " NOWA
SET DEVI TO PRINT
???CHR(15) && 17 CPI
@ PROW()+1,0 SAY DTOC(DATE())+SPACE(17)+TIME()
SELE tempsale
SET ORDE TO 0
GO TOP
SCAN
cposdesc = ALLT(tempsale.DESC)
@ PROW()+1,0 SAY qty PICT QTYFORMAT
@ PROW() ,9 SAY LEFT(ALLT(cposdesc),25)
ENDSCAN
@ PROW()+1,0 SAY REPL('-',NCOLS)
@ PROW(),9 SAY UPPER("Sales Order Receipt Only")
@ PROW()+PNLINEFEED+5,0 SAY ' '
SET PRINT OFF
SET PRINT ON
=printercut()
???CHR(13)
SET PRINTER OFF
SET PRINTER TO
WAIT CLEA
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform