Delphi Pages Forums  

Go Back   Delphi Pages Forums > Delphi Forum > General

Lost Password?

Reply
 
Thread Tools Display Modes
  #1  
Old 06-10-2007, 09:44 PM
ACH ACH is offline
Junior Member
 
Join Date: Jan 2006
Posts: 18
Default LPTI and USB printer

Dear all,

I have two printers connected to my computer, let's say printer A and printer B. Printer A is a USB printer, printer B is an LPTI printer. Sometimes I want to print a report to printer A, and sometimes to printer B. How can I do this job using Delphi codes, without changing the printer setting on my Operating System ?

Thanks to all of you......

regards,
ACH
Reply With Quote
  #2  
Old 06-10-2007, 10:14 PM
davidj davidj is offline
Senior Member
 
Join Date: Jan 2001
Posts: 2,900
Default RE: LPTI and USB printer

Off the op of my head,

[DELPHI]Uses Printers;

Printer.PrinterIndex := ...;[/DELPHI]
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT. The time now is 03:42 AM.


Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2014, vBulletin Solutions, Inc.