AnsweredAssumed Answered

vrf Printing from VEE runtime

Question asked by VRFuser on Jun 26, 2003
Thanks for all the suggestions, I will try some of them out to see out what
works for my project.

Regards,

Morten
Morten Cramer Larsen, digitalBlue
Bygaden 38
9000 Aalborg- DK
www.digitalBlue.dk
morten@digitalblue.dk
tel: +45 9811 1258
mob: +45 4032 2795

----- Original Message -----
From: <bill.ossmann@philips.com>
To: "VEE vrf" <vrf@it.lists.it.agilent.com>
Sent: Thursday, June 26, 2003 3:41 PM
Subject: [vrf] RE: Printing from VEE runtime


> Since we're starting the "not so simple" suggestions, how about writing
out the report as HTML? You'll need a browser to print it, but just try to
find a PC without one.
>
> --
> Bill Ossmann
> Philips Ultrasound
> e-mail:  bill.ossmann@philips.com
>
>
>
>
>                                                    To:   "VEE vrf"
<vrf@it.lists.it.agilent.com>
>                                                    cc:   (bcc: Bill
Ossmann/ANR/MS/PHILIPS)
>                                                    Subject:    [vrf] RE:
Printing from VEE runtime
>
>                "Shawn Fessenden"                   Classification:
>                <shawn@testech-ltd.com>
>
>                06/25/2003 20:42
>                Please respond to "Shawn
>                Fessenden"
>
>
>
>
>
>
> Morten -
>
> > I have a question regarding printout
> > from VEE runtime, I remember that there
> > was some dicussions about this some
> > time ago, but am not sure it covers my
> > problem, which I think is somewhat simple.
>
> Probably the easiest thing to do would be to compose a panel specifically
> for your printer output. Use Labels or Alphanumerics for your text, and a
> Picture object for your bitmap. Under File->Default Preferences on the
> Printing tab you can set the printer magnification. Show the panel and use
a
> PrintScreen object. Play with it til you get it right.
>
> If you don't want to have to rely on Word, maybe you could use something a
> little less heavy-duty. Crystal Reports for instance? It would be a good
> idea to explore all these options before falling back on...
>
> My next suggestion is not so simple, but it can be done: if you can't rely
> on any Automation Server to compose and print for you, you *can* just use
> the Windows GDI to print whatever you want to wherever you want. In a
simple
> scenario, the printer surface is quadrant 3 of a Cartesian plane. You can
> use whatever fonts, sizes and colors you want, but the difficult part is
> that you get only rudimentary formatting from Windows. The most you can
hope
> for is to print a block of text in one font, size and color in a specific
> rectangle. Other than that, you're pretty much on your own as far as text
> placement goes. Printing a bitmap is easy, but getting a bitmap is kind of
a
> bear.
>
> These operations don't really lend themselves well to the VEE programming
> paradigm. What I usually wind up doing is creating VEE wrapper functions
for
> the Windows API calls and then writing a big block of what looks like C in
a
> Formula object. The advantage of doing things this way is that it's
> guaranteed to work on any Windows installation, no matter what, without
any
> additional stuff. The drawback is that for all intents and purposes you're
> actually doing API programming in what might as well be pure C - and that
> takes some getting used to.
> -SHAWN-
>
>
> ---
> You are currently subscribed to vrf as: bill.ossmann@philips.com
> To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
> To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
> To send messages to this mailing list,  email
"vrf@it.lists.it.agilent.com".
> If you need help with the mailing list send a message to
"owner-vrf@it.lists.it.agilent.com".
>
>
>
>
>
>
> ---
> You are currently subscribed to vrf as: morten@digitalblue.dk
> To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
> To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
> To send messages to this mailing list,  email
"vrf@it.lists.it.agilent.com".
> If you need help with the mailing list send a message to
"owner-vrf@it.lists.it.agilent.com".
>


---
You are currently subscribed to vrf as: rsb@soco.agilent.com
To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list,  email "vrf@it.lists.it.agilent.com". 
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".

Outcomes