Prev: Get user input when document is created from template
Next: Non-modal forms and multiple documents
From: Jonathan West on 22 Jan 2010 07:06 "Vidhya" <Vidhya(a)discussions.microsoft.com> wrote in message news:2FCF3DA4-113C-4854-B5B3-344DDD6630C4(a)microsoft.com... > Hi, > > The printer access was changed. I modified the desiredaccess to > PRINTER_ALL_ACCESS. Now there is no error. But duplex printing doesnt > occur. > should I change anything else? Yes, you'll need to install a local driver, as I said. I ought to know, I wrote that code. http://pubs.logicalexpressions.com/Pub0009/LPMArticle.asp?ID=116 -- Regards Jonathan West
From: Vidhya on 25 Jan 2010 20:24 Hi, How can I install the local -network printer on all the user's machine? Its not a feasible solution since it involves many users. The code is fine. I meant to ask whether any time delay is required between print and printer reset. -Vidha "Jonathan West" wrote: > > "Vidhya" <Vidhya(a)discussions.microsoft.com> wrote in message > news:2FCF3DA4-113C-4854-B5B3-344DDD6630C4(a)microsoft.com... > > Hi, > > > > The printer access was changed. I modified the desiredaccess to > > PRINTER_ALL_ACCESS. Now there is no error. But duplex printing doesnt > > occur. > > should I change anything else? > > > Yes, you'll need to install a local driver, as I said. I ought to know, I > wrote that code. > > http://pubs.logicalexpressions.com/Pub0009/LPMArticle.asp?ID=116 > > -- > Regards > Jonathan West > > . >
From: Jonathan West on 26 Jan 2010 09:30 "Vidhya" <Vidhya(a)discussions.microsoft.com> wrote in message news:D71206C0-EFCB-40D1-B54E-16BBBF72B5EC(a)microsoft.com... > Hi, > > How can I install the local -network printer on all the user's machine? > Its > not a feasible solution since it involves many users. The code is fine. Well, if it only works in a circumstance which doesn't apply to you, then it's *not* fine. > I > meant to ask whether any time delay is required between print and printer > reset. > Don't try and do the reset while the print job is still being sent to the print spooler - therefore don't attempt to use background printing in Word. The code in my article does throw in a few DoEvents commands to give time for everything to sort itself out after the print job has gone through before you then reset the printer back to its default state. i worked out by trial & error what was enough on the mechine I was developing on, and then added a few extra ones for a bit of margin to cope with varying situations. -- Regards Jonathan West
From: Vidhya on 26 Jan 2010 20:49 Thanks. It worked now. I need to now check whether it works with other users. But my end it works fine. thanks again. -Vidhya "Jonathan West" wrote: > > "Vidhya" <Vidhya(a)discussions.microsoft.com> wrote in message > news:D71206C0-EFCB-40D1-B54E-16BBBF72B5EC(a)microsoft.com... > > Hi, > > > > How can I install the local -network printer on all the user's machine? > > Its > > not a feasible solution since it involves many users. The code is fine. > > Well, if it only works in a circumstance which doesn't apply to you, then > it's *not* fine. > > > I > > meant to ask whether any time delay is required between print and printer > > reset. > > > > Don't try and do the reset while the print job is still being sent to the > print spooler - therefore don't attempt to use background printing in Word. > The code in my article does throw in a few DoEvents commands to give time > for everything to sort itself out after the print job has gone through > before you then reset the printer back to its default state. i worked out by > trial & error what was enough on the mechine I was developing on, and then > added a few extra ones for a bit of margin to cope with varying situations. > > > -- > Regards > Jonathan West > > . >
First
|
Prev
|
Pages: 1 2 Prev: Get user input when document is created from template Next: Non-modal forms and multiple documents |