home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.visual.basic      MS Visual Basic discussions, NOT dot-net      10,840 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 9,884 of 10,840   
   Raoul Watson to Josh Madarasz   
   Re: Default Printer.   
   03 Feb 06 05:21:06   
   
   From: WatsonR@IntelligenCIA.com   
      
   "Josh Madarasz"  wrote in message   
   news:b7f1c$43e0e02f$a6667525$21109@ALLTEL.NET...   
   > Was hopeing someone could point out a good primer on printing.  Am trying   
   to   
   > change the default printer, have the device names in a list box, but can't   
   > for the life of me figure out how to select one from the list box and set   
   > Printer = .  Any help would be appreciated.   
   >   
   > Thank you,   
   >                 Josh Madarasz   
      
   AFAIK there is no way to do it using the VB printer object.   
   If you want to use API, check out OpenPrinter function.   
      
   Then use StartDocPrinter, StartPagePrinter, WritePrinter, EndPagePrinter,   
   EndDocPrinter, and finally ClosePrinter.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca