printer and Matricial or Jet of Paint

printer and Matricial or Jet of Paint

Postby clemerson » Thu Dec 07, 2006 12:48 pm

Hi,

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

Clemerson
User avatar
clemerson
 
Posts: 58
Joined: Fri Mar 10, 2006 8:13 pm
Location: Brazil

Re: printer and Matricial or Jet of Paint

Postby Maurilio Viana » Fri Dec 08, 2006 5: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
User avatar
Maurilio Viana
 
Posts: 252
Joined: Tue Oct 25, 2005 2:48 pm
Location: Garça/Garza/Heron City - Brazil

Postby James Bott » 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
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Postby clemerson » Mon Dec 11, 2006 10:53 am

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

Clemerson
User avatar
clemerson
 
Posts: 58
Joined: Fri Mar 10, 2006 8:13 pm
Location: Brazil


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 80 guests