N-up

G

Guest

Guest
Archived from groups: comp.periphs.printers (More info?)

Using the API, in VB or VBA, is there a way to set the value for N-Up, i.e.,
the
number of pages that get printed on 1 side of a sheet of paper?

I do not want to display the print setup dialog, just want to set the value
for N-Up.

I can fake it with SendKeys, but that is ugly as it makes the dialog flash
by, not to mention that the key codes used may be language/implementation
dependent.

There's gotta be a way to do this via code.
--
http://www.standards.com/; See Howard Kaikow's web site.
 
Archived from groups: comp.periphs.printers (More info?)

Maybe not! I use Access VBA more than anything else, and Access (2000
on) has quite a rich Printer control set, but it can't detect or use
N-Up capability. I think that this was originally a function of
PostScript but was subsequently incorporated into non-PostScript
printers as a "useful capability". It's not part of the base
definition of a Windows printer. It would be nice to have a way of
controlling it without using SendKeys, though!

On Tue, 22 Jun 2004 10:35:17 -0400, "Howard Kaikow"
<kaikow@standards.com> wrote:

>Using the API, in VB or VBA, is there a way to set the value for N-Up, i.e.,
>the
>number of pages that get printed on 1 side of a sheet of paper?
>
>I do not want to display the print setup dialog, just want to set the value
>for N-Up.
>
>I can fake it with SendKeys, but that is ugly as it makes the dialog flash
>by, not to mention that the key codes used may be language/implementation
>dependent.
>
>There's gotta be a way to do this via code.


Please respond to the Newsgroup, so that others may benefit from the exchange.
Peter R. Fletcher


----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeed.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption =---
 
Archived from groups: comp.periphs.printers (More info?)

I'm keeping away from SendKeys.

See my recent posting "Print dialog: What to print drop down list" in the
microsoft.public.word.vba.general newsgroup.

--
http://www.standards.com/; See Howard Kaikow's web site.
"Peter R. Fletcher" <pfletch(at)fletchers(hyphen)uk.com> wrote in message
news:n9jgd0p68u797efb74i4gn5jtrh7hpn7cc@4ax.com...
> Maybe not! I use Access VBA more than anything else, and Access (2000
> on) has quite a rich Printer control set, but it can't detect or use
> N-Up capability. I think that this was originally a function of
> PostScript but was subsequently incorporated into non-PostScript
> printers as a "useful capability". It's not part of the base
> definition of a Windows printer. It would be nice to have a way of
> controlling it without using SendKeys, though!
>
> On Tue, 22 Jun 2004 10:35:17 -0400, "Howard Kaikow"
> <kaikow@standards.com> wrote:
>
> >Using the API, in VB or VBA, is there a way to set the value for N-Up,
i.e.,
> >the
> >number of pages that get printed on 1 side of a sheet of paper?
> >
> >I do not want to display the print setup dialog, just want to set the
value
> >for N-Up.
> >
> >I can fake it with SendKeys, but that is ugly as it makes the dialog
flash
> >by, not to mention that the key codes used may be language/implementation
> >dependent.
> >
> >There's gotta be a way to do this via code.
>
>
> Please respond to the Newsgroup, so that others may benefit from the
exchange.
> Peter R. Fletcher
>
>
> ----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet
News==----
> http://www.newsfeed.com The #1 Newsgroup Service in the World! >100,000
Newsgroups
> ---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption
=---