Selecting printer from code

S

Sophie

hi

I have buttons on my forms that cause various reports to be printed. But,
some of the reports are to be printed on one printer, and some on another
printer. Both are connected to the computer. How do I do this? It guess
it would be OK for the code to pull up the Print window, but I'd like it best
if the code can actually select the correct printer. (Lexmark E330 or Canon
i550)

Any clues appreciated.
 
S

Stuart McCall

Sophie said:
hi

I have buttons on my forms that cause various reports to be printed. But,
some of the reports are to be printed on one printer, and some on another
printer. Both are connected to the computer. How do I do this? It
guess
it would be OK for the code to pull up the Print window, but I'd like it
best
if the code can actually select the correct printer. (Lexmark E330 or
Canon
i550)

Any clues appreciated.

Open your report in design view, then drop down the File Menu and choose
Page Setup. On the Page tab, choose a printer. This setting is saved with
the report, so next time it's opened, the printer will be ready-configured.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top