Printing to the printer using WIN32 API
-
Hi Guys, I've got a problem while using APIs for printing text . The problem: Every consecutive newline of text needs to be printed with different fontsize and also some lines need to printed in bold. Well I have been using 'WritePrinter API'. (its one the APIs required for printing with WIN32 APIs); Are there any APIs that manipulate the printers fontsize,fontbold ,etc output. API wizards kindly help... -SimSan
-
Hi Guys, I've got a problem while using APIs for printing text . The problem: Every consecutive newline of text needs to be printed with different fontsize and also some lines need to printed in bold. Well I have been using 'WritePrinter API'. (its one the APIs required for printing with WIN32 APIs); Are there any APIs that manipulate the printers fontsize,fontbold ,etc output. API wizards kindly help... -SimSan
In between lines try Printer.Font.** = ?? Printer.Font.** = ** or Printer.FontBold = true Printer.FontSize = 12 Note: even though members don't show up with Intellisense when you hit the period doesn't mean that they aren't there hope this helps If it's broken, I probably did it bdiamond
-
In between lines try Printer.Font.** = ?? Printer.Font.** = ** or Printer.FontBold = true Printer.FontSize = 12 Note: even though members don't show up with Intellisense when you hit the period doesn't mean that they aren't there hope this helps If it's broken, I probably did it bdiamond
Well I am printing a page directly to the printer bypassing the driver. WritePrinter is one of the APIs used just to do that job.My collegue calls it DOS printing; if that sounds familiar. Printing with Printer object wouldnt give a draft mode print....would it???? I came across SelectObject API ,but still I dont get the required output. -SimSan