Default printer margin settings in accde

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nickstock
    New Member
    • Apr 2012
    • 10

    Default printer margin settings in accde

    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
    nick
  • twinnyfo
    Recognized Expert Moderator Specialist
    • Nov 2011
    • 3655

    #2
    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.

    Comment

    Working...