` Printed Icetips Article

Icetips Article



Windows API: Setting default printer by API
2003-01-02 -- John E. Christ III
 
Newsgroups: comp.lang.clarion


Walter

> Has anyone over gotten the SetDefaultPrinter
> API call to work under Clarion 5EEb ?

This seems to work with C55EE; I'd assume it would also work with C5 :

SetDefaultPrinter(*CSTRING), LONG, PASCAL, RAW, NAME('SetDefaultPrinterA')

Then run libmaker on winspool.drv, delete everything except
SetDefaultPrinterA, save the lib file and add it to your project.

John



Printed November 21, 2024, 6:43 am
This article has been viewed/printed 35216 times.
Google search has resulted in 90 hits on this article since January 25, 2004.