I've been looking everywher efor this but all I can find is that Word's
automation library doesn't allow you to pick a printer programatically...
Anyone know of a soluition?
Thanks,
cJ 5 1254
Hi CJ! :O)
You can use the Application.ActivePrinter property BUT it changes the
default Printer for the whole system... So i guess you have no other than to
reset the default printer like it was after the call to PrintOut.
--
Best Regards
Yanick Lefebvre
"CJ Taylor" <[cege] at [tavayn] dit commmmm> a écrit dans le message de
news:ON**************@TK2MSFTNGP10.phx.gbl... I've been looking everywher efor this but all I can find is that Word's automation library doesn't allow you to pick a printer programatically... Anyone know of a soluition?
Thanks, cJ
Yanick,
Thank you very much for that answer. Any idea why Microsoft made this
possible through Excel but not through Word? I'll give that a shot though
and go from there. Thanks again!
-CJ
"Zoury" <ya*************@hotmail.com> wrote in message
news:ej**************@TK2MSFTNGP11.phx.gbl... Hi CJ! :O)
You can use the Application.ActivePrinter property BUT it changes the default Printer for the whole system... So i guess you have no other than
to reset the default printer like it was after the call to PrintOut.
-- Best Regards Yanick Lefebvre
"CJ Taylor" <[cege] at [tavayn] dit commmmm> a écrit dans le message de news:ON**************@TK2MSFTNGP10.phx.gbl... I've been looking everywher efor this but all I can find is that Word's automation library doesn't allow you to pick a printer
programatically... Anyone know of a soluition?
Thanks, cJ
Hi! Any idea why Microsoft made this possible through Excel but not through Word?
I'm no Office automation expert... i have no idea :O)
take a look at this though, it will take care of the default printer thing http://support.microsoft.com/default...b;en-us;216026
--
Best Regards
Yanick Lefebvre
Printing in Word is certainly possible through automation.
oDoc.PrintOut(False, , , , , , , , , , , , , , , , , )
"Zoury" <ya*************@hotmail.com> wrote in message
news:Ob**************@TK2MSFTNGP09.phx.gbl: Hi!
Any idea why Microsoft made this possible through Excel but not through Word?
I'm no Office automation expert... i have no idea :O)
take a look at this though, it will take care of the default printer thing http://support.microsoft.com/default...b;en-us;216026
Yes... But you can't choose what printer you want it to go to.
"scorpion53061" <ad***@nospampleasekjmsolutions.com> wrote in message
news:e0**************@TK2MSFTNGP10.phx.gbl... Printing in Word is certainly possible through automation.
oDoc.PrintOut(False, , , , , , , , , , , , , , , , , )
"Zoury" <ya*************@hotmail.com> wrote in message news:Ob**************@TK2MSFTNGP09.phx.gbl: Hi!
Any idea why Microsoft made this possible through Excel but not through Word?
I'm no Office automation expert... i have no idea :O)
take a look at this though, it will take care of the default printer thing http://support.microsoft.com/default...b;en-us;216026 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Stefania Scott |
last post by:
I am trying to print a word document from Access. The code I've
written works well in my computer but does not in the one were it is
needed.
Here the piece of code:
'doc path
strObjectPath =...
|
by: Jamey Shuemaker |
last post by:
I've been looking for a way to do a duplex print job without a duplex
printer. I reviewed some old posts about printing odd pages and found
that most of them led to KB article 101075 or an export...
|
by: Neil Ginsberg |
last post by:
I have a strange situation using Access to automate a Word mail merge. Using
Access 2000 and Word 2000, the code opens Word, opens the document in Word,
sets a table
in the calling Access...
|
by: Jeff B. |
last post by:
Has anyone come across a decent algorithm for implementing word wrap
features in .net printing? I have a small component that uses basic
printing techniques (i.e. e.Graphics.DrawString in a...
|
by: Lee Harris |
last post by:
Hello,
I have a client that has about 150 users on a intranet that I've
created. The server is Windows 2000 with IIS 5.0 and has Office 2000
installed. The client came to me and asked if it was...
| |
by: scorpion53061 |
last post by:
I have my Word document being created in a seperate thread. THe applicaiton
is not visible.
The end user can choose to view the document upon completion or just have it
print.
Viewing is...
|
by: hamil |
last post by:
I am trying to print a graphic file (tif) and also use the PrintPreview
control, the PageSetup control, and the Print dialog control. The code
attached is a concatination of two examples taken out...
|
by: Laurent Navarro |
last post by:
Hi,
I created a C# application which opens a Word document, fills some
fields and sends the whole document to the printer. Everything is working
great but I find the printing step very slow....
|
by: belinda |
last post by:
I have used the ff command but only get the date printout and have no clue whats wrong:
'Printing function
' - opening a Word template with bookmarks
' - read bookmarks list from template and...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
| |
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |