From: Guillem C. W. <vac...@es...> - 2002-04-27 11:16:33
|
Well, I have use Win32::GUI::DIBitmap to make a image file (.jpeg, .bmp, = etc) and I have also find Win32::Printers. Does anybody done a gui = interface with Win32::GUI in order to select the printer and print the = image ? Any ideas ? this is the code that makes me my file: $dibuix =3D newFromDC Win32::GUI::DIBitmap ($DC,0, 0, 700, 570); $dibuix->SaveToFile("imatge.jpg",Win32::GUI::FIF_JPEG,Win32::GUI::JPEG_QU= ALITYGOOD); =20 Thanks, Guillem Cunillera i Wefers -----Mensaje original----- De: Guillem Cunillera Wefers <vac...@es...> Para: perlwin32gui <per...@li...> Fecha: divendres, 26 / abril / 2002 17:53 Asunto: [perl-win32-gui-users] Dc to the printer Everybody knows some way to send a DC graphic to the printer ? I can accept taking all the Window. Thanks. Guillem Cunillera i Wefers |
From: <ma...@mm...> - 2002-04-29 02:09:35
|
theres a win32::printers module? = =20 "Guillem Cunillera Wefers" = =20 <vac...@es...> To: = "perlwin32gui" =20 Sent by: <perl= -wi...@li...> =20 per...@li...urc cc: = =20 eforge.net Subje= ct: RE: [perl-win32-gui-users] Dc to the=20 print= er =20 = =20 27/04/02 09:19 PM = =20 = =20 = =20 Well, I have use Win32::GUI::DIBitmap to make a image file (.jpeg, .bm= p, etc)=A0and I have also find Win32::Printers. Does anybody done a gui interface with Win32::GUI in order to select the printer and print the image ? Any ideas ? this is the code that makes me my file: $dibuix =3D newFromDC Win32::GUI::DIBitmap ($DC,0, 0, 700, 570); $dibuix->SaveToFile ("imatge.jpg",Win32::GUI::FIF_JPEG,Win32::GUI::JPEG_QUALITYGOOD); Thanks, Guillem Cunillera i Wefers -----Mensaje original----- De: Guillem Cunillera Wefers <vac...@es...> Para: perlwin32gui <per...@li...> Fecha: divendres, 26 / abril / 2002 17:53 Asunto: [perl-win32-gui-users] Dc to the printer Everybody knows=A0some way to=A0send a DC graphic to the printer ? I can accept taking all the Window. Thanks. Guillem Cunillera i Wefers = |
From: Guillem C. W. <vac...@es...> - 2002-04-29 09:36:36
Attachments:
win32prt.zip
|
I don't remember where I found this module, but I Included here if anyone wants to try to do something with it. This not use gui interface. The code that Darek Adamkiewics put in this list works correctly, this gui is done in order to select the Printer. Well, I have an image, I know the printer, but I still don't know how to print the image The demo works correctly. Darek tals about Win32::NPRG but I think this can not use the DC that is made with Win32::GUI. Some people say that is possible to send an image to the Internet Explorer and print whit it, but for instance in my computer, some typr of images are reopened with graphic programs (imaging,photo editor,...). I have also tried CreateEnhMetaFile of Win32::GUI (0.552) and it cracks. Any other ideas to send a file image to the printer ? |
From: <pko...@me...> - 2002-04-29 09:53:44
|
Hello! > I don't remember where I found this module, but I Included here if anyo= ne > wants to try to do something with it. This not use gui interface. Perhaps you found it there: http://tmtowtdi.com/ :-) I did a search with google. Regards, Peter > -----Urspr=FCngliche Nachricht----- > Von: per...@li... > [mailto:per...@li...]Im Auftrag von > Guillem Cunillera Wefers > Gesendet am: Montag, 29. April 2002 11:39 > An: ma...@mm... > Cc: perlwin32gui > Betreff: RE: [perl-win32-gui-users] Dc to the printer > > I don't remember where I found this module, but I Included here if anyo= ne > wants to try to do something with it. This not use gui interface. > > The code that Darek Adamkiewics put in this list works correctly, this = gui > is done in order to select the Printer. Well, I have an image, I know = the > printer, but I still don't know how to print the image > The demo works correctly. > Darek tals about Win32::NPRG but I think this can not use the DC that i= s > made with Win32::GUI. > Some people say that is possible to send an image to the Internet Explo= rer > and print whit it, but for instance in my computer, some typr of images= are > reopened with graphic programs (imaging,photo editor,...). > I have also tried CreateEnhMetaFile of Win32::GUI (0.552) and it cracks. > > Any other ideas to send a file image to the printer ? > |
From: <ma...@mm...> - 2002-04-29 21:59:46
Attachments:
win32prt.zip
|
postscript?.........maybe? "Guillem Cunillera To: <ma...@mm...> Wefers" cc: "perlwin32gui" <vacarisses@esq <per...@li...> uerra.org> Subject: RE: [perl-win32-gui-users] Dc to the printer 29/04/02 07:39 PM I don't remember where I found this module, but I Included here if anyone wants to try to do something with it. This not use gui interface. The code that Darek Adamkiewics put in this list works correctly, this gui is done in order to select the Printer. Well, I have an image, I know the printer, but I still don't know how to print the image The demo works correctly. Darek tals about Win32::NPRG but I think this can not use the DC that is made with Win32::GUI. Some people say that is possible to send an image to the Internet Explorer and print whit it, but for instance in my computer, some typr of images are reopened with graphic programs (imaging,photo editor,...). I have also tried CreateEnhMetaFile of Win32::GUI (0.552) and it cracks. Any other ideas to send a file image to the printer ? (See attached file: win32prt.zip) |
From: Guillem C. W. <vac...@es...> - 2002-04-29 23:54:22
|
...mmmmMMMMmm... I think .jpg file is a good end (with Win32::DIBitmap) and if some user of my application wants to print, then he has to opened with his default image program. I have tried, but I don't want to die for this.... Guillem -----Mensaje original----- De: ma...@mm... <ma...@mm...> Para: Guillem Cunillera Wefers <vac...@es...> CC: ma...@mm... <ma...@mm...>; perlwin32gui <per...@li...> Fecha: dimarts, 30 / abril / 2002 00:00 Asunto: RE: [perl-win32-gui-users] Dc to the printer > >postscript?.........maybe? > > > > "Guillem > Cunillera To: <ma...@mm...> > Wefers" cc: "perlwin32gui" > <vacarisses@esq <per...@li...> > uerra.org> Subject: RE: [perl-win32-gui-users] Dc to the > printer > 29/04/02 07:39 > PM > > > > > >I don't remember where I found this module, but I Included here if anyone >wants to try to do something with it. This not use gui interface. > >The code that Darek Adamkiewics put in this list works correctly, this gui >is done in order to select the Printer. Well, I have an image, I know the >printer, but I still don't know how to print the image >The demo works correctly. >Darek tals about Win32::NPRG but I think this can not use the DC that is >made with Win32::GUI. >Some people say that is possible to send an image to the Internet Explorer >and print whit it, but for instance in my computer, some typr of images are >reopened with graphic programs (imaging,photo editor,...). >I have also tried CreateEnhMetaFile of Win32::GUI (0.552) and it cracks. > >Any other ideas to send a file image to the printer ? > >(See attached file: win32prt.zip) > > |