kupiec
asked on
DDE D3 Netscape print
I have D3 controlling Netscape through DDE just fine. Now I need to control the printing of the HTML document from my D3 app, not Netscape. Can this be done ? Do I need to go to OLE ? Has anyone done this either in DDE or in OLE ?
ASKER
The command line argument which you list here does not seem to be accepted by Netscape. It tries to interpret it as a server name or URL.
I didn't check it. Sorry I am not familiar with this issue.I hope someone else can help you.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
This looks like a possible solution, except that it always prints a blank page instead of the HTML document.
ASKER
Well,
I got past my ignorance and this now seems to work. Can you give advice on how to detect two things:
1. When the entire page is loaded.
2. When the page printing is completed.
Welcome to the points !
I got past my ignorance and this now seems to work. Can you give advice on how to detect two things:
1. When the entire page is loaded.
2. When the page printing is completed.
Welcome to the points !
.
Subject:
Navigator Printing
Date:
Wed, 17 Jun 1998 13:40:58 +0100
From:
Julian Coombes <julianc@intelligentwave.c
Organization:
Another Netscape Collabra Server User
Newsgroups:
netscape.ncapi.windows
Just for information, I've been trying to get my embedded navigator to
print from an MFC application. The solution I've come to is relatively
simple...
WinExec("Netscape.exe /print(\"index.html\")",SW
you can also use the "/printto" command which takes four parameters
url, printer, printer_driver, port
I'm not sure of the syntax of the /printto option but if you want to use
it, you can experiment from a command line by simply typing something
like.
Netscape /printto ("myfile.html myprinter mydriver myport").
Julian.
.
see also:
http://developer.netscape.com/docs/manuals/deploymt/options.htm
http://home.netscape.com/newsref/std/ddeapi.html#about