General information
Title:
Whats the cause of spool32 error?
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
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