|
|
How can I select a printer tray using the Acrobat DDE commands?
Hi,
I'm working in Visual BASIC 6.0. I need to be able to print PDF files to
different network printers from different paper trays on the printers. Is
there a way to specify the selection of paper trays using the DDE commands?
If there is no way to do this using the DDE commands, can I use any of the
API's documented in the SDK (such as the AVDocPrintPageWithParams) to
control paper tray selection?
Thanks
Dave
|
|
0
|
|
|
|
Reply
|
David
|
10/3/2003 8:48:59 AM |
|
"David Crump" <eric.cartman@southpark.con> wrote:
>I'm working in Visual BASIC 6.0. I need to be able to print PDF files to
>different network printers from different paper trays on the printers. Is
>there a way to specify the selection of paper trays using the DDE commands?
No.
>
>If there is no way to do this using the DDE commands, can I use any of the
>API's documented in the SDK (such as the AVDocPrintPageWithParams) to
>control paper tray selection?
Nothing in the Acrobat SDK directly touches on Windows device control.
This is done by the Windows API. But AVDocPrintPagesWithParams can be
used in conjunction with a DC, so it may be possible to do things that
way - use Windows to control the DC. It might be necessary to use a
print callback to set the DC rather than just passing it to
AVDocPrintPagesWithParams. Not sure.
----------------------------------------
Aandi Inston quite@dial.pipex.com http://www.quite.com
Please support usenet! Post replies and follow-ups, don't e-mail them.
|
|
0
|
|
|
|
Reply
|
quite
|
10/3/2003 9:30:21 AM
|
|
This is really annoying, since the paper tray selection is directly
available on the File/Page Setup menu in Acrobat Reader, you would expect it
to be accessed through the DDE and Acrobat API directly! Thanks anyway
Aandi.
Dave
"Aandi Inston" <quite@dial.pipex.con> wrote in message
news:3f7d4146.1628801392@reading.news.pipex.net...
> "David Crump" <eric.cartman@southpark.con> wrote:
>
> >I'm working in Visual BASIC 6.0. I need to be able to print PDF files to
> >different network printers from different paper trays on the printers. Is
> >there a way to specify the selection of paper trays using the DDE
commands?
>
> No.
> >
> >If there is no way to do this using the DDE commands, can I use any of
the
> >API's documented in the SDK (such as the AVDocPrintPageWithParams) to
> >control paper tray selection?
>
> Nothing in the Acrobat SDK directly touches on Windows device control.
> This is done by the Windows API. But AVDocPrintPagesWithParams can be
> used in conjunction with a DC, so it may be possible to do things that
> way - use Windows to control the DC. It might be necessary to use a
> print callback to set the DC rather than just passing it to
> AVDocPrintPagesWithParams. Not sure.
> ----------------------------------------
> Aandi Inston quite@dial.pipex.com http://www.quite.com
> Please support usenet! Post replies and follow-ups, don't e-mail them.
>
|
|
0
|
|
|
|
Reply
|
David
|
10/3/2003 9:37:27 AM
|
|
"David Crump" <eric.cartman@southpark.con> wrote:
>This is really annoying, since the paper tray selection is directly
>available on the File/Page Setup menu in Acrobat Reader, you would expect it
>to be accessed through the DDE and Acrobat API directly!
I see your point, but I suspect Acrobat just uses CPageSetupDialog
from the Platform SDK, rather than touching printer setup itself...
----------------------------------------
Aandi Inston quite@dial.pipex.com http://www.quite.com
Please support usenet! Post replies and follow-ups, don't e-mail them.
|
|
0
|
|
|
|
Reply
|
quite
|
10/3/2003 10:23:31 AM
|
|
If you get stuck Dave, you might want to check out XpdfPrint from
Glyph and Cog. This is an ActiveX component that allows you to query
and print to network printers and their bins.
www.glyphandcog.com
- Chris.
___________________________________
Chris Dahl - CTO, Solutions
ARTS PDF
chris.dahl@artspdf.com
http://www.artspdf.com/
"David Crump" <eric.cartman@southpark.con> wrote in message news:<bljg0n$m5v$1@sparta.btinternet.com>...
> This is really annoying, since the paper tray selection is directly
> available on the File/Page Setup menu in Acrobat Reader, you would expect it
> to be accessed through the DDE and Acrobat API directly! Thanks anyway
> Aandi.
>
> Dave
>
> "Aandi Inston" <quite@dial.pipex.con> wrote in message
> news:3f7d4146.1628801392@reading.news.pipex.net...
> > "David Crump" <eric.cartman@southpark.con> wrote:
> >
> > >I'm working in Visual BASIC 6.0. I need to be able to print PDF files to
> > >different network printers from different paper trays on the printers. Is
> > >there a way to specify the selection of paper trays using the DDE
> commands?
> >
> > No.
> > >
> > >If there is no way to do this using the DDE commands, can I use any of
> the
> > >API's documented in the SDK (such as the AVDocPrintPageWithParams) to
> > >control paper tray selection?
> >
> > Nothing in the Acrobat SDK directly touches on Windows device control.
> > This is done by the Windows API. But AVDocPrintPagesWithParams can be
> > used in conjunction with a DC, so it may be possible to do things that
> > way - use Windows to control the DC. It might be necessary to use a
> > print callback to set the DC rather than just passing it to
> > AVDocPrintPagesWithParams. Not sure.
> > ----------------------------------------
> > Aandi Inston quite@dial.pipex.com http://www.quite.com
> > Please support usenet! Post replies and follow-ups, don't e-mail them.
> >
|
|
0
|
|
|
|
Reply
|
chris
|
10/6/2003 10:16:55 AM
|
|
|
4 Replies
947 Views
(page loaded in 0.074 seconds)
|
|
|
|
|
|
|
|
|