Re: CSV printer


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]

Posted by jim guerber on February 05, 2014 at 07:59:59:

In Reply to: CSV printer posted by Joe Forani on February 05, 2014 at 07:24:37:

Yes, I think it is relatively simple.

Just open a text printer and set it to csv (tested in comet32).


In the following, LPT is configured thusly:

Printer = LPT,x ,n, ,txt,EXTptr;

This code resulted in a text output formatted as csv.


Length 200 & Local A$ B$ C$
Length 15.0 & Local I
Length 15.3 & Local J K
Length 10.10 & Local L

Fmt: Format A$;B$;C$;I;J;K;L


Clear
Print(Et)

close(1) & open(1) 'lpt'
File(1)Csv
A$ = 'simple String'
B$ = ' String With Embedded Double "Quotation""Marks' ! Leading Blank
C$ = ' String Including A, Comma ' ! Trailing Blank
I = -10
J = 10.34
K = -99.345
L = -.00012345
Write(1,Fmt)
Stop




Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

What is the name of the main Signature System's Product?  

Comments:

Optional Link URL:
Link Title:
Optional Image URL:

You may attach up to 5 files to your followup (see below):





Each file can be a maximum of 1MB in length Uploaded files will be purged from the server on a regular basis.


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]