Hi Bo,

Try using %winspool.drv instead of %gdi32.dll for OpenPrinter function.
(Works here on W2K)

HTH,
-DocKimbel.


Bohdan or Rosemary Lechnowsky wrote:
[...]
>  >> gdi32: load/library %gdi32.dll
>  >> startdoc: make routine! ["Start Document" hdc [string!] docinfo
> [struct! [cbsize [int] lpszdocname [string!] lpszoutput [string!]
> lpszdatatype [string!] fwtype [int]]] return: [int]] gdi32 "StartDocA"
> 
> ;So far, so good...
> 
>  >> openprinter: make routine! ["Open Printer" pprintername [string!]
> phprinter [string!] pdefault [string!] return: [integer!]] gdi32 "OpenPrinterA"
> ** Access Error: Cannot open OpenPrinterA
> ** Near: openprinter: make routine! ["Open Printer" pprintername [string!]
> phprinter [string!] pdefault [string!] return: [integer!]] gdi32
-- 
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the 
subject, without the quotes.

Reply via email to