All other applications print correctly to the default printer (tray 2) or whatever alternative printer I select, so it isn't an issue with the printer setup. The reports still print to tray 1 (not the default). I have also tried bypassing the printer dialogue by setting the printerindex to -1. The reports print to the correct printer except for the dual tray printer, where it always prints to tray 1 regardless of whether I select tray 1 or tray 2 in the print dialogue. There are 5 printers that I can print to including fax driver and a pdf generator. How can I print HTML document in Delphi 5 or 6? I tryed to read Delphi help file, but nothing didn't work. If i select the default printer it always prints to tray 1 of the same printer on USB Port 003.Įverything is provided royalty free and with complete source code (however, it is copyrighted software, more information about the license can be found in the header. It will however print to any other printer I select. Here is the basic piece of code if SizeSearchReport.printDial og1.Execut e then begin ttings.Pri nterIndex:= printer.printerindex Printer.Refresh Printer.Refresh end I can never get it to print to the default printer, tray 2 of the printer on USB Port 003.