[Fwd: Full Screen Sized Screen-Dumps]

View: New views
11 Messages — Rating Filter:   Alert me  

[Fwd: Full Screen Sized Screen-Dumps]

by Eric Auer-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hi Bob,

Some questions: Is that Fortran program running in DOS?
Do you print to paper or to a file? What is your printer
configuration in Ubuntu and in Dosemu? Does the small
print-out show all screen content? Which screen mode/s
do you use, text modes or graphics modes? EGA or VGA?

Eric

> How do I get a full sized screen dump from inside an application program?
> I am using Ubuntu 8.04, and dosemu 1.4.0.0, After entering dosemu from
> the terminal, I then enter the full screen mode with Ctrl-Alt-F, and run
> a fortran program which produces a full screen color graph. Pressing
> "PrintScreen" results in a small (approximately 3"x4") print-out. Any
> suggestion?



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Freedos-user mailing list
Freedos-user@...
https://lists.sourceforge.net/lists/listinfo/freedos-user

Re: [Fwd: Full Screen Sized Screen-Dumps]

by Robert J. Thompson :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Eric:
Sorry for the delay in getting back to you (was in LA for week, then had a monitor failure. I tried to reproduce the problem. it did about the same thing although not exactly.



Eric Auer wrote:
Hi Bob,

Some questions: Is that Fortran program running in DOS?  The Fortran program is running in DOS.

  
Do you print to paper or to a file?
I do not print (neither text nor graphs) from inside this program - the program calculates and displays a graph on the screen.
 What is your printer configuration in Ubuntu and in Dosemu? 
I am not sure I fully understand the question. I have a HP OfficeJet K80xi All-in-One printer. The HPLIP organization provided me with a driver and guided me thru the installation. As far as I know, everything works fine in Ubuntu 8.04. All applications programs (such as Open Office Writer etc.) work fine. From a terminal. "lp filename1.txt" and "lp filename2.jpg" both work OK. In DOS, the command "copy filename prn" works fine for text files but does not for graphics files (,jpg or .png)

In DOS it is a different matter. I can print text files but not .jpg files. I don't remember configuring the printer in DOS.
Does the small print-out show all screen content?
Yes. I have a new experience to report. I entered dos (small screen) , ran the program (which produced a graph on screen) then hit PrintScreen. This saved a png file of the small screen (this is new behavior to me) then entered the full screen & hit Printscreen. This produced 3 pages of gibberish on the printer?
 Which screen mode/s do you use, text modes or graphics modes? EGA or VGA?
  
The program only writes to the screen in graphics (VGA) mode, 640 by 480 resolution.
Eric

  
How do I get a full sized screen dump from inside an application program?
I am using Ubuntu 8.04, and dosemu 1.4.0.0, After entering dosemu from 
the terminal, I then enter the full screen mode with Ctrl-Alt-F, and run 
a fortran program which produces a full screen color graph. Pressing 
"PrintScreen" results in a small (approximately 3"x4") print-out. Any 
suggestion?
    



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Freedos-user mailing list
Freedos-user@...
https://lists.sourceforge.net/lists/listinfo/freedos-user

  


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Freedos-user mailing list
Freedos-user@...
https://lists.sourceforge.net/lists/listinfo/freedos-user

Re: [Fwd: Full Screen Sized Screen-Dumps]

by Eric Auer-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hi Robert,

> ...program calculates and displays a graph on the screen.

Okay I understand more of your problem in Ubuntu now...

If you use lp in Linux or copy ... prn in dosemu, the
latter will basically assume that you want to print a
plain text document. Lp might also support postscript
and maybe PDF. However, if you hit the printscreen key
in dosemu, you will just tell Gnome (of Linux) to store
a screenshot of your whole screen in a PNG file...

You can manually start a screenshot from the Gnome menu
if you want a screenshot of only one window or of some
selected area, which is a good idea for your task :-).

To print the PNG, just doubleclick the file in Linux,
it will open in Eye of Gnome or whatever other default
graphics viewer you have configured. There you can then
use the print menu item to print the PNG - often with
many config options such as zoom levels and whether to
print the filename at the bottom of the page etc etc.

Inside pure DOS, you can also use GRAPHICS to print
the current graphical screen content, using a driver
built into GRAPHICS. Current support is for ESC/P,
HP PCL and POSTSCRIPT. While you can potentially use
the POSTSCRIPT variant inside DOSEMU, it might need
some extra tuning of your DOSEMU configuration to let
DOSEMU and Linux know that you (GRAPHICS) is sending
already graphical data and not just plain text.

Eric



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Freedos-user mailing list
Freedos-user@...
https://lists.sourceforge.net/lists/listinfo/freedos-user

Re: [Fwd: Full Screen Sized Screen-Dumps]

by Robert J. Thompson :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Eric Auer wrote:
Hi Robert,

  
...program calculates and displays a graph on the screen.
    

Okay I understand more of your problem in Ubuntu now...

If you use lp in Linux or copy ... prn in dosemu, the
latter will basically assume that you want to print a
plain text document. Lp might also support postscript
and maybe PDF. However, if you hit the printscreen key
in dosemu, you will just tell Gnome (of Linux) to store
a screenshot of your whole screen in a PNG file...

You can manually start a screenshot from the Gnome menu
if you want a screenshot of only one window or of some
selected area, which is a good idea for your task :-).

To print the PNG, just doubleclick the file in Linux,
it will open in Eye of Gnome or whatever other default
graphics viewer you have configured. There you can then
use the print menu item to print the PNG - often with
many config options such as zoom levels and whether to
print the filename at the bottom of the page etc etc.

Inside pure DOS, you can also use GRAPHICS to print
the current graphical screen content, using a driver
built into GRAPHICS. Current support is for ESC/P,
HP PCL and POSTSCRIPT.
Eric: Could you please recommend a download site for GRAPHICS? I Googled it and found several but not sure which is preferred. I'm responding to this email in greater detail about the other subjects but continually get sidetracked by day-to-day items. Thanks again for your help-bob T.
 While you can potentially use
the POSTSCRIPT variant inside DOSEMU, it might need
some extra tuning of your DOSEMU configuration to let
DOSEMU and Linux know that you (GRAPHICS) is sending
already graphical data and not just plain text.
  
P.S. This approach also seems worth exploring. What modifications would Imake to the config file? Bob T.
Eric



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Freedos-user mailing list
Freedos-user@...
https://lists.sourceforge.net/lists/listinfo/freedos-user

  


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Freedos-user mailing list
Freedos-user@...
https://lists.sourceforge.net/lists/listinfo/freedos-user

Re: [Fwd: Full Screen Sized Screen-Dumps]

by Eric Auer-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hi Robert,

to find my GRAPHICS for DOS, check our list:

http://www.freedos.org/freedos/software/ - base - graphics

Maybe I should have mentioned the names graphpin, graph-hp
and graph-ps, as graphics is just a wrapper for the tree :-)

>>  While you can potentially use
>> the POSTSCRIPT variant inside DOSEMU, it might need
>> some extra tuning of your DOSEMU configuration to let
>> DOSEMU and Linux know that you (GRAPHICS) is sending
>> already graphical data and not just plain text.
>>  
> P.S. This approach also seems worth exploring. What modifications
> would I make to the config file?

I think .dosemurc in your home directory could contain:

$_printer_options = "%s>/tmp/dosemu.ps"
$_printer_command = "cat"

but it is more likely that this works - default is lp, not XX:

$_printer = "XX XX"

This creates LPT1 and LPT2 as both printing to the Linux
printer called XX, which in turn can be created as some
fake printer which actually prints into a file with some
suitable tweaking of your lpr / lprng / cups configuration.

Actually I do not know how to tweak cups, I only tweaked
one of the older server configs as far as I remember...
Maybe somebody else can give a hint about tweaking :-).

Eric



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Freedos-user mailing list
Freedos-user@...
https://lists.sourceforge.net/lists/listinfo/freedos-user

Re: [Fwd: Full Screen Sized Screen-Dumps]

by Robert J. Thompson :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Eric: Finally back to computer stuff. Downloaded GRAPHICS but unable to unzip. Tried unz551x3.exe (closest thing on referenced site below) but dosen't work?
Also, I have no .dosemurc anywhere on my computer (according to the command "sudo find / -iname '.dosemurc' -print". Please advise ? Bob T.

_______________________________________________________________________________________________________________________________________________________________________________

Eric Auer wrote:
Hi Robert,

to find my GRAPHICS for DOS, check our list:

http://www.freedos.org/freedos/software/ - base - graphics

Maybe I should have mentioned the names graphpin, graph-hp
and graph-ps, as graphics is just a wrapper for the tree :-)

  
 While you can potentially use
the POSTSCRIPT variant inside DOSEMU, it might need
some extra tuning of your DOSEMU configuration to let
DOSEMU and Linux know that you (GRAPHICS) is sending
already graphical data and not just plain text.
  
      
P.S. This approach also seems worth exploring. What modifications
would I make to the config file?
    

I think .dosemurc in your home directory could contain:

$_printer_options = "%s>/tmp/dosemu.ps"
$_printer_command = "cat"

but it is more likely that this works - default is lp, not XX:

$_printer = "XX XX"

This creates LPT1 and LPT2 as both printing to the Linux
printer called XX, which in turn can be created as some
fake printer which actually prints into a file with some
suitable tweaking of your lpr / lprng / cups configuration.

Actually I do not know how to tweak cups, I only tweaked
one of the older server configs as far as I remember...
Maybe somebody else can give a hint about tweaking :-).

Eric



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Freedos-user mailing list
Freedos-user@...
https://lists.sourceforge.net/lists/listinfo/freedos-user

  


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Freedos-user mailing list
Freedos-user@...
https://lists.sourceforge.net/lists/listinfo/freedos-user

Bridge network for Freedos in dosemu (linux platform)

by Larry-36 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'm unable to get a bridge network setup working for Freedos in dosemu. If I install Freedos in qemu then networking comes right up. But in qemu, Freedos runs about 1/4 as fast.

Has anyone had luck getting Freedos to network from within dosemu?  If so, how did you do it?


     


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Freedos-user mailing list
Freedos-user@...
https://lists.sourceforge.net/lists/listinfo/freedos-user

Re: [Fwd: Full Screen Sized Screen-Dumps]

by Robert J. Thompson :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Eric Auer wrote:

> Hi Robert,
>
> to find my GRAPHICS for DOS, check our list:
>
> http://www.freedos.org/freedos/software/ - base - graphics
>
> Maybe I should have mentioned the names graphpin, graph-hp
> and graph-ps, as graphics is just a wrapper for the tree :-)
>
>  
>
Eric: Found the '.dosemurc' file as '/etc/.dosemu/dosemu.conf'. Am
working on that now. Thanks - Bob T.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Freedos-user mailing list
Freedos-user@...
https://lists.sourceforge.net/lists/listinfo/freedos-user

Re: [Fwd: Full Screen Sized Screen-Dumps]

by Robert J. Thompson :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Eric Auer wrote:
> Hi Robert,
>
> Eric
>
>  
Eric: New (recurring) problem - I can't post : bounced with message:

   "Message has implicit destination".

As there are no othet recipients (copies to anyone) I must have the
wrong address. Is this correct:
" freedos-user"@lists.sourceforge.net" ? I have no clue please advise -
Bob T.

>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Freedos-user mailing list
> Freedos-user@...
> https://lists.sourceforge.net/lists/listinfo/freedos-user
>
>  

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Freedos-user mailing list
Freedos-user@...
https://lists.sourceforge.net/lists/listinfo/freedos-user

Re: [Fwd: Full Screen Sized Screen-Dumps]

by dos386 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> How do I get a full sized screen dump from inside an application program?

FYI, you can get a full sized screen dump from inside an application program
using DOS also :-)

> I am using Ubuntu 8.04, and dosemu 1.4.0.0

I don't, sorry ...



--
~~~ wow ~~~

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Freedos-user mailing list
Freedos-user@...
https://lists.sourceforge.net/lists/listinfo/freedos-user

Re: [Fwd: Full Screen Sized Screen-Dumps]

by Robert J. Thompson :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

dos386 wrote:
How do I get a full sized screen dump from inside an application program?
    

FYI, you can get a full sized screen dump from inside an application program
using DOS also :-)

  
I am using Ubuntu 8.04, and dosemu 1.4.0.0
    

I don't, sorry ...



  
Hi: I have a similar /related problem. My application program draws a full screen graph in several colors. When I hit "PRINTSCREEN", the result is a widow size dump. about 2"x3". I would like a full 8.5"x11" dump (less some small margins of course). Is this even possible? Do I need a special driver-like program? Thanks in advance - Bob T.

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Freedos-user mailing list
Freedos-user@...
https://lists.sourceforge.net/lists/listinfo/freedos-user