dcsimg
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: Printer Settings

  1. #1
    Join Date
    Oct 2003
    Posts
    3

    Printer Settings

    How to change the settings of a printer in VB at runtime

  2. #2
    Join Date
    Jul 2000
    Location
    Milano, Italy
    Posts
    7,726

    Printer object or api...

    Are you looking for a change of defaults (for every software, as when you change them via control panel) or only for your current running app?
    If the second is enough, you can use the printer object.
    ie:

    changing margins:
    http://www.codeguru.com/forum/showth...hlight=printer

    Print to a non default printer:
    http://www.codeguru.com/forum/showth...hlight=printer

    If you want something more wide, look here:
    http://www.codeguru.com/forum/showth...772#post747772
    ...at present time, using mainly Net 4.0, Vs 2010



    Special thanks to Lothar "the Great" Haensler, Chris Eastwood , dr_Michael, ClearCode, Iouri and
    all the other wonderful people who made and make Codeguru a great place.
    Come back soon, you Gurus.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)