hi to fox programers,

does anybody know how to install a printer driver ( with a .inf and .ppd
files ) without any dialog with user.

Thanks for all

Dominique
Member of AtoutFox - France


---
Antivirus avast! : message Sortant sain.
Base de donnees virale (VPS) : 000731-0, 06/04/2007
Analyse le : 06/04/2007 22:35:42
avast! - copyright (c) 1988-2007 ALWIL Software.
http://www.avast.com

Re: auto install printer driver by O

O
Sat Apr 07 13:41:33 CDT 2007

This is a multi-part message in MIME format.

------=_NextPart_000_002D_01C77955.218B5930
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi Dominque

I suggest you , to take xfrx or frx2any,

It's the best way to convert report in pdf.

Olivier
"Mr Dominique LUGEOL" <lugeol-consulting@orange.fr> a =E9crit dans le =
message de news: OR%235msIeHHA.4172@TK2MSFTNGP05.phx.gbl...
hi to fox programers,

does anybody know how to install a printer driver ( with a .inf and =
.ppd=20
files ) without any dialog with user.

Thanks for all

Dominique
Member of AtoutFox - France


---
Antivirus avast! : message Sortant sain.
Base de donnees virale (VPS) : 000731-0, 06/04/2007
Analyse le : 06/04/2007 22:35:42
avast! - copyright (c) 1988-2007 ALWIL Software.
http://www.avast.com




------=_NextPart_000_002D_01C77955.218B5930
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2900.3059" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><STRONG><FONT face=3DArial color=3D#000080 size=3D2>Hi=20
Dominque</FONT></STRONG></DIV>
<DIV><STRONG><FONT face=3DArial color=3D#000080 =
size=3D2></FONT></STRONG>&nbsp;</DIV>
<DIV><STRONG><FONT face=3DArial color=3D#000080 size=3D2>I suggest you , =
to take xfrx=20
or frx2any,</FONT></STRONG></DIV>
<DIV><STRONG><FONT face=3DArial color=3D#000080 =
size=3D2></FONT></STRONG>&nbsp;</DIV>
<DIV><STRONG><FONT face=3DArial color=3D#000080 size=3D2>It's the best =
way to convert=20
report in pdf.</FONT></STRONG></DIV>
<DIV><STRONG><FONT face=3DArial color=3D#000080 =
size=3D2></FONT></STRONG>&nbsp;</DIV>
<DIV><STRONG><FONT face=3DArial color=3D#000080 =
size=3D2>Olivier</FONT></STRONG></DIV>
<BLOCKQUOTE=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000080 2px solid; MARGIN-RIGHT: 0px">
<DIV>"Mr Dominique LUGEOL" &lt;<A=20
=
href=3D"mailto:lugeol-consulting@orange.fr">lugeol-consulting@orange.fr</=
A>&gt;=20
a =E9crit dans le message de news: <A=20
=
href=3D"mailto:OR%235msIeHHA.4172@TK2MSFTNGP05.phx.gbl">OR%235msIeHHA.417=
2@TK2MSFTNGP05.phx.gbl</A>...</DIV>hi=20
to fox programers,<BR><BR>does anybody know how to install a printer =
driver (=20
with a .inf and .ppd <BR>files ) without any dialog with =
user.<BR><BR>Thanks=20
for all<BR><BR>Dominique<BR>Member of AtoutFox -=20
France<BR><BR><BR>---<BR>Antivirus avast! : message Sortant =
sain.<BR>Base de=20
donnees virale (VPS) : 000731-0, 06/04/2007<BR>Analyse le : 06/04/2007 =

22:35:42<BR>avast! - copyright (c) 1988-2007 ALWIL Software.<BR><A=20
=
href=3D"http://www.avast.com">http://www.avast.com</A><BR><BR><BR><BR></B=
LOCKQUOTE></BODY></HTML>

------=_NextPart_000_002D_01C77955.218B5930--


RE: auto install printer driver by Allan

Allan
Sun Apr 08 07:24:02 CDT 2007

Try this:

LOCAL YourPrinterName, YourPrinterDriver, lcCmd, oShell

YourPrinterName = "My Printer"
YourPrinterDriver = "Epson LQ-2180 ESC/P 2"

lcCmd = [%windir%\\system32\\rundll32.exe printui.dll,PrintUIEntry /if /b ]
+ ;
["] + YourPrinterName + ["] + ;
[ /f %windir%\\inf\\ntprint.inf /r "lpt1:" /m "] + ;
YourPrinterDriver + [" /Z]

oShell = CreateObject("WScript.Shell")
oShell.Exec(lcCmd)

Hope this will help...

Allan

"Mr Dominique LUGEOL" wrote:

> hi to fox programers,
>
> does anybody know how to install a printer driver ( with a .inf and .ppd
> files ) without any dialog with user.
>
> Thanks for all
>
> Dominique
> Member of AtoutFox - France
>
>
> ---
> Antivirus avast! : message Sortant sain.
> Base de donnees virale (VPS) : 000731-0, 06/04/2007
> Analyse le : 06/04/2007 22:35:42
> avast! - copyright (c) 1988-2007 ALWIL Software.
> http://www.avast.com
>
>
>
>