OpenPrinterDialog Issue

I have an issue with the Graphics object being returned from OpenPrinterDialog.

I have the following code:

[code]dim iPrinter As Graphics
dim numCopies As Integer

iPrinter = OpenPrinterDialog(ipSetup)
numCopies = iPrinter.Copies[/code]
The variable numCopies always returns 1 irrespective of what I enter in the Copies field of the Printer Dialog Box.

The LR states for Graphics.Copies:

[code]The value in the Copies field of the Print dialog box.

This property is only meaningful when the graphics object was created by the OpenPrinterDialog function.[/code]
Is this a Cocoa issue or am I missing something here?

Got the same. Just Downloading Feedback (which could not update itself, funny enough) - to see if there’s a ticket open :slight_smile:

Found no ticket - but: on Mavericks Graphics obviously always returns one - and the printer still prints the right number of copies. I have no idea whether this was a Mavericks-change or whatever - I can remember that sometime in the past I got the number of copies the user entered there (or was that only windows?!?).

Anyway - seems that graphics.copies renders useless / not necessary (under Mavericks). Or am I getting something wrong?

The printing system on OS X handles creating several copies for you
You don’t have to do anything special

Not so on other OSes

[quote=81043:@Norman Palardy]The printing system on OS X handles creating several copies for you
You don’t have to do anything special

Not so on other OSes[/quote]
Does that mean that the variable iPrinter.Copies will always return 1 on OSX and the actual number on other platforms?