Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

I want to add a printer from ms access 2

Status
Not open for further replies.

rene1000

IS-IT--Management
Apr 9, 2002
89
NL
I want the users of my database be able to add a printer by clicking a button on a form. does anyone know how to do this ?
 
Hi,

I noticed that no-one has answered you yet so here goes...

I don't know if you can automate the adding of a new printer or not (I don't think that you can, but I could be wrong). However, I was able to find a few articles pretaining to printer functions. I haven't read them in their entirety, but they may contain the info you seek. I also have an example database that has printer functions built in - e-mail me at: jbehrne@hotmail.com if you would like a copy. Good luck,

jbehrne

(for older Access databases)


If at first you don't succeed, call in an airstrike. - Murphy's Laws of Combat Operations
 
[tt]
Hi:

The following is from Access 2002 Desktop Developer's Handbook by Litwin, Getz and Gunderloy, Chapter 10:

"...Note that there's no mechanism for adding a new printer programmatically. You can't add a printer to Windows from here..."

Each user must add the network printers on the user's own workstation in Windows.

However, it is not difficult to populate a combo box with the names of the printers that are already installed.

Cheers,[/tt]

[glasses][tt]Gus Brunston - Access2000(DAO)
Skill level based on 1-10: 7, on the way to 6, and beyond!
Webmaster: www.rentdex.com[/tt]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top