Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Whats the cause of spool32 error?
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Whats the cause of spool32 error?
Miscellaneous
Thread ID:
00838369
Message ID:
00838369
Views:
62
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
Next
Reply
Map
View

Click here to load this message in the networking platform