R
RipperT
I have code behind a form button that captures the users default printer,
prints the report, then switches back to the default. I've recently learned
that I can use the printer's reference number within the collection to use
in the code, instead of the device name. My question is: what dictates the
printers position in the collection and what is the likelihood that it will
change, or, under what circumstances would it change? Using code from the
Access help files to generate a list of the printers in the collection, I
noticed that the IP printer I want to use over our network is listed first
(HP LaserJet) followed by all the //network/path/etc/ printers. I changed
the HP to ZP, and it still maintained the same position. Can someone
enlighten me on how the collection thing works? I don't want some printer
gnome in there switching my printer position after I code the forms.
Many, many thanx,
Rip
--
prints the report, then switches back to the default. I've recently learned
that I can use the printer's reference number within the collection to use
in the code, instead of the device name. My question is: what dictates the
printers position in the collection and what is the likelihood that it will
change, or, under what circumstances would it change? Using code from the
Access help files to generate a list of the printers in the collection, I
noticed that the IP printer I want to use over our network is listed first
(HP LaserJet) followed by all the //network/path/etc/ printers. I changed
the HP to ZP, and it still maintained the same position. Can someone
enlighten me on how the collection thing works? I don't want some printer
gnome in there switching my printer position after I code the forms.
Many, many thanx,
Rip
--