469,575 Members | 1,409 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,575 developers. It's quick & easy.

Easy way to Change default Printer in vb6

Private Sub Command1_Click()
'change the name of your printer from the printer collection
Shell "RUNDLL32 PRINTUI.DLL,PrintUIEntry /y /n ""Microsoft XPS Document Writer"""
End Sub
Oct 23 '20 #1
0 2895

Post your reply

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

Similar topics

1 post views Thread by goJoe | last post: by
1 post views Thread by Bharat Parekh | last post: by
reply views Thread by suresh191 | last post: by
4 posts views Thread by guiromero | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.