[Jprogramming] winspool dll lookup

Philip A. Viton viton.1 at osu.edu
Tue Aug 22 00:15:26 HKT 2006


Can anyone provide an example of a lookup to OpenPrinterA which works 
(pick your own printer)? Consider (this is actually beta-s on win-xp):

   load 'winapi dll'

    test =. 'OpenPrinter' win32api
    test
    test 'HP5000PSEnv';0;<,_1
|domain error: test
|       test'HP5000PSEnv';0;<,_1
    cder ''
1 0

The error here is 'file not found'. Could the problem be that there 
is (at least on XP) no winspool.dll but only winspool.drv?   Also, 
I'm by no means sure that the last argument is correct for a 
prototype of *i , so if anyone can help, I'd be most grateful.





------------------------
Philip A. Viton
City Planning, Ohio State University
275 West Woodruff Avenue, Columbus OH 43210
viton.1 at osu.edu



More information about the Programming mailing list