Print a report to a specific printer but not the default

Saa62

New Member
Joined
Mar 20, 2002
Messages
20
2 questions:

1: I have a database that different people will use to create a one page report.(A shipping request) The one page report then needs to be sent to a specific printer on the network,(the clerks desk) and also print a copy of the report to users network printer.(So a copy of the shipping request can be attached to the shipped parts) Is this possible?

2: If the above is possible, then is it possibe to have a pop up window to ask how many copies to print on the users printer.

Thanks

I have question 1 figured out. I created a copy of the same report and did individual page set up for the printers. I would still like to be to choose how many copies to print on one of the printers with a pop up window.
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
Well first make a macro to print out a copy to the users printer and the clerks printer. then once thats created just make a do loop to continually print reports to both printers. now make 2 variables, it doesn't matter what they are but single letters work better
i normally make an 'a' and a 'b' variable, but you can use whatever two letters you like.
firstly at the start of the code do
b = 0
a = inputbox("How many copies do you need")
then have the do
there will be all the macro code in here for the print function
in there put b = b + 1
at the end of the code just before the end sub put loop until b = a
it will print the copies inputted into the inputbox (textbox) when you call the macro.
 
Upvote 0

Forum statistics

Threads
1,221,877
Messages
6,162,579
Members
451,776
Latest member
bosvinn

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top