Screen Dump to printer

For a 1280x1024 screen, I build (it takes up to 5 minutes each to build) a 1272x876 one-bit-per-pixel set of graphs on each BufferedImage and would like to print selected BufferedImages to my laser printer (which I believe prints at 600 dots per inch). A 10.6"x7.3" ImageableArea would work with 1" bottom margin and 0.2" margin on the other sides. At 120 dots per inch this would be the 1272x876 that I mentioned, a 5x5 printer dot taking one screen dot. (In Landscape, 10.6"x7.3" at 120 pix/in figures to be 1272x876 on 1320x1020 paper at (24,120); 24+1272+24=1320; 120+876+24=1020;)
Now, the Java environment is very large and hard to find stuff in, and I cannot find classes to print this BufferedImage in a reasonably simple manner. I find a class that takes only fixed constant dot size (my teacher taught me not to do that kind of programming) of 1/72 inch which doesn't match either hardware at all in any manner.
Also I cannot find classes that will tell me the specifications of the default printer or the screen so I can decide at run-time. It seems that I cannot do the simple things with Java that could be done 40 years ago. Though I like the added capabilities, I don't appreciate the apparent removal of simple capabilities. Please show me that I am wrong, and that there is at least a way, hopefully simple, to do the simple operation.

I was looking around the web where I saw statements like "100 dots/inch looks good on the screen, but jagged on paper". So I thought this over a little more and believe I should build the graph sets at 600 dots/inch and scale them to 120 dots per inch (the 1272x876). Trouble is I don't know how to get at the pixels because I don't know how they are laid out in the BufferedImage. After that, I don't know how to print the BufferedImage to matching the printer pixels.

Similar Messages

  • How can I do a screen dump on my Mac?

    I am trying to print off a list of tracks from iTunes but if I copy and paste into Word it doesn't print in proper order so I'm now trying to do a screen dump but can't remember how to do it.  Can anyone help please?

    A screen shot? Click here on the proper instructions. Or, are you wanting just the text, not picture?

  • Dump when printing

    Hi,
    getting dump  when using 'Print' command. the dump details are:
    in debugging it is stopping a method for 'TOP OF PAGE'
    I have used the FM for top page CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
           EXPORTING
                it_list_commentary = vt_list_top_of_page.
    The current statement only supports character-type data objects.
    What happened?
    The current ABAP/4 program "SAPLKKBL " had to be terminated because
    one of the statements could not be executed.
    This is probably due to an error in the ABAP/4 program.
    What can you do?
    Note the actions and input that caused the error.
    Inform your SAP system administrator.
    You can print out this message by choosing "Print". Transaction ST22
    allows you to display and manage termination messages, including keeping
    them beyond their normal deletion date.
    Error analysis
    In statement
       "STRLEN( obj )..."
    the argument "obj" can only take a character-type data object.
    In this case, the operand "obj" has the non-character type "P".
    How to correct the error
    If the error occurred in a non-modified SAP program, you may be
    able to find a solution in the SAP note system.
    If you have access to the note system yourself, use the following
    search criteria:
    "OBJECTS_NOT_CHARLIKE"
    "SAPLKKBL " or "LKKBLF99 "
    "GEN_FIELD_OUT2"
    f you cannot solve the problem yourself, please send the
    ollowing documents to SAP:
    . A hard copy print describing the problem.
      To obtain this, select the "Print" function on the current screen.
    . A suitable hardcopy prinout of the system log.
      To obtain this, call the system log with Transaction SM21
      and select the "Print" function to print out the relevant
      part.
    . If the programs are your own programs or modified SAP programs,
      supply the source code.
      To do this, you can either use the "PRINT" command in the editor or
      print the programs using the report RSINCL00.
    . Details regarding the conditions under which the error occurred
      or which actions and input led to the error.
    please help me

    Hi Sri!
    The REUSE_ALV* function modules can not run in update task (there is a call screen included) - your printing seems to be in an update task (e.g. when you have a message output '4 - immediate').
    Check, if it's possible to run this in background (in case of messages with 1 / 2: by job), otherwise you need to remove the FM module - no other help, sorry.
    Regards,
    Christian

  • Screen dump of JPanel to Image

    I'm working on an extensive error dialog which will send all relevant information to a support apparatus. This includes collecting the stack-trace received from the exception, java console log and a screen dump of the underlying JPanel.
    The dialog is a modal dialog residing on top of the JPanel in question. I can retreive the parent panel's Graphics object and need to print the JPanel with all it's children to an Image object.
    This should be possible, but how?
    Another thing, is the java console available from the client code? The code runs as an applet on Windows clients.

    I've never tried this, but the idea I have is to create a BufferedImage, and getGraphics() of the BufferedImage. Now call paint() of the JPanel and pass it the graphics object.
    Maybe you also have to pre-obtain the height/width of the JPanel for the size of the Image.

  • Screen dump when posting debit balances to an expense account

    dear experts.
    A screen dump is produced when saving or posting debit balances to expense accounts for only certain periods and for a certain fiscal year in this case year 2006. what might be the problem. can the problem be solved form the ABAP side or FI side?
    its urgent

    below is part of the screen dump:
    ABAP/4 runtime error                                                            DBIF_RSQL_SQL_ERROR
                        Occurred on                                        26.02.2007                              at          08:26:04
    >> Short dump has not been completely stored. It is too big.
    SQL error 1438 occurred when accessing table "GLT0 ".
    What happened?
    When writing a data record to the database (i.e. when
    updating the database), only part of the data field was
    written (updated). The rest was truncated.
    What can you do?
    If the error occurred in Open SQL, there is probably an inconsistency
    between the NAMETAB and the ABAP/4 Dictionary.
    Compare the length specifications of the fields in the NAMETAB with
    those in the ABAP/4 Dictionary and contact someone who is able to
    perform a consistency check and eliminate the problem.
    In most cases, this person will be your SAP consultant.
    Please make a note of the actions and input which caused the error.
    To resolve the problem, contact your
    SAP system administrator.
    Select the "Print" function to obtain a hardcopy of the
    current termination message.
    Error analysis
    The problem has arisen because, within the database interface,
    one of the data buffers made available for the INSERT (UPDATE)
    is longer than the maximum defined in the database.
    On the other hand, it may be that the length in the NAMETAB
    does not match the maximum length defined in the database.
    (In this case, the length in the NAMETAB is longer.)
    How to correct the error
    Database error text........: "ORA-01438: value larger than specified precision
    allows for this column?"
    Internal call code.........: "[RSQL/UPDT/GLT0 ]"
    Please check the entries in the system log (Transaction SM21).
    You may able to find an interim solution to the problem in the
    SAP note system. If you have access to the SAP note system yourself,
    please use the following search criteria:
    "DBIF_RSQL_SQL_ERROR"
    "SAPLGIVA" or "LGIVAF10"
    "UPDATE_TT_GLT0"
    If you cannot solve the problem yourself, please send the
    following documents to SAP:
    1. A hard copy print describing the problem.
       To obtain this, select the "Print" function on the current screen.
    2. A suitable hardcopy prinout of the system log.
       To obtain this, call the system log with Transaction SM21
       and select the "Print" function to print out the relevant
       part.
    3. If the programs are your own programs or modified SAP programs,
       supply the source code.
       To do this, you can either use the "PRINT" command in the editor or
       print the programs using the report RSINCL00.
    4. Details regarding the conditions under which the error occurred
       or which actions and input led to the error.
    System environment
    SAP Release.............. "31H"
    Application server....... "umprod"
    Network address.......... "10.1.1.9"
    Operating system......... "Windows NT"
    Release.................. "0"
    Hardware type............ "PENTIUM"
    Database server.......... "UMPROD"
    Database type............ "ORACLE"
    Database name............ "UMP"
    Database owner........... "SAPR3"
    Character set............ "English_United State"
    SAP kernel............... "31I"
    Created on............... "Jun 21 1999 04:44:28"
    Created in............... "NT 4.0 1381 Service Pack 3 x86"
    Database version......... "ora OCI_73211"
    Patch level.............. "315"
    Patch text............... " "
    Supported environment....
    Database................. "ORACLE 7.2..., ORACLE 7.3..., ORACLE
    8.0...*"
    SAP database version..... "31I"
    Operating system......... "Windows NT 51 3, Windows NT 0 4"
    User, transaction...
    Client.............. 600
    User................ "HAVIREO"
    Language key........ "E"
    Transaction......... "FB01"
    Program............. "SAPLGIVA"
    Screen.............. "RSM130003000"
    Screen line......... 2
    Information on where termination occurred
    The termination occurred in the ABAP/4 program "SAPLGIVA" in
    "UPDATE_TT_GLT0".
    The main program was "RSM13000".
    The termination occurred in line 542
    of the source code of program "LGIVAF10" (when calling the editor 5420).
    The program "SAPLGIVA" was started in the update system.
    Source code extract
    005120                               HSL10  = HSL10  + TAB_GLT0-HSL10
    005130                               KSL10  = KSL10  + TAB_GLT0-KSL10
    005140                               TSL11  = TSL11  + TAB_GLT0-TSL11
    005150                               HSL11  = HSL11  + TAB_GLT0-HSL11
    005160                               KSL11  = KSL11  + TAB_GLT0-KSL11
    005170                               TSL12  = TSL12  + TAB_GLT0-TSL12
    005180                               HSL12  = HSL12  + TAB_GLT0-HSL12
    005190                               KSL12  = KSL12  + TAB_GLT0-KSL12
    005200                               TSL13  = TSL13  + TAB_GLT0-TSL13
    005210                               HSL13  = HSL13  + TAB_GLT0-HSL13
    005220                               KSL13  = KSL13  + TAB_GLT0-KSL13
    005230                               TSL14  = TSL14  + TAB_GLT0-TSL14
    005240                               HSL14  = HSL14  + TAB_GLT0-HSL14
    005250                               KSL14  = KSL14  + TAB_GLT0-KSL14
    005260                               TSL15  = TSL15  + TAB_GLT0-TSL15
    005270                               HSL15  = HSL15  + TAB_GLT0-HSL15
    005280                               KSL15  = KSL15  + TAB_GLT0-KSL15
    005290                               TSL16  = TSL16  + TAB_GLT0-TSL16
    005300                               HSL16  = HSL16  + TAB_GLT0-HSL16
    005310                               KSL16  = KSL16  + TAB_GLT0-KSL16
    005320                           WHERE
    005330                           RLDNR                   =  TAB_GLT0-RLDNR                  AND
    005340                           RRCTY                   =  TAB_GLT0-RRCTY                  AND
    005350                           RVERS                   =  TAB_GLT0-RVERS                  AND
    005360                           BUKRS                   =  TAB_GLT0-BUKRS                  AND
    005370                           RYEAR                   =  TAB_GLT0-RYEAR                  AND
    005380                           RACCT                   =  TAB_GLT0-RACCT                  AND
    005390                           RBUSA                   =  TAB_GLT0-RBUSA                  AND
    005400                           RTCUR                   =  TAB_GLT0-RTCUR                  AND
    005410                           DRCRK                   =  TAB_GLT0-DRCRK                  AND
              >                 RPMAX                   =  TAB_GLT0-RPMAX                  .
    005430                         ENDFORM.
    005440                         *eject
    005450                         *                                                                                                                                            *
    005460                         *
    005470                         *                                                                                                                                            *
    005480                         *         FORM UPDATE_TT USING  UTP_TAB.
    005490                         *         Diese Form fuehrt die Tabellenupdates durch
    005500                         *         Dabei wird die optimierte Form von UPDATE
    005510                         *         verwendet
    005520                         *                                                                                                                                            *
    005530
    005540                         FORM  UPDATE_TT_GLT3      .
    005550                           DATA: W_0  LIKE GLU1-TSL VALUE 0.
    005560                           UPDATE GLT3
    005570                           SET TSLVT  = TSLVT  + TAB_GLT3-TSLVT
    005580                               HSLVT  = HSLVT  + TAB_GLT3-HSLVT
    005590                               KSLVT  = KSLVT  + TAB_GLT3-KSLVT
    005600                               TSL01  = TSL01  + TAB_GLT3-TSL01
    005610                               HSL01  = HSL01  + TAB_GLT3-HSL01

  • Vista SP2 BUGCode error blue screen dump

    I haven't had a days problem with my PC for almost 2 years.  Keep up with updates routinely.  Installed SP2 and now get blue screen dumps.
    Been working with Microsoft for a week.  Have isolated a USB Generic HUB driver if disabled I do not dump.  Driver appears to be related to internal fingerprint reader that uses digital persona sw.
    tried updating the driver an no good.  Any ideas?
    Apparently there is an issue with HP's and this upgrade on PC using Nvidia controllers.  Suppose to have an unpublished hotfix but the file was empty.
    Since it is related to Digital Persona (i think) microsoft won't be able to help anymore.
    JP5

    Benn working with Microsoft support for free they have put in over 20 hours on this.  We have traced ti to the finger print reader from authen Tec and my HP all in one C7280.  If the reader is enabled and you plug in the printer it will crash within 20".  If I disable the reader I can plug in the printer,
    Prior to SP2 it ran fine.  Microsoft is reluctant to remove SP2 and I am not happy with HP as their software updater is te one that told me to install it and they want to charge for telephone support even though it is apparant it is a driver from their 3rd party software.  they said to update bios which I did and it did nothing.
    JP5

  • Does the 10.5 have a screen dump function?

    Hi all.
    A Mac 10.5, does it have a screen dump/print mode activated by a keyboard short cut?
    If so, what is the key combination?
    If not, is there a program out there (preferably a freebie) that serves this function.
    I do have such a program for my Windows machine (not a freebie) called "Snagit" but my program does not work on a Mac.
    Regards

    Old Toad wrote:
    give SnapX Pro a try.
    Oh, I've been a licensed SnapzProX user since well back into the OS 9 days.
    I was just explaining to nerowolfe why such utilities are even necessary.
    The screencapture terminal solution is nice to know about. It might help the original poster. There are some features in there I didn't know about (though they don't seem to be available in the horrible OS X Grab utility). Older versions of the built in OS X screen capture had trouble capturing the cursor of certain apps, while SnapzProX could do it. But the OS X feature seems to work now, at least from the Terminal.
    However, I will never use it. I prefer to use something with a GUI on it, since a big reason I started using the Mac was to get away from the MS-DOS command line, since the Mac was "the computer for the rest of us." SnapzProX is the most efficient current solution for my needs. Even then, SnapzProX's own aging interface is under attack from an innovative new range of Mac screen recording utilities that will hopefully force SnapzProX to undergo a badly needed modernization. This is probably a level of screen capture that's well beyond what the original poster needs.
    There are quite a few freeware/shareware screen capture apps on the Mac, like SnapNDrag, but the reason lots of Mac users (not just me) make a conscious and researched decision to buy utilities like SnapzProX is that the free utilities +do no more than+ add a GUI to screencapture, while the more advanced utilities add a layer or two of productivity-friendly functionality that make their fees worth it because of the time and trouble they save.
    All depends on what you need.

  • Screen Dumps - Reducing the size

    Hi. I am doing up a User Guide and need to use a load of
    screen dumps of the software. I do 'Print Screen" Command and the
    paste into Fireworks. I then reduce the image down. However, all
    the pixels start to look very bad and i cannot get a nice picture
    to post into Framemaker. I can actually past the screen dump into
    Word, reduce it, and it seems to maintain the pixel qulity.
    Any assistance would be appreciated. NOTE: Framemaker or
    Photshop forum was not up and running, hence i come here.

    On Thu, 29 Mar 2007 12:47:55 +0400, vndunne
    <[email protected]>
    wrote:
    > Hi. I am doing up a User Guide and need to use a load of
    screen dumps of
    > the
    > software. I do 'Print Screen" Command and the paste into
    Fireworks. I
    > then
    > reduce the image down. However, all the pixels start to
    look very bad
    > and i
    > cannot get a nice picture to post into Framemaker. I can
    actually past
    > the
    > screen dump into Word, reduce it, and it seems to
    maintain the pixel
    > qulity.
    > Any assistance would be appreciated. NOTE: Framemaker or
    Photshop
    > forum was
    > not up and running, hence i come here.
    First thing you forgot to mention is: what is the supposed
    output? Is your
    Guide supposed to be printed, or viewed on screen? This is
    something of
    major importance.
    Ilya Razmanov
    http://photoshop.msk.ru -
    Photoshop plug-in filters

  • How do I perform a screen capture to print or save?

    How do I perform a screen capture to print or save?

    Press the Shift, Command, and 3 keys to capture the whole screen.
    Press the Shift, Command, and 4 keys to capture a draggable part of the screen, or follow it with the spacebar to capture a window.
    Open the PNG on the desktop. Alternatively, combine either of the above with the Control key to put the screenshot onto the clipboard instead of the desktop.
    (116647)

  • Installed Itunes: New PC, Windows 7 x64, updated ipod software, click to eject ipod, PC goes to blue screen, dumps data, restarts; songs do not play correctly on ipod. IE: play a song - only first few seconds will play. Some songs play fully, some do not.

    Installed Itunes: New PC, Windows 7 x64, updated ipod software, click to eject ipod, PC goes to blue screen, dumps data, restarts; songs do not
    play correctly on ipod. IE: play a song - only first few seconds will play. Some songs play fully, some do not.

    Hi just wanted to let you know I solved most of my XP problems with my new IPOD. It won't recognise the IPOD or driver and froze and locked up and then the battery died. After hours of trying different things here is what I did. I completly closed computer down. Waited 15 minutes turned on and reloaded everything. I put the usb cable in but not hooked up to IPOD. I turned off Mcaffee (all of it). After my computer came on. I then went and closed everything I didn't need in the bottom toolbar. (taskbar). I then reloaded the software and waited. Took forever to reload and I don't know why but whatever it worked but I DID NOT HOOK UP THE IPOD LIKE IT SAID! I instead shut down the computer after loading the software and waited 5 minutes and turned it back on. I again waited and shut of mcaffee. It loaded everything fine this time and said new hard ware and drivers detected. I plugged my IPOD in and YES I WAS UP AND RUNNING (THIS IS AFTER 6 HOURS OF PLAYING WITH OTHER THINGS!) I am able to load and play, burn, watch movies, see pictures and everything your suppose too! The only thing I see different than the instructions is I left my usb cable plugged in and when it said to eject the disk I didn't. I also didn't plug in the IPOD (5th Gen) and then I shut down waited and then restarted the computer. I hope this helps others because I know the feeling of wanting to return something you paid dearly for and worked hard at saving money to buy one and it doesn't work. My only thing I dislike about apple is they didn't supply a ac adapter for the IPOD and the instructions say to plug it up when trying to charge battery. DUHHHHHH, ya can't do that if ya don't have one and stores are closed and won' open until Monday! But at least I am up and running. I just hate having to plug up IPOD to computer daily to charge the battery which only last a half a day1

  • Hi When going from Develop module to print module a white boarder appears on screen which also prints via my epson r3000 printer. I can get round this by exporting photo to Elements and printing from there but can i get rid of the boarder and print from l

    Hi When going from Develop module to print module a white boarder appears on screen which also prints via my epson r3000 printer. I can get round this by exporting photo to Elements and printing from there but can i get rid of the boarder and print from lightroom?

    In the printer driver (accessed through the Page Setup button) set the Advanced tab to borderless. Then in the right hand panel under Layout set all the margins to zero.

  • CATS Screen dumps when navigating between prev and foll weeks in ESS portal

    The medical leave absence type MEDICAL LEAVE @1/2 PAY(13) is the only allowed by time administrators to enter through transaction CAT2 and not through ESS. Once entered,this appears in your time entry in ESS as a disabled entry. However once you navigate between the previous or the following weeks, after this entry appears in your screen, the screen dumps.
    SAP allows this functionality where time entries can be maintained for an employee through CAT2 on ERP side with an absence type not available in ESS portal.
    The following is the dump analysis from ST22.
    An exception occurred that is explained in detail below.                                      |
    The exception, which is assigned to class 'CX_SY_RANGE_OUT_OF_BOUNDS', was not
    caught in
    procedure "PROCESS_TIMESHEET" "(METHOD)", nor was it propagated by a RAISING
    clause.
    Since the caller of the procedure could not have anticipated that the
    exception would occur, the current program is terminated.
    The reason for the exception is:
    In the running program "CL_XSS_CAT_RFC_COMMAND_TOOLS==CP", part of a string was
    about to be accessed
    with an explicitly specified length.
    However, this length (4) exceeded the current length of the string
    (3).
    |    This kind of access is illegal. 
    Kindly suggest.

    The latest note released by SAP to solve this issue is 1559416 CATS WD: Dump if Attendance/Absence type is deactivated  .It works !

  • How can I do a screen dump and paste into a word doc?

    I need to screen dump and paste into a word doc

    Abduction!: https://addons.mozilla.org/firefox/addon/3408
    FireShot: https://addons.mozilla.org/firefox/addon/5648
    Screenshot Pimp: https://addons.mozilla.org/firefox/addon/12985
    Screengrab: https://addons.mozilla.org/firefox/addon/1146

  • I customize my paper size and print size and am then viewing a photo on my screen. I print it out and it chops off about 5% of all edges of my original photo on the screen. Why does it do that? It is driving me crazy. I use an Epson Photo 2200 printer.

    I customize my paper size and print size and am then viewing a photo on my screen. I print it out and it chops off about 5% of all edges of my original photo on the screen. Why does it do that? It is driving me crazy. I use an Epson Photo 2200 printer

    What print and paper sizes are you using?  Are you trying to print a borderless print?  Does your printer support borderless for that particular size?  Are you printing to the custom stock size or to a larger stock size?
    OT

  • Pasting screen dump into Photoshop

    Pasting a screen dump into Photoshop makes it lighter. Like a milky filter. Anyone had this issue?

    A quick "fix" would t set proof preview to Monitor RGB. Beyond that read up on Gamma and color management. PS is a color managed app and inserting unmanged content will almost always result in color differences unless your system is perfectly calibrated.
    Mylenium

Maybe you are looking for

  • Can I use my Macbook Air with my apple TV?

    I have just purchased and Apple TV box to use with my phone and Ipad. I was just wondering is i can also use my macbook air (late 2010) with it as well. I can stream my itunes through the apple tv and play all my songs but i was wondering if I could

  • Error with Parent-Child Hierarchies in BIEE11.1.1.5

    Hi , I am using BIEE11.1.1.5, I have created a Logical Dimensions with Parent-Child Hierarchies, In answer,I draged the Hierarchies named 'H5 Sales Rep', then view the results, It has error,error message as follows: Odbc driver returned an error (SQL

  • Computer email issues

    Trying to send email but my send button is grayed out and also when I add the name I get and x next to the name. Can you help me out with this/ Please

  • Help on Setting up Web Cache.

    Hi, I need help for setting up OAS Web Cache, whether the following setup is correct. I’m new to this. When I login to http://server2.domain.com:8300/appname1/, the display URL is changed to http://server2.domain.com:7778/appname1/. However there is

  • Motion how to create 3d effect with a background and one primary object

    motion how to create 3d effect with a background and one primary object