Hi,
My requirement is very simple. I have a text file, which I want to spool to a network printer. The file is actually an HTML file, and I want to programatically direct it to the default (or another) network printer.
How do I do this from VBA in an Access2000 environment.
I recognise that I should be able to shell something like:
Print /D
evice Filename
but I'm not sure what device reference to use, and my attempt to just Print Filename results in nothing being printed (perhaps the bits fall out of the back of the laptop onto the carpet from the lpt1: port, but they certainly dont seem to end up in the default printers spool queue - its a networked printer).
Any help on this would be very appreciated;
Many thanks in advance,
Steve Lewy
Solutions Developer
steve@simplydata.com.au
(dont cut corners or you'll go round in circles)
My requirement is very simple. I have a text file, which I want to spool to a network printer. The file is actually an HTML file, and I want to programatically direct it to the default (or another) network printer.
How do I do this from VBA in an Access2000 environment.
I recognise that I should be able to shell something like:
Print /D
but I'm not sure what device reference to use, and my attempt to just Print Filename results in nothing being printed (perhaps the bits fall out of the back of the laptop onto the carpet from the lpt1: port, but they certainly dont seem to end up in the default printers spool queue - its a networked printer).
Any help on this would be very appreciated;
Many thanks in advance,
Steve Lewy
Solutions Developer
steve@simplydata.com.au
(dont cut corners or you'll go round in circles)