Hello Javier,
Hello Albert,

you all seem to have worked hard on workarounds already.
I will try to avoid the workaraound and check with the dream team if there
is a chance for it,
because .... everything is possible with Rbase !
Thank´s for all your info.
Fritz

-----Ursprüngliche Nachricht-----
Von: [email protected] [mailto:[email protected]] Im Auftrag von Albert
Berry
Gesendet: Montag, 26. Mai 2014 19:34
An: RBASE-L Mailing List
Betreff: [RBASE-L] - RE: AW: [RBASE-L] - RE: AW: [RBASE-L] - RE: PrintForm

As a tool I use to create manuals, I create a directory [ScreenSnaps] off
the database development directory, and in the form ON AFTER START eep I put
the following code:

   SET VAR fScreenSnapName TEXT = ('Screensnaps\'+.RBTI_FORM_FORMNAME +
'.jpg')
   PROPERTY RBASE_FORM CAPTURE_FROM_WINDOW .fScreenSnapName

This gives me a picture of the form as it runs when opened. I find this
quite handy.
Albert

On 5/26/2014 11:09 AM, Javier Valencia wrote:
> Fritz,
>
> I seem to remember running into the same problem where I could not get 
> it to print the entire screen but I believe that issue was resolved.
> In any case, my workaround was to grab the screen into a JPG file and 
> create a generic report that prints the selected screen.
>
> --Define the variable to hold the JPG file name
>
> SET VAR vImageEU = (.vuser_id + '.JPG')
>
> -- The code below captures the portion of the screen you select based 
> on the coordinates you specify.
> -- You can specify a variable or the actual file name for the JPG 
> output file
>
> PROPERTY RBASE_FORM 'CAPTURE_FROM_WINDOW|365,228,915,625' &vImageEU
>
> -- If you prefer, the code in the next line captures the entire screen
> -- PROPERTY RBASE_FORM CAPTURE_FROM_WINDOW 
> 'c:\RAMSX\jvalencia_emp_graph.jpg'
>
> SET VAR vimage = (.vImageEU)
>
> -- The report below simply has a placeholder for the JPG file PRINT 
> ScreenShotReport OPTION SCREEN|Window_State MAXIMIZED
>
> DELETE &vImageEU
>
> The code above gives you a generic way of printing a screen. You can 
> saved as a stored procedure or in table and the run it from anywhere using
the:
>
> RUN SELECT CmdData FROM IntCmd WHERE CmdName = 'PrintScreen'
>
> For the command above, the code is stored in a table called IntCmd 
> that has two columns:
>
> CmdName - Sores the name of the procedure CmdData - Store the actual 
> code to capture the screen and print the report as presented d above.
>
> Hopefully the information above will give an easy workaround. Once you 
> have it figured out it is pretty simple.
>
> Javier,
>
> Javier Valencia, PE
> O: 913-829-0888
> H: 913-397-9605
> C: 913-915-3137
>
> -----Original Message-----
> From: [email protected] [mailto:[email protected]] On Behalf Of Dr. 
> Fritz Luettgens
> Sent: Monday, May 26, 2014 11:00 AM
> To: RBASE-L Mailing List
> Subject: [RBASE-L] - AW: [RBASE-L] - RE: AW: [RBASE-L] - RE: Print 
> Form
>
> Hi Paul,
> exactly !
> "Will print currently displayed form image to the current printer." ....
> ... and not the half of it :)
> Fritz
>
> -----Ursprüngliche Nachricht-----
> Von: [email protected] [mailto:[email protected]] Im Auftrag von Paul 
> Buckley
> Gesendet: Montag, 26. Mai 2014 17:46
> An: RBASE-L Mailing List
> Betreff: [RBASE-L] - RE: AW: [RBASE-L] - RE: Print Form
>
> Fritz,
>
> Looking at the description of this function in R:DOCS it says "Will 
> print currently displayed form image to the current printer.". It 
> seems to me it is doing exactly what it says it will. As Adrian said, 
> All I have ever used this for is a "quick screen shot" not expecting 
> to get everything, if I need everything I include a button to print a
report.
>
> Just my two cents worth,
> Paul Buckley
>
>
>
> -----Original Message-----
> From: [email protected] [mailto:[email protected]] On Behalf Of Dr. 
> Fritz Luettgens
> Sent: Monday, May 26, 2014 8:50 AM
> To: RBASE-L Mailing List
> Subject: [RBASE-L] - AW: [RBASE-L] - RE: Print Form
>
> Hi Adrian,
> nice work around :)
> but, if the tool is offered it should work accordingly, because the 
> screen shot in Win is not sufficient.
> Reason: you can scale the form "frame", but the content does not scale 
> with it.
> (you could use a snipping tool)
>
> Therefore
>
> PRNSETUP
> PROPERTY RBASE_FORM PRINT "PRINTER"
> RETURN
>
> is a necessary tool for work
> (if it works :)
>
> Thank´s
> Fritz
>
> -----Ursprüngliche Nachricht-----
> Von: [email protected] [mailto:[email protected]] Im Auftrag von 
> Adrian Hüssy
> Gesendet: Montag, 26. Mai 2014 14:21
> An: RBASE-L Mailing List
> Betreff: [RBASE-L] - RE: Print Form
>
> The screenshots with this command are not scaled so far.
>
> That's why I use PROPERTY RBASE_FORM PRINT "PRINTER" for warnings and 
> exception-handlings only to give the user the possibility to print an 
> important message.
>
> As the command only print visible rows of grids by definition, the 
> user doesn't get the full information, mostly it's more efficient to 
> add a small report for printing.
>
> Best Regards
> Adrian
>
>> -----Ursprüngliche Nachricht-----
>> Von: [email protected] [mailto:[email protected]] Im Auftrag von Dr.
>> Fritz Luettgens
>> Gesendet: Montag, 26. Mai 2014 12:11
>> An: RBASE-L Mailing List
>> Betreff: [RBASE-L] - Print Form
>>
>> Rbase95_64
>> WIn7
>> Topic: print form
>> Theme: Razzmatazz
>> Type: enhanced dbgrid
>> Column size in dbgrid: set to values, not autosize
>>
>>
>> Hi,
>> just want to print a form with the following EEP:
>>
>> PRNSETUP
>> PROPERTY RBASE_FORM PRINT "PRINTER"
>> RETURN
>>
>> (EU = ", US=´)
>>
>> Well, it prints, but only, say about 75% of the width from left to right.
>> (right side of the form "frame" is cut off) I tried all tricks with 
>> my
> printer like:
>> - paper size: horizontal
>> - scale down to 50% a.s.o
>> - there is enough available space on the paper itself
>>
>> Works all well but still prints me only 75% of my form "frame".
>> On the printout the  "frame" of my form stays cut off from the right
side.
>>
>> What do I miss here ?
>>
>> Thank´s
>> Fritz
>>
>> --- RBASE-L
>> =======================3D=======================
>> D=
>> TO POST A MESSAGE TO ALL MEMBERS:
>> Send a plain text email to [email protected]
>>
>> (Don't use any of these words as your Subject:
>> INTRO, SUBSCRIBE, UNSUBSCRIBE, SEARCH, REMOVE, SUSPEND, RESUME, 
>> DIGEST, RESEND, HELP) 
>> =======================3D=======================
>> D=
>> TO SEE MESSAGE POSTING GUIDELINES:
>> Send a plain text email to [email protected] In the message SUBJECT, 
>> put just one word: INTRO 
>> =======================3D=======================
>> D=
>> TO UNSUBSCRIBE:
>> Send a plain text email to [email protected] In the message SUBJECT, 
>> put just one word: UNSUBSCRIBE 
>> =======================3D=======================
>> D=
>> TO SEARCH ARCHIVES:
>> Send a plain text email to [email protected] In the message SUBJECT, 
>> put just one word: SEARCH-n (where n is the number of days). In the 
>> message body, place any text to search for.
>> =======================3D=======================
>> D=
>>
>
>


Reply via email to