Printing from Delphi without needing default printer

Black Ice Printer Driver related questions

Moderator: Technical Support Team

Printing from Delphi without needing default printer

Postby TechnicalSupportTeam » Mon Jul 24, 2006 11:37 am


We own The BlackIce ColorPlus driver and are printing multipage images
from our Delphi application to a PDF file. We are finding that we must
temporarily set the BlackIce Printer as the default and set the printer
-1 (the default). We would like to keep the BlackIce printer as a
non-default printer and print to it to produce PDF files.


You can print from an application to a Black Ice printer, where the Black
Ice printer is a non-default printer. For example you can print from Microsoft Word, Excel, Acrobat reader and our samples.

Here is a sample snippet. With this code you can print to a non-default
printer in Delphi.

procedure TForm1.Button1Click(Sender: TObject);

if PrintDialog1.Execute then
With Printer Do Begin
Canvas.TextOut(10, 10, 'This is a test printing.');
Posts: 1005
Joined: Sat Mar 20, 2004 11:50 am

Return to Printer Drivers

Who is online

Users browsing this forum: Bing [Bot] and 6 guests