FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour printer and Matricial or Jet of Paint
Posts: 58
Joined: Fri Mar 10, 2006 08:13 PM
printer and Matricial or Jet of Paint
Posted: Thu Dec 07, 2006 12:48 PM

Hi,

Does he have as knowing the installed printer and Matricial or Jet of Paint?

Clemerson

Posts: 252
Joined: Tue Oct 25, 2005 02:48 PM
Re: printer and Matricial or Jet of Paint
Posted: Fri Dec 08, 2006 05:39 PM

Clemerson,

I have the same problem: in my program I must know each printer type (inkjet, laser, dot matrix...). Based on printer type I must printer with tprinter or tdosprn or file and so on...
I don't found a function to detect this information, then I created a printer database were I mark the printer type. If the selected printer isn't on database I search for keywords in the name like "LASER", "INK", "LX", "LQ" and I suppose the type...

Regards
Maurilio

Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
printer and Matricial or Jet of Paint
Posted: Sat Dec 09, 2006 12:03 AM

Maurilio,

>If the selected printer isn't on database I search for keywords in the name like "LASER", "INK", "LX", "LQ" and I suppose the type...

I like that! You are giving your program a tiny bit of intelligence. Good idea.

James

FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
Posts: 58
Joined: Fri Mar 10, 2006 08:13 PM
printer and Matricial or Jet of Paint
Posted: Mon Dec 11, 2006 10:53 AM

Today I do almost equal to you, I thought that FWH had some function.

Clemerson

Continue the discussion