| Author |
Message |
Scott N Weber, MCP
Guest
|
Posted:
Thu Oct 20, 2005 12:21 am Post subject:
Set it to Print Directly to the Printer |
|
|
I need to automatically set a printer's properties to "Print directly to the
printer" instead of "Spool print documents so program finishes printing
faster".
How can this be done?
P.S. I am refering to the IntelliDoc printer driver used for creating PDF's
and I would actually prefer to have this set at the time of installing the
printer driver if possible. |
|
| Back to top |
|
 |
Byte
Guest
|
Posted:
Thu Oct 20, 2005 4:27 pm Post subject:
RE: Set it to Print Directly to the Printer |
|
|
You can only do this AFTER installing the printer. Go to:
Start>Control Panel>Printers and Faxes>rightclick your printer>
click Properties>Advanced tab>tick "print directly to printer>Apply>OK
--
XP-WNP
Today is the first day of the
rest of your life.
"Scott N Weber, MCP" wrote:
| Quote: | I need to automatically set a printer's properties to "Print directly to the
printer" instead of "Spool print documents so program finishes printing
faster".
How can this be done?
P.S. I am refering to the IntelliDoc printer driver used for creating PDF's
and I would actually prefer to have this set at the time of installing the
printer driver if possible. |
|
|
| Back to top |
|
 |
Scott N Weber, MCP
Guest
|
Posted:
Thu Oct 20, 2005 4:27 pm Post subject:
RE: Set it to Print Directly to the Printer |
|
|
I want to do it automatically, not via user interface. I was toying with
modifying the registry to do this but I do not know how to automatically
update the registry via a command file or similar.
"Byte" wrote:
| Quote: | You can only do this AFTER installing the printer. Go to:
Start>Control Panel>Printers and Faxes>rightclick your printer
click Properties>Advanced tab>tick "print directly to printer>Apply>OK
--
XP-WNP
Today is the first day of the
rest of your life.
"Scott N Weber, MCP" wrote:
I need to automatically set a printer's properties to "Print directly to the
printer" instead of "Spool print documents so program finishes printing
faster".
How can this be done?
P.S. I am refering to the IntelliDoc printer driver used for creating PDF's
and I would actually prefer to have this set at the time of installing the
printer driver if possible. |
|
|
| Back to top |
|
 |
Byte
Guest
|
Posted:
Thu Oct 20, 2005 9:40 pm Post subject:
RE: Set it to Print Directly to the Printer |
|
|
That's exactly what I wrote. Why would you want to edit the Registry?
You have to set it up first, then it will automatically print directly to
the printer.
Do not try to change the Registry for that will not do it. Clicking Apply
and OK
will set and save the settings. In other words, you have to set up the
interface first (once) then.......
--
XP-WNP
Today is the first day of the
rest of your life.
"Scott N Weber, MCP" wrote:
| Quote: | I want to do it automatically, not via user interface. I was toying with
modifying the registry to do this but I do not know how to automatically
update the registry via a command file or similar.
"Byte" wrote:
You can only do this AFTER installing the printer. Go to:
Start>Control Panel>Printers and Faxes>rightclick your printer
click Properties>Advanced tab>tick "print directly to printer>Apply>OK
--
XP-WNP
Today is the first day of the
rest of your life.
"Scott N Weber, MCP" wrote:
I need to automatically set a printer's properties to "Print directly to the
printer" instead of "Spool print documents so program finishes printing
faster".
How can this be done?
P.S. I am refering to the IntelliDoc printer driver used for creating PDF's
and I would actually prefer to have this set at the time of installing the
printer driver if possible. |
|
|
| Back to top |
|
 |
Dieter
Guest
|
Posted:
Fri Oct 21, 2005 12:28 am Post subject:
Re: Set it to Print Directly to the Printer |
|
|
you can use Windows-APi-Funktion "SetPrinter" with Level 5 using
PRINTER_INFO_5 struct.
1) OpenPrinter() with PRINTER_ACCESS_ADMINISTER rights
2) GetPrinter() with Level5 filling the structure
3) Change attributes-value "PRINTER_ATTRIBUTE_DIRECT" (reseting some other
values)
4) SetPrinter() with new values
5) ClosePrinter()
If you want to edit registry values, look to changes in
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Print\Printers\<your
printer>\DsSpooler
You can use regmon from sysinternals to examine changing values -
If you change values, it could be necessary to restart the spooler that
changes will recognized.
Dieter
"Byte" <Byte@discussions.microsoft.com> schrieb im Newsbeitrag
news:706109AA-9C60-437F-AA41-B2426166FC5C@microsoft.com...
| Quote: | That's exactly what I wrote. Why would you want to edit the Registry?
You have to set it up first, then it will automatically print directly to
the printer.
Do not try to change the Registry for that will not do it. Clicking Apply
and OK
will set and save the settings. In other words, you have to set up the
interface first (once) then.......
--
XP-WNP
Today is the first day of the
rest of your life.
"Scott N Weber, MCP" wrote:
I want to do it automatically, not via user interface. I was toying with
modifying the registry to do this but I do not know how to automatically
update the registry via a command file or similar.
"Byte" wrote:
You can only do this AFTER installing the printer. Go to:
Start>Control Panel>Printers and Faxes>rightclick your printer
click Properties>Advanced tab>tick "print directly to printer>Apply>OK
--
XP-WNP
Today is the first day of the
rest of your life.
"Scott N Weber, MCP" wrote:
I need to automatically set a printer's properties to "Print directly
to the
printer" instead of "Spool print documents so program finishes
printing
faster".
How can this be done?
P.S. I am refering to the IntelliDoc printer driver used for creating
PDF's
and I would actually prefer to have this set at the time of
installing the
printer driver if possible. |
|
|
| Back to top |
|
 |
Alan Morris
Guest
|
Posted:
Fri Oct 21, 2005 3:31 am Post subject:
Re: Set it to Print Directly to the Printer |
|
|
the prncnfg.vbs script in system32 will do this as well
prncnfg -p printername +direct
--
Alan Morris
Windows Printing Team
Search the Microsoft Knowledge Base here:
http://support.microsoft.com/default.aspx?scid=fh;[ln];kbhowto
"Dieter" <dieter.riekert@lvbprint.de> wrote in message
news:ObeRJCb1FHA.2788@TK2MSFTNGP10.phx.gbl...
| Quote: | you can use Windows-APi-Funktion "SetPrinter" with Level 5 using
PRINTER_INFO_5 struct.
1) OpenPrinter() with PRINTER_ACCESS_ADMINISTER rights
2) GetPrinter() with Level5 filling the structure
3) Change attributes-value "PRINTER_ATTRIBUTE_DIRECT" (reseting some other
values)
4) SetPrinter() with new values
5) ClosePrinter()
If you want to edit registry values, look to changes in
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Print\Printers\<your
printer>\DsSpooler
You can use regmon from sysinternals to examine changing values -
If you change values, it could be necessary to restart the spooler that
changes will recognized.
Dieter
"Byte" <Byte@discussions.microsoft.com> schrieb im Newsbeitrag
news:706109AA-9C60-437F-AA41-B2426166FC5C@microsoft.com...
That's exactly what I wrote. Why would you want to edit the Registry?
You have to set it up first, then it will automatically print directly
to
the printer.
Do not try to change the Registry for that will not do it. Clicking
Apply
and OK
will set and save the settings. In other words, you have to set up the
interface first (once) then.......
--
XP-WNP
Today is the first day of the
rest of your life.
"Scott N Weber, MCP" wrote:
I want to do it automatically, not via user interface. I was toying
with
modifying the registry to do this but I do not know how to
automatically
update the registry via a command file or similar.
"Byte" wrote:
You can only do this AFTER installing the printer. Go to:
Start>Control Panel>Printers and Faxes>rightclick your printer
click Properties>Advanced tab>tick "print directly to
printer>Apply>OK
--
XP-WNP
Today is the first day of the
rest of your life.
"Scott N Weber, MCP" wrote:
I need to automatically set a printer's properties to "Print
directly
to the
printer" instead of "Spool print documents so program finishes
printing
faster".
How can this be done?
P.S. I am refering to the IntelliDoc printer driver used for
creating
PDF's
and I would actually prefer to have this set at the time of
installing the
printer driver if possible.
|
|
|
| Back to top |
|
 |
|
|
|
|