1. prt screen
- Posted by Jean Hendrickx <jean.hendrickx at EURONET.BE> Jun 01, 1997
- 946 views
Hi Euphorians, I did a program which displays diagrams on the screen, and I want to print them (A partial print screen). Can somebody give me an idea how to do that ? Thank you for any suggestion. Jean.Hendrickx
2. Re: prt screen
- Posted by Lucius L Hilley III <luciuslhilleyiii at JUNO.COM> Jun 01, 1997
- 887 views
On Sun, 1 Jun 1997 16:24:08 +0100 Jean Hendrickx <jean.hendrickx at EURONET.BE> writes: >Hi Euphorians, > >I did a program which displays diagrams on the screen, >and I want to print them (A partial print screen). >Can somebody give me an idea how to do that ? >Thank you for any suggestion. >Jean.Hendrickx > Don't know what your doing here. LPT1 is the printer. You should be able to do this. integer printer printer = open ("lpt1", "wb") puts (printer, "Text going to printer.\n") puts (printer, "More stuff to printer.\n") close (printer) \n is a linefeed you may need to include a carriage return. integer printer printer = open ("lpt1", "wb") puts (printer, "Text going to printer.") puts (printer, {13, 10}) -- carriage return and linefeed. puts (printer, "More stuff to printer.\n") puts (printer, {13, 10}) -- carriage return and linefeed. close (printer) If you want to print graphics you will have to get or develop a graphics driver for your printer.
3. Re: prt screen
- Posted by Daniel Berstein <architek at GEOCITIES.COM> Jun 01, 1997
- 916 views
Jean Hendrickx wrote: > I did a program which displays diagrams on the screen, > and I want to print them (A partial print screen). > Can somebody give me an idea how to do that ? Is it graphical??? What printer, Deskjet, Epson, Dot-matrix??? -- Regards, Daniel Berstein architek at geocities.com http://www.geocities.com/SiliconValley/Heights/9316
4. prt screen
- Posted by Jean Hendrickx <jean.hendrickx at EURONET.BE> Jun 03, 1997
- 919 views
hi, JH> I did a program which displays diagrams on the screen, JH> and I want to print them (A partial print screen). Lucius L Hilley III wrote : > Don't know what your doing here. > LPT1 is the printer. Ok sorry, I forget to say that's in graphical mode. Thank You yet for the help, it's useful. Daniel Berstein wrote : > Is it graphical??? > What printer, Deskjet, Epson, Dot-matrix??? It is in graphical mode 18 The printer is a Deskjet 520. Sorry too. My question was a little confuse. My wish is to print a rectangular area of the screen. Always the same. This area shows every time another diagram. e.g. ------------------------
5. prt screen
- Posted by Jean Hendrickx <jean.hendrickx at EURONET.BE> Jun 03, 1997
- 887 views
hi, JH> I did a program which displays diagrams on the screen, JH> and I want to print them (A partial print screen). Lucius L Hilley III wrote : > Don't know what your doing here. > LPT1 is the printer. Ok sorry, I forget to say that's in graphical mode. Thank You yet for the help, it's useful. Daniel Berstein wrote : > Is it graphical??? > What printer, Deskjet, Epson, Dot-matrix??? It is in graphical mode 18 The printer is a Deskjet 520. Sorry too. My question was a little confuse. My wish is to print a rectangular area of the screen. Always the same. This area shows every time another diagram. e.g. ------------------------ --------- ----------------------i -------- i i <- screen i map -------- i i ------- /\ <------- area /\_/ \ i -------- i i title i i i i i ----------------------i Many thanks. Jean.Hendrickx
6. prt screen
- Posted by Robert Craig <robert_craig at COMPUSERVE.COM> Jun 03, 1997
- 892 views
Jean Hendrickx writes: JH> I did a program which displays diagrams on the screen, JH> and I want to print them (A partial print screen). 1. Use save_screen() to save a rectangular region of the screen as a bitmap (.BMP) file. 2. Use a graphics program to print the .BMP file on your printer. The Accessories/"Paint" program on Windows 95 will do this. So will th= e Accessories/"Paintbrush" program on Windows 3.1. They even print corre= ctly = in color on my HP 550C. = Regards, Rob Craig Rapid Deployment Software
7. Re: prt screen
- Posted by Daniel Berstein <architek at GEOCITIES.COM> Jun 03, 1997
- 900 views
Jean Hendrickx wrote: > It is in graphical mode 18 > The printer is a Deskjet 520. Mmmhh... If you have the know the adecuate printer ecape codes for the your Deskjet printer, maybe I can help you code an Euphoria graphics print routine (sounds great!). I have an HP 660C abd tried several times get these guys at Hewlett Pachard CHILE fax me the info (in the user manual they say they fax this info!!!). People at Epson are better ;) in the user manual of my stylus 800+ comes a small (but useful) documentation about setting the printer for graphics printing. If you have time, search the web for information about "PCL", that's the HP printing "protocol" (Epson uses ESC/P2). -- Regards, Daniel Berstein architek at geocities.com http://www.geocities.com/SiliconValley/Heights/9316
8. Re: prt screen
- Posted by Daniel Berstein <architek at GEOCITIES.COM> Jun 03, 1997
- 869 views
To Jean (and anyone who has an HP Deskjet): I found some info about PCL at HP's homepage, the URL is: Hope this help a bit. -- Regards, Daniel Berstein architek at geocities.com http://www.geocities.com/SiliconValley/Heights/9316
9. prt screen
- Posted by Jean Hendrickx <jean.hendrickx at EURONET.BE> Jun 06, 1997
- 894 views
hi, Thanks for all the help. I thought it'll be easy but with several printers and different codes ... Well we did the survey of the situation. Keeping in mind the 'philosophy' of sharring programs the best for me is to save the screen and use a different program to print the .BMP file, instead of making one working with _my_ hardware only. Regards, jean.hendrickx at infoboard.be