Hi Doc - do you have a sample of the code you use?

Paul Tretter

----- Original Message -----
From: "Nenad Rakocevic" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, June 27, 2002 1:26 PM
Subject: [REBOL] Re: View/Pro and accessing Windows Printer API (gdi32.dll)


>
> 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.
>

-- 
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the 
subject, without the quotes.

Reply via email to