Index
2014-04-02 10:09 – Wes Wilson : Printing to a file using question marks
2014-04-02 10:17 – Peter Cushing : Re: Printing to a file using question marks
2014-04-02 10:22 – Alan Bourke : Re: Printing to a file using question marks
2014-04-02 10:40 – Gianni Turri : Re: Printing to a file using question marks
2014-04-02 14:10 – Joe Yoder : Re: Printing to a file using question marks
2014-04-03 06:46 – Gérard Lochon : Re: Printing to a file using question marks
Back to top
Printing to a file using question marks

Author: Wes Wilson

Posted: 2014-04-02 10:09:51   Link

How do I print to a file using question marks?

example: I want the following to put:

this is my first line

this is my last line

in a file.

?

?

? 'this is my first line'

?

? 'this is my last line'

I can do this if I set device to printer but that results in a page eject.

Did it years ago but lost the source.

Wes

Wes Wilson, President

ERW Custom Programming, Inc.

Crescent Lake Plaza

5459  Elizabeth Lake Rd.

Waterford, MI 48327

(248) 683-4182

http://www.erw.com/

weswilson@erw.com

 

________________________________

From: "profox-request@leafe.com" <profox-request@leafe.com>

To: profox@leafe.com

Sent: Sunday, March 30, 2014 1:32 PM

Subject: ProFox Digest, Vol 131, Issue 38

----- Forwarded Message -----

Send ProFox mailing list submissions to

    profox@leafe.com

To subscribe or unsubscribe via the World Wide Web, visit

    http://mail.leafe.com/mailman/listinfo/profox

or, via email, send a message with subject or body 'help' to

    profox-request@leafe.com

You can reach the person managing the list at

    profox-owner@leafe.com

When replying, please edit your Subject line so it is more specific

than "Re: Contents of ProFox digest..."

Today's Topics:

  1. Re: Fields of type General with linked OLE data. (Ted Roche)

  2. Scanning in VFP (Jeff Johnson)

  3. RE: Scanning in VFP (Tracy Pearson)

  4. Re: Scanning in VFP (Frank Cazabon)

  5. Re: Scanning in VFP (Jeff Johnson)

  6. Re: Scanning in VFP (Vincent Teachout)

  7. Re: Scanning in VFP (Jeff Johnson)

  8. RE: Scanning in VFP (jerry foote)

  9. Re: Scanning in VFP (Gianni Turri)

  10. Re: Scanning in VFP (Jeff Johnson)

  11. Re: Scanning in VFP (Paul Hill)

  12. RE: VFP executables crash! (Lew Schwartz)

  13. VFP9 + Win 8.1 (Lew Schwartz)

  14. Re: VFP9 + Win 8.1 (Mike Copeland)

  15. RE: VFP9 + Win 8.1 (Allen)

  16. RE: VFP9 + Win 8.1 (Darren)

  17. RE: VFP9 + Win 8.1 (Allen)

  18. Re: Fields of type General with linked OLE data. (Alan Bourke)

On 03/27/2014 07:49 AM, Alan Bourke wrote:

> This functionality is something I've never used over the years.

A good idea. Object Linking and Embedding was great for demos, but

problem-filled for production systems.

> The customer has now moved the images in question to an identical

> directory structure on another server and/or drive, and re-mapped drive

> G: to the new share, so that the apparent path to each image is

> identical in terms of Windows. However these General fields seem to have

> information about the original location embedded somewhere, and the link

> is somehow broken.

How, somehow? Is there a somehow error message? A somehow lack of image?

A somehow C5 or 1429 error?

Is there somehow code that shows how the somehow broken is, er, broken?

> Is this a feature of General-type fields and OLE data? Is there any

> simple way of re-linking ?

One of many problems with OLE is that it stores a blob (structured

binary data) based on the original image/document, and also the

application that stored it into the field, so if you were storing a BMP

that's associated with MSPaint, MSPaint would be responsible for storing

the data. If you had PaintShopPro on your machine, and associated JPGs

with that, it would be PSP that was responsible for storing (and

retrieving) the blob of data. I think the GUIDs of the associated

executable were also embedded in the blob, along with a bitmap

representation and the data.

So, one way to try to reproduce this is to recreate one of the original

workstations and the software used to store the data.

However, since you LINK rather than EMBED, you have the images available

outside the app (Whew, that's usually the big concern). So the question

is how to link from free image to record. I guess it depends on the

answers to the "somehow" questions above. If you're getting a 1429 error

with a SYS(18) of "Can't find file G:\something\image.jpg" you could do

a TRY...CATCH to get the error message and re-link (using a text link to

filenames and/or paths) and discontinue use of the General field.

With more info, perhaps we can supply more suggestions.

(Author of "OLE is No Bull" introducing Object Linking and Embedding in

FoxPro Advisor. The headline was not my fault, nor my opinion.)

--

Ted Roche & Associates, LLC    http://www.tedroche.com/

Anyone have good luck with scanning directly into VFP?  I read a post by

Mike Lewis (I think it is) that used EZTWAIN which is now $999!  I

understand that many TWAIN devices can be programmed.

I am interested in your ideas.

Thanks,

--

Jeff

Jeff Johnson

jeff@san-dc.com

SanDC, Inc.

623-582-0323

Fax 623-869-0675

http://www.san-dc.com/

 

Jeff Johnson wrote on 2014-03-28:

>  Anyone have good luck with scanning directly into VFP?  I read a post by

>  Mike Lewis (I think it is) that used EZTWAIN which is now $999!  I

>  understand that many TWAIN devices can be programmed.

> 

>  I am interested in your ideas.

> 

>  Thanks,

Jeff,

What is the end result you need? Images or PDF?

In house, a department will use the Fujitsu Scan Snap device to create PDF's

of files. It gets configured to run a specific program after the scan is

completed. If you need UI access after that, I know of a way to register an

instantiated object as COM object in a UI window. As long as both are

running as the same user on the workstation, it works. Our in house program

does this UI part.

Tracy Pearson

PowerChurch Software

On 28/03/2014 12:48 PM, Jeff Johnson wrote:

> Anyone have good luck with scanning directly into VFP?  I read a post

> by Mike Lewis (I think it is) that used EZTWAIN which is now $999!  I

> understand that many TWAIN devices can be programmed.

>

> I am interested in your ideas.

>

> Thanks,

>

Jeff, I use Scanner ActiveX from VisCom:

http://www.viscomsoft.com/products/scanner/index.html

Only cost US$80

--

Frank.

Frank Cazabon

On 3/28/2014 10:18 AM, Tracy Pearson wrote:

> Jeff Johnson wrote on 2014-03-28:

>>  Anyone have good luck with scanning directly into VFP?  I read a post by

>>  Mike Lewis (I think it is) that used EZTWAIN which is now $999!  I

>>  understand that many TWAIN devices can be programmed.

>> 

>>  I am interested in your ideas.

>> 

>>  Thanks,

> Jeff,

>

> What is the end result you need? Images or PDF?

>

> In house, a department will use the Fujitsu Scan Snap device to create PDF's

> of files. It gets configured to run a specific program after the scan is

> completed. If you need UI access after that, I know of a way to register an

> instantiated object as COM object in a UI window. As long as both are

> running as the same user on the workstation, it works. Our in house program

> does this UI part.

>

> Tracy Pearson

> PowerChurch Software

>

> --

> Jeff

>

> Jeff Johnson

> jeff@san-dc.com

> SanDC, Inc.

> 623-582-0323

> Fax 623-869-0675

>

> http://www.san-dc.com/

> 

What I want to do is have someone scan a document and then I want to

copy that document to a folder and add a link to it in VFP in a table.

Jeff Johnson wrote:

> Anyone have good luck with scanning directly into VFP?  I read a post by

> Mike Lewis (I think it is) that used EZTWAIN which is now $999!  I

> understand that many TWAIN devices can be programmed.

It's been years, but I used to do it very successfully, first with Kodak

Imager (no longer available) and then with EZTwain (which was nowhere

NEAR $999 at the time!)

Vince:  I noticed that EZTwain was about $200 not too long ago.

Thanks for your input.

On 3/28/2014 2:21 PM, Vincent Teachout wrote:

> Jeff Johnson wrote:

>> Anyone have good luck with scanning directly into VFP?  I read a post

>> by Mike Lewis (I think it is) that used EZTWAIN which is now $999!  I

>> understand that many TWAIN devices can be programmed.

>

> It's been years, but I used to do it very successfully, first with

> Kodak Imager (no longer available) and then with EZTwain (which was

> nowhere NEAR $999 at the time!)

>

[excessive quoting removed by server]

Look at csXImage at 170.00 it has twain and a host of image manipulation.

jerry

-----Original Message-----

From: ProFox [mailto:profox-bounces@leafe.com] On Behalf Of Jeff Johnson

Sent: Friday, March 28, 2014 2:23 PM

To: profox@leafe.com

Subject: Re: Scanning in VFP

On 3/28/2014 10:18 AM, Tracy Pearson wrote:

> Jeff Johnson wrote on 2014-03-28:

>>  Anyone have good luck with scanning directly into VFP?  I read a post

by

>>  Mike Lewis (I think it is) that used EZTWAIN which is now $999!  I

>>  understand that many TWAIN devices can be programmed.

>> 

>>  I am interested in your ideas.

>> 

>>  Thanks,

> Jeff,

>

> What is the end result you need? Images or PDF?

>

> In house, a department will use the Fujitsu Scan Snap device to create

PDF's

> of files. It gets configured to run a specific program after the scan is

> completed. If you need UI access after that, I know of a way to register

an

> instantiated object as COM object in a UI window. As long as both are

> running as the same user on the workstation, it works. Our in house

program

> does this UI part.

>

> Tracy Pearson

> PowerChurch Software

>

> --

> Jeff

>

> Jeff Johnson

> jeff@san-dc.com

> SanDC, Inc.

> 623-582-0323

> Fax 623-869-0675

>

> http://www.san-dc.com/

> 

What I want to do is have someone scan a document and then I want to

copy that document to a folder and add a link to it in VFP in a table.

[excessive quoting removed by server]

On Fri, 28 Mar 2014 09:48:04 -0700, Jeff Johnson <jeff@san-dc.com> wrote:

>Anyone have good luck with scanning directly into VFP?  I read a post by

>Mike Lewis (I think it is) that used EZTWAIN which is now $999!  I

>understand that many TWAIN devices can be programmed.

>

>I am interested in your ideas.

Hi Jeff,

the EZTwain Classic and free version isn't enough for your needs?

http://www.eztwain.com/eztwain1.htm

--

Gianni

On 3/29/2014 7:52 AM, Gianni Turri wrote:

> On Fri, 28 Mar 2014 09:48:04 -0700, Jeff Johnson <jeff@san-dc.com> wrote:

>

>> Anyone have good luck with scanning directly into VFP?  I read a post by

>> Mike Lewis (I think it is) that used EZTWAIN which is now $999!  I

>> understand that many TWAIN devices can be programmed.

>>

>> I am interested in your ideas.

> Hi Jeff,

>

> the EZTwain Classic and free version isn't enough for your needs?

>

> http://www.eztwain.com/eztwain1.htm

>

I did not see that.  Thanks!!!

--

Jeff

Jeff Johnson

jeff@san-dc.com

SanDC, Inc.

623-582-0323

Fax 623-869-0675

http://www.san-dc.com/

 

On 28 March 2014 21:21, Vincent Teachout <teachv@taconic.net> wrote:

> Jeff Johnson wrote:

>>

>> Anyone have good luck with scanning directly into VFP?  I read a post by

>> Mike Lewis (I think it is) that used EZTWAIN which is now $999!  I

>> understand that many TWAIN devices can be programmed.

>

> It's been years, but I used to do it very successfully, first with Kodak

> Imager (no longer available) and then with EZTwain (which was nowhere NEAR

> $999 at the time!)

TWAIN was always a PITA as it requires changes to your main event loop.

This doesn't work well with higher level languages like Fox.

In the far past I wrote a VB6 app that used EZTWAIN.

WIA is (was?) an alternative but not all drivers support this.

--

Paul

Isn't there also a c rtl .dll that needs to be contemporary with the vfp

install and not more recent?

On Mar 19, 2014 12:24 PM, "Tracy Pearson" <tracy@powerchurch.com> wrote:

> Tracy Pearson wrote on 2014-03-19:

> >  I would check for version mismatches of the runtimes.

> >  I use this script with on our client machines when they experience the

> same.

> >

> >  @echo off echo dim fso>vfpgetver.vbs echo set

> >  fso=createobject("scripting.filesystemobject")>>vfpgetver.vbs echo

> >  wscript.echo wscript.arguments(0) ^&" - " ^&

> >  fso.getfileversion(wscript.arguments(0))>>vfpgetver.vbs for /F

> >  "delims=," %%i in ('dir %%systemdrive%%\vfp9*.dll /a/s/b') do cscript

> >  /nologo vfpgetver.vbs "%%i" erase vfpgetver.vbs echo. pause

> >

>

>

> I should have explained how to run it.

>

> Copy it to a versions.cmd file in notepad, then dbl-click it. It opens a

> CMD

> window and runs locating all VFP9*.DLL files and gives the full path and

> version of that DLL.

>

> VFP will find the VFP9RENU.DLL in the path before looking at the location

> where the VFP9R.DLL is located.

>

> Tracy Pearson

> PowerChurch Software

>

>

[excessive quoting removed by server]

Do these 2 play nice?

--- StripMime Report -- processed MIME parts ---

multipart/alternative

  text/plain (text body -- kept)

  text/html

---

So far, no problem here on a Lenovo tablet running 8.0 that was updated

to 8.1.

I haven't installed the development package, just a VFP9sp2 with runtime.

Mike Copeland

Lew Schwartz wrote:

> Do these 2 play nice?

>

>

> --- StripMime Report -- processed MIME parts ---

> multipart/alternative

>    text/plain (text body -- kept)

>    text/html[excessive quoting removed by server]

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox

OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/1396451391.72119.YahooMailNeo@web160705.mail.bf1.yahoo.com

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2014 Wes Wilson
Back to top
Re: Printing to a file using question marks

Author: Peter Cushing

Posted: 2014-04-02 10:17:55   Link

Wes Wilson wrote:

> How do I print to a file using question marks?

>

> example: I want the following to put:

>

> this is my first line

>

> this is my last line

>

> in a file.

>

> ?

> ?

> ? 'this is my first line'

> ?

> ? 'this is my last line'

>

> I can do this if I set device to printer but that results in a page eject.

>

> Did it years ago but lost the source.

>

>

You can do this with

SET PRINTER TO test.txt

SET PRINTER on

? 'line 1'

? 'line 2'

SET PRINTER off

SET PRINTER to

but if you have Visual foxpro you can do it directly with

STRTOFILE('This is line 3','test.txt',.t.)

You will need to add carriage returns/line feeds to the string

Peter

----------------------------------------------------------------

Rajan Imports has changed - we are now Whispering Smith Ltd. For more information see our website at www.whisperingsmith.com

Please update your address book with my new email address: pcushing@whisperingsmith.com

.

This communication is intended for the person or organisation to whom it is addressed. The contents are confidential and may be protected in law. Unauthorised use, copying or

disclosure of any of it may be unlawful. If you have received this message in error, please notify us immediately by telephone or email.

www.whisperingsmith.com

Whispering Smith Ltd

Head Office:61 Great Ducie Street, Manchester M3 1RR. Tel:0161 831 3700 Fax:0161 831 3715

London Office:17-19 Foley Street, London W1W 6DW Tel:0207 299 7960

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox

OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/533C2A23.3060209@whisperingsmith.com

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2014 Peter Cushing
Back to top
Re: Printing to a file using question marks

Author: Alan Bourke

Posted: 2014-04-02 10:22:33   Link

Any number of ways ranging from FPUTS() to my preferred method which

would be:

set textmerge on noshow

set textmerge to myfile.txt

\this is my first line

\this is my last line

set textmerge off

set textmerge to

On Wed, Apr 2, 2014, at 04:09 PM, Wes Wilson wrote:

>

>

> How do I print to a file using question marks?

>

> example: I want the following to put:

>

> this is my first line

>

> this is my last line

>

> in a file.

>

> ?

> ?

> ? 'this is my first line'

> ?

> ? 'this is my last line'

>

> I can do this if I set device to printer but that results in a page

> eject.

>

> Did it years ago but lost the source.

>

> Wes

>

>

> Wes Wilson, President

> ERW Custom Programming, Inc.

> Crescent Lake Plaza

> 5459  Elizabeth Lake Rd.

> Waterford, MI 48327

> (248) 683-4182

> http://www.erw.com/

>

> weswilson@erw.com

>  

>

>

>

> ________________________________

> From: "profox-request@leafe.com" <profox-request@leafe.com>

> To: profox@leafe.com

> Sent: Sunday, March 30, 2014 1:32 PM

> Subject: ProFox Digest, Vol 131, Issue 38

>

>

> ----- Forwarded Message -----

>

> Send ProFox mailing list submissions to

>     profox@leafe.com

>

> To subscribe or unsubscribe via the World Wide Web, visit

>     http://mail.leafe.com/mailman/listinfo/profox

> or, via email, send a message with subject or body 'help' to

>     profox-request@leafe.com

>

> You can reach the person managing the list at

>     profox-owner@leafe.com

>

> When replying, please edit your Subject line so it is more specific

> than "Re: Contents of ProFox digest..."

>

> Today's Topics:

>

>   1. Re: Fields of type General with linked OLE data. (Ted Roche)

>   2. Scanning in VFP (Jeff Johnson)

>   3. RE: Scanning in VFP (Tracy Pearson)

>   4. Re: Scanning in VFP (Frank Cazabon)

>   5. Re: Scanning in VFP (Jeff Johnson)

>   6. Re: Scanning in VFP (Vincent Teachout)

>   7. Re: Scanning in VFP (Jeff Johnson)

>   8. RE: Scanning in VFP (jerry foote)

>   9. Re: Scanning in VFP (Gianni Turri)

>   10. Re: Scanning in VFP (Jeff Johnson)

>   11. Re: Scanning in VFP (Paul Hill)

>   12. RE: VFP executables crash! (Lew Schwartz)

>   13. VFP9 + Win 8.1 (Lew Schwartz)

>   14. Re: VFP9 + Win 8.1 (Mike Copeland)

>   15. RE: VFP9 + Win 8.1 (Allen)

>   16. RE: VFP9 + Win 8.1 (Darren)

>   17. RE: VFP9 + Win 8.1 (Allen)

>   18. Re: Fields of type General with linked OLE data. (Alan Bourke)

> On 03/27/2014 07:49 AM, Alan Bourke wrote:

> > This functionality is something I've never used over the years.

> A good idea. Object Linking and Embedding was great for demos, but

> problem-filled for production systems.

>

> > The customer has now moved the images in question to an identical

> > directory structure on another server and/or drive, and re-mapped drive

> > G: to the new share, so that the apparent path to each image is

> > identical in terms of Windows. However these General fields seem to have

> > information about the original location embedded somewhere, and the link

> > is somehow broken.

> How, somehow? Is there a somehow error message? A somehow lack of image?

> A somehow C5 or 1429 error?

>

> Is there somehow code that shows how the somehow broken is, er, broken?

>

>

> > Is this a feature of General-type fields and OLE data? Is there any

> > simple way of re-linking ?

> One of many problems with OLE is that it stores a blob (structured

> binary data) based on the original image/document, and also the

> application that stored it into the field, so if you were storing a BMP

> that's associated with MSPaint, MSPaint would be responsible for storing

> the data. If you had PaintShopPro on your machine, and associated JPGs

> with that, it would be PSP that was responsible for storing (and

> retrieving) the blob of data. I think the GUIDs of the associated

> executable were also embedded in the blob, along with a bitmap

> representation and the data.

>

> So, one way to try to reproduce this is to recreate one of the original

> workstations and the software used to store the data.

>

> However, since you LINK rather than EMBED, you have the images available

> outside the app (Whew, that's usually the big concern). So the question

> is how to link from free image to record. I guess it depends on the

> answers to the "somehow" questions above. If you're getting a 1429 error

> with a SYS(18) of "Can't find file G:\something\image.jpg" you could do

> a TRY...CATCH to get the error message and re-link (using a text link to

> filenames and/or paths) and discontinue use of the General field.

>

>

> With more info, perhaps we can supply more suggestions.

>

> (Author of "OLE is No Bull" introducing Object Linking and Embedding in

> FoxPro Advisor. The headline was not my fault, nor my opinion.)

>

> --

> Ted Roche & Associates, LLC    http://www.tedroche.com/

>

>

>

>

> Anyone have good luck with scanning directly into VFP?  I read a post by

> Mike Lewis (I think it is) that used EZTWAIN which is now $999!  I

> understand that many TWAIN devices can be programmed.

>

> I am interested in your ideas.

>

> Thanks,

>

> --

> Jeff

>

> Jeff Johnson

> jeff@san-dc.com

> SanDC, Inc.

> 623-582-0323

> Fax 623-869-0675

>

> http://www.san-dc.com/

>  

>

>

>

>

> Jeff Johnson wrote on 2014-03-28:

> >  Anyone have good luck with scanning directly into VFP?  I read a post by

> >  Mike Lewis (I think it is) that used EZTWAIN which is now $999!  I

> >  understand that many TWAIN devices can be programmed.

> > 

> >  I am interested in your ideas.

> > 

> >  Thanks,

>

> Jeff,

>

> What is the end result you need? Images or PDF?

>

> In house, a department will use the Fujitsu Scan Snap device to create

> PDF's

> of files. It gets configured to run a specific program after the scan is

> completed. If you need UI access after that, I know of a way to register

> an

> instantiated object as COM object in a UI window. As long as both are

> running as the same user on the workstation, it works. Our in house

> program

> does this UI part.

>

> Tracy Pearson

> PowerChurch Software

>

>

>

>

> On 28/03/2014 12:48 PM, Jeff Johnson wrote:

> > Anyone have good luck with scanning directly into VFP?  I read a post

> > by Mike Lewis (I think it is) that used EZTWAIN which is now $999!  I

> > understand that many TWAIN devices can be programmed.

> >

> > I am interested in your ideas.

> >

> > Thanks,

> >

>

> Jeff, I use Scanner ActiveX from VisCom:

>

> http://www.viscomsoft.com/products/scanner/index.html

>

> Only cost US$80

>

>

> --

>

> Frank.

>

> Frank Cazabon

>

>

>

>

>

> On 3/28/2014 10:18 AM, Tracy Pearson wrote:

> > Jeff Johnson wrote on 2014-03-28:

> >>  Anyone have good luck with scanning directly into VFP?  I read a post by

> >>  Mike Lewis (I think it is) that used EZTWAIN which is now $999!  I

> >>  understand that many TWAIN devices can be programmed.

> >> 

> >>  I am interested in your ideas.

> >> 

> >>  Thanks,

> > Jeff,

> >

> > What is the end result you need? Images or PDF?

> >

> > In house, a department will use the Fujitsu Scan Snap device to create PDF's

> > of files. It gets configured to run a specific program after the scan is

> > completed. If you need UI access after that, I know of a way to register an

> > instantiated object as COM object in a UI window. As long as both are

> > running as the same user on the workstation, it works. Our in house program

> > does this UI part.

> >

> > Tracy Pearson

> > PowerChurch Software

> >

> > --

> > Jeff

> >

> > Jeff Johnson

> > jeff@san-dc.com

> > SanDC, Inc.

> > 623-582-0323

> > Fax 623-869-0675

> >

> > http://www.san-dc.com/

> > 

> What I want to do is have someone scan a document and then I want to

> copy that document to a folder and add a link to it in VFP in a table.

>

>

>

>

> Jeff Johnson wrote:

> > Anyone have good luck with scanning directly into VFP?  I read a post by

> > Mike Lewis (I think it is) that used EZTWAIN which is now $999!  I

> > understand that many TWAIN devices can be programmed.

>

> It's been years, but I used to do it very successfully, first with Kodak

> Imager (no longer available) and then with EZTwain (which was nowhere

> NEAR $999 at the time!)

>

>

>

> Vince:  I noticed that EZTwain was about $200 not too long ago.

>

> Thanks for your input.

>

> On 3/28/2014 2:21 PM, Vincent Teachout wrote:

> > Jeff Johnson wrote:

> >> Anyone have good luck with scanning directly into VFP?  I read a post

> >> by Mike Lewis (I think it is) that used EZTWAIN which is now $999!  I

> >> understand that many TWAIN devices can be programmed.

> >

> > It's been years, but I used to do it very successfully, first with

> > Kodak Imager (no longer available) and then with EZTwain (which was

> > nowhere NEAR $999 at the time!)

> >

[excessive quoting removed by server]

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox

OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/1396452153.14857.101920553.5E9193A5@webmail.messagingengine.com

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2014 Alan Bourke
Back to top
Re: Printing to a file using question marks

Author: Gianni Turri

Posted: 2014-04-02 10:40:03   Link

Hi Wes,

try this:

set printer to MyFile.txt

set printer ON

?

?

? 'this is my first line'

?

? 'this is my last line'

set printer OFF

set printer to

--

Gianni

On Wed, 2 Apr 2014 08:09:51 -0700 (PDT), Wes Wilson <erwweswilson@yahoo.com> wrote:

How do I print to a file using question marks?

example: I want the following to put:

this is my first line

this is my last line

in a file.

?

?

? 'this is my first line'

?

? 'this is my last line'

I can do this if I set device to printer but that results in a page eject.

Did it years ago but lost the source.

Wes

Wes Wilson, President

ERW Custom Programming, Inc.

Crescent Lake Plaza

5459  Elizabeth Lake Rd.

Waterford, MI 48327

(248) 683-4182

http://www.erw.com/

weswilson@erw.com

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox

OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/qnboj9hrm2tcf2oj8las503pofe47nru9b@4ax.com

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2014 Gianni Turri
Back to top
Re: Printing to a file using question marks

Author: Joe Yoder

Posted: 2014-04-02 14:10:17   Link

I think you were probably trying to remember

set alternate to "file name"

set alternate on

?s

set alternate off

set alternate to

Joe

On Wed, Apr 2, 2014 at 11:40 AM, Gianni Turri <giannit62@gmail.com> wrote:

> Hi Wes,

>

> try this:

>

> set printer to MyFile.txt

> set printer ON

>

> ?

> ?

> ? 'this is my first line'

> ?

> ? 'this is my last line'

>

> set printer OFF

> set printer to

>

> --

> Gianni

>

> On Wed, 2 Apr 2014 08:09:51 -0700 (PDT), Wes Wilson <

> erwweswilson@yahoo.com> wrote:

>

> How do I print to a file using question marks?

>

> example: I want the following to put:

>

> this is my first line

>

> this is my last line

>

> in a file.

>

> ?

> ?

> ? 'this is my first line'

> ?

> ? 'this is my last line'

>

> I can do this if I set device to printer but that results in a page eject.

>

> Did it years ago but lost the source.

>

> Wes

>

>

> Wes Wilson, President

> ERW Custom Programming, Inc.

> Crescent Lake Plaza

> 5459 Elizabeth Lake Rd.

> Waterford, MI 48327

> (248) 683-4182

> http://www.erw.com/

>

> weswilson@erw.com

>

[excessive quoting removed by server]

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox

OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/CABQeDnURLgYaupCaAZH2zfRKBp5Mn02N8jznur70dqu7cFoctg@mail.gmail.com

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2014 Joe Yoder
Back to top
Re: Printing to a file using question marks

Author: Gérard Lochon

Posted: 2014-04-03 06:46:24   Link

>----- Original Message -----

>From: "Alan Bourke" <alanpbourke@fastmail.fm

>

>Any number of ways ranging from FPUTS() to my preferred method

> which would be:

>

> set textmerge on noshow

> set textmerge to myfile.txt

> \this is my first line

> \this is my last line

> set textmerge off

> set textmerge to

Hi gang.

That's also the method i would use.

In fact, the real need is not to print, but to write into a text file.

Also, the best way is to use the tools that are made for it,

instead of trying workarounds workarounds ... ;o)

Gérard.

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox

OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/FE737AD1363D40BFA4D7A8993EEC4F5F@MuriellePC

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2014 Gérard Lochon