By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,762 Members | 1,845 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,762 IT Pros & Developers. It's quick & easy.

Default printer margin settings in accde

P: 10
Hi all im writing a narcode label app and all is good except whenn i distribute as accde for runtime the report margins change and labels are messed up.
I have a code to change the default printer to the label printer and then print the label then change it back to original howeverthe margins are affected.
As this is for small labels the printer runs with zero margin.
I have set the default margins in access 2010 under database settings for the appication however it seems to default back.
Is there any way to change them with vba on report open? Please remember this is in an accde not an accdb.

Im soo close to fimishing this but the printer needs to be shared on the network and changing the default application printer is the only way i could get the printer share to work, now i just need to sort the margins.
Thanks in advance
Apr 23 '12 #1
Share this Question
Share on Google+
1 Reply

Expert Mod 2.5K+
P: 3,283
You should be able to designate a default printer for that report (the labels) under Page Setup and you should NOT have to keep changing the system default printer. This may solve your problem.
Jul 25 '12 #2

Post your reply

Sign in to post your reply or Sign up for a free account.