Search found 186 matches

by jonathanbrickman0000
Nov 21, 2013 14:32
Forum: Archive
Topic: prt2win 2: print UTF or ASCII to any Windows-driven printer
Replies: 1
Views: 4276

prt2win: print UTF or ASCII to any Windows-driven printer

Hello, everyone! Have just updated the source for 0.90.1, recompiled, and tested under Windows 8; working well now, as version 1.35. Love that smooth FB flow! The URL is still here:

http://www.ibiblio.org/joshuacorps/prt2win/
by jonathanbrickman0000
Dec 13, 2010 0:50
Forum: General
Topic: Printer Font Mystery
Replies: 7
Views: 1914

Do you think it possible to add something like FONTSIZE=NN ? This would help plaintext printers, including users of this:

http://www.ibiblio.org/joshuacorps/prt2win/

J.E.B.
by jonathanbrickman0000
Feb 18, 2007 4:02
Forum: General
Topic: UTF8 encoding on OPEN/INPUT - does it work?
Replies: 0
Views: 1452

UTF8 encoding on OPEN/INPUT - does it work?

I have been testing this code: ' Includes. #include "vbcompat.bi" #include "crt/ctype.bi" ' Definitions. ' A variable of type TF is either True or False. Enum TF F = 0 T = Not(F) End Enum ' Declarations. Declare Function LoadFile(Filename As WString Ptr, LoadBuffer As WString Ptr...
by jonathanbrickman0000
Feb 17, 2007 14:46
Forum: General
Topic: How to handle UTF-8 files without BOM signature
Replies: 3
Views: 2464

Has the bom=opt been included in the latest? I was trying to make it work: Dim fhandle As Integer Dim fname As WString * 1024 fname = "t.txt" fhandle = Freefile Open fname For Input Encoding "utf8,bom=opt" As fhandle Print Err End with a plain ASCII t.txt of nineteen characters, ...
by jonathanbrickman0000
Jan 14, 2007 23:51
Forum: General
Topic: KILL, SHELL, FileDateTime take wstring ?
Replies: 2
Views: 1585

Thanks much, v1c; did just as you suggested.
by jonathanbrickman0000
Jan 13, 2007 22:50
Forum: General
Topic: KILL, SHELL, FileDateTime take wstring ?
Replies: 2
Views: 1585

KILL, SHELL, FileDateTime take wstring ?

The docs say that Kill and Shell and FileDateTime take String or ZString; will they actually handle WSTRING on Unicode platforms?
by jonathanbrickman0000
Sep 17, 2006 2:55
Forum: General
Topic: font for the printer
Replies: 20
Views: 9331

No problemo, Jeff - printing is obviously rather tricky, and I'm glad you're so good on it. I'll be recompiling prt2win from the CVS FB in a few days, I think :)
by jonathanbrickman0000
Sep 16, 2006 13:23
Forum: General
Topic: font for the printer
Replies: 20
Views: 9331

Bonjour! And I made a mistake. Let me start again. The first question I should ask is, Are you using OPEN LPT for printing? If you are not, you should, because you will be able to control results much better under Windows: under Windows, LPRINT uses driver text imaging, and OPEN LPT does not, unless...
by jonathanbrickman0000
Sep 16, 2006 2:06
Forum: General
Topic: font for the printer
Replies: 20
Views: 9331

Denewton, are you opening the printer in RAW mode? You will have to do that, if you want your printer codes to work.
by jonathanbrickman0000
Aug 20, 2006 2:25
Forum: General
Topic: Anyone tried CDK/ncurses in FB?
Replies: 2
Views: 1803

V1ctor, thanks for writing. Yes, I blew a chunk of time myself a while back trying to compile ncurses under MSYS; I do believe that it's not going to happen, or at least, anytime soon. But ncurses and CDK do compile and run very well under Cygwin. I'll tell you what: if you convert the CDK headers a...
by jonathanbrickman0000
Aug 19, 2006 20:51
Forum: General
Topic: Anyone tried CDK/ncurses in FB?
Replies: 2
Views: 1803

Anyone tried CDK/ncurses in FB?

Well, I worked at my big project a while, and my conclusion is, I'll have to have a real text-mode widget set, I'll just be adding ridiculously unnecessary work building another one. The only truly cross-platform text widget set I know of, is CDK, which works with ncurses. Anyone tried CDK/ncurses i...
by jonathanbrickman0000
Jul 18, 2006 16:56
Forum: Beginners
Topic: REDIM SHARED
Replies: 12
Views: 3568

In other words, set up the variable using DIM SHARED outside all scope blocks, outside all subs, functions, loops, and if/then's, but use a simple REDIM (without SHARED) within the scope blocks as need be. It's a limitation I appreciate and don't mind at all, because it keeps memory handling very cl...
by jonathanbrickman0000
Jul 17, 2006 19:31
Forum: Beginners
Topic: Note to FB Developers
Replies: 15
Views: 4748

I am actually an old-schooler (was once quite good with IBM PC BASICA), and I find FB just plain delightful. QB and its precursors were designed for monotasking, 100%-CPU, interpreted environments, and several compilers were strange hacks (anyone remember something called BASRUN????); FB is a whole ...
by jonathanbrickman0000
Jul 14, 2006 14:30
Forum: Beginners
Topic: how to set the environemental variable permanently?
Replies: 10
Views: 3361

That comes awful close to nearly-malware :) Definitely, if I installed any code off the Net that did that to my machine without very explicit permission, it would be deinstalled very quickly!
by jonathanbrickman0000
Jul 05, 2006 14:22
Forum: Beginners
Topic: performance problem with getkey
Replies: 11
Views: 3737

BUFFERS=80 has nothing to do with the keyboard buffer!!! If you're on anything after Windows 98, definitely take it out again! Although if you did put in the typo BUFFER= instead of BUFFERS=, it probably didn't do anything at all, and if I remember right it is functional only in CONFIG.SYS anyhow. B...