From: Rodrigo M. <rod...@te...> - 2004-03-17 13:09:52
|
This is a C++ Builder ? hehehe I Already use it a long time ago, the sintax code is almost the same that delphi, so i can inside of Delphi source code, but i think, this features already exists on contrib/TWinPrn, this is correct ? Regards Rodrigo -----Mensagem original----- De: hwg...@li... [mailto:hwg...@li...]Em nome de Sandro R. R. Freire Enviada em: quarta-feira, 17 de março de 2004 10:01 Para: hwg...@li... Assunto: Re: [Hwgui-developers] Re: Print PRN Please it verifies if the code below can be adapted for the use of the HwGUI sending an archive txt #include <Printers.hpp> void __fastcall TForm1::Button1Click(TObject *Sender) { TPrinter Prntr = Printer(); TRect r = Rect(200,200,Prntr->PageWidth - 200,Prntr->PageHeight - 200); Prntr->BeginDoc(); Prntr->Canvas->TextRect(r, 200, 200, Memo1->Lines->Text); Prntr->EndDoc(); } Regards ----------------------- Sandro Freire ----- Original Message ----- From: "Rodrigo Moreno" <rod...@te...> To: "Alexander S.Kresin" <al...@be...>; <hwg...@li...> Sent: Wednesday, March 17, 2004 9:58 AM Subject: RES: [Hwgui-developers] Re: Print PRN > Hi Alex, > >> > Sandro is trying print dos files to usb printers, but using the set printer > to lptx doens't works on usb windows printers, so the solution is spool all > harbour printing to a file and then read this file sending it to windows > using winapi functions, like HPrinter. > > > Regards > Rodrigo > > -----Mensagem original----- > De: hwg...@li... > [mailto:hwg...@li...]Em nome de > Alexander S.Kresin > Enviada em: quarta-feira, 17 de marco de 2004 08:18 > Para: hwg...@li... > Assunto: [Hwgui-developers] Re: Print PRN > > > On 16.03.04 21:18, Sandro R. R. Freire <san...@ya...> wrote: > > SRRF> Hi Alexander > SRRF> Necessary to play an archive PRN, for the printer standard of windows, > I do > SRRF> not want to use the LPT. I did not find documentation API, has some > SRRF> solution. > SRRF> Its necessary to use in printers USB, Fax and all others formats. > > Sorry, I didn't understand, what is 'an archive PRN' and why they > can't be printed on USB printer ? > > Regards, > Alexander > http://kresin.belgorod.su > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > Hwgui-developers mailing list > Hwg...@li... > https://lists.sourceforge.net/lists/listinfo/hwgui-developers > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > Hwgui-developers mailing list > Hwg...@li... > https://lists.sourceforge.net/lists/listinfo/hwgui-developers ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Hwgui-developers mailing list Hwg...@li... https://lists.sourceforge.net/lists/listinfo/hwgui-developers |