Date   

Re: VDU 2

Richard Weir
 

I have no hope for this suggestion, but just a thought: might you have two HP printers appearing in you printers and scanners list? I had this at one time and Windows would get confused in some way, making printing very difficult.


Good luck!


Re: VDU 2

Richard
 

This might not work on all systems, but if you select the printed output to pdf document, rather than  any specific printer, you can print, using VDU 2 to a pdf... then you can print that pdf.  My Acer Laptop (Windows 10) allows this.  the simple code below
   10 REM PRINTER
      VDU 2
      FOR X=1TO10
        PRINT "hI THERE!"
      NEXT
      VDU 3
      STOP
prints to a pdf file, if specified or if no other printer is selected...Windows 10 settings-> devices-> printers and scanners -> microsoft print to pdf?.. you save the output to a pdf file, which you name then print that file
hI THERE!
hI THERE!
hI THERE!
hI THERE!
hI THERE!
hI THERE!
hI THERE!
hI THERE!
hI THERE!
hI THERE!


Re: VDU 2

 

Thank you for your contact.

 

Like yourself, I lack knowledge about “standard” computing techniques.

 

The printer is visible at all times.  It prints everything as one would expect. Which is why HP won’t have any further communication.  They say it works; end of story.)

 

The only complaint is that it does not appear to recognize VDU 2 which I have used with many printers for decades.

 

In a logical progression to attempt to trace the problem, I eventually managed to use USB connection solely, in case it was something to do with WIFI but to no avail.

 

I am at a loss to know what to do but spending about ten hours a day banging my head at every possibility no matter how extreme.

 

From: nbadderley via Groups.Io
Sent: 07 October 2019 08:25
To: bb4w@groups.io
Subject: Re: [bb4w] VDU 2

 

I offer this from the standpoint of a complete ignoramus regarding Windows but a user of BBC BASIC and BB4W for many years. My Canon printer often ‘disappeared’ from Windows (‘Printer is offline’) but, in that state (without touching anything) worked through WiFi from iPhones and iPads. I now leave it hard wired via USB to the PC and WiFi for Apple devices etc. Do you have to use WiFi for your application?


On 7 Oct 2019, at 04:24, The Famous Cash via Groups.Io <thefamouscash@...> wrote:

 

Yes.  Only the screen.

 

I am not familiar with that command and did not know what to expect.

 

I had to sort a big problem I created.  Following some web stuff which seemed a possibility, I changed printer to generic text-only (I forget exactly) and changed the port.

 

It did not work and everything was a mess but I got back to re-installing the HP.

 

Incidentally, I doubt it is of consequence but I note each time I install the HP two versions appear.  One says “HP Deskjet 2600 series”, the other, “HPCBB487 (HP Deskjet 2600 series)”.

 

 

 

From: J.G.Harston
Sent: 07 October 2019 03:00
To: bb4w@groups.io
Cc: The Famous Cash via Groups.Io
Subject: Re: [bb4w] VDU 2

 

On 07-10-2019 01:20, The Famous Cash via Groups.Io wrote:

> COPY whateverthetextfile.txt LPT showed 1 file copied. (I don’t know

> where.)

>

> COPY whateverthetextfile.txt also shoed 1 file as copied.

>

> On typing subsequent COPY statements, the file appeared on screen.

 

On the screen, not on the printer? That's a puzzle. I wonder if

your system has some sort of virtual driver attached to the

logical LPT device and is redirecting it somewhere.

 

(I once had a problem with a user insisting that unzip wouldn't

work, and I had to go to his house and actually see what was

happening. He had some sort of software that forced the filing

system to see files with a .zip extension as directories, so

unzip was always falling over with a 'XXX is a directory' error.)

 

--

J.G.Harston - jgh@... - mdfs.net/jgh

 

 

 

 

Virus-free. www.avg.com

 


Re: VDU 2

nbadderley
 

I offer this from the standpoint of a complete ignoramus regarding Windows but a user of BBC BASIC and BB4W for many years. My Canon printer often ‘disappeared’ from Windows (‘Printer is offline’) but, in that state (without touching anything) worked through WiFi from iPhones and iPads. I now leave it hard wired via USB to the PC and WiFi for Apple devices etc. Do you have to use WiFi for your application?


On 7 Oct 2019, at 04:24, The Famous Cash via Groups.Io <thefamouscash@...> wrote:

 

Yes.  Only the screen.

 

I am not familiar with that command and did not know what to expect.

 

I had to sort a big problem I created.  Following some web stuff which seemed a possibility, I changed printer to generic text-only (I forget exactly) and changed the port.

 

It did not work and everything was a mess but I got back to re-installing the HP.

 

Incidentally, I doubt it is of consequence but I note each time I install the HP two versions appear.  One says “HP Deskjet 2600 series”, the other, “HPCBB487 (HP Deskjet 2600 series)”.

 

 

 

From: J.G.Harston
Sent: 07 October 2019 03:00
To: bb4w@groups.io
Cc: The Famous Cash via Groups.Io
Subject: Re: [bb4w] VDU 2

 

On 07-10-2019 01:20, The Famous Cash via Groups.Io wrote:

> COPY whateverthetextfile.txt LPT showed 1 file copied. (I don’t know

> where.)

>

> COPY whateverthetextfile.txt also shoed 1 file as copied.

>

> On typing subsequent COPY statements, the file appeared on screen.

 

On the screen, not on the printer? That's a puzzle. I wonder if

your system has some sort of virtual driver attached to the

logical LPT device and is redirecting it somewhere.

 

(I once had a problem with a user insisting that unzip wouldn't

work, and I had to go to his house and actually see what was

happening. He had some sort of software that forced the filing

system to see files with a .zip extension as directories, so

unzip was always falling over with a 'XXX is a directory' error.)

 

--

J.G.Harston - jgh@... - mdfs.net/jgh

 

 

 


Virus-free. www.avg.com


Re: VDU 2

 

 

Yes.  Only the screen.

 

I am not familiar with that command and did not know what to expect.

 

I had to sort a big problem I created.  Following some web stuff which seemed a possibility, I changed printer to generic text-only (I forget exactly) and changed the port.

 

It did not work and everything was a mess but I got back to re-installing the HP.

 

Incidentally, I doubt it is of consequence but I note each time I install the HP two versions appear.  One says “HP Deskjet 2600 series”, the other, “HPCBB487 (HP Deskjet 2600 series)”.

 

 

 

From: J.G.Harston
Sent: 07 October 2019 03:00
To: bb4w@groups.io
Cc: The Famous Cash via Groups.Io
Subject: Re: [bb4w] VDU 2

 

On 07-10-2019 01:20, The Famous Cash via Groups.Io wrote:

> COPY whateverthetextfile.txt LPT showed 1 file copied. (I don’t know

> where.)

>

> COPY whateverthetextfile.txt also shoed 1 file as copied.

>

> On typing subsequent COPY statements, the file appeared on screen.

 

On the screen, not on the printer? That's a puzzle. I wonder if

your system has some sort of virtual driver attached to the

logical LPT device and is redirecting it somewhere.

 

(I once had a problem with a user insisting that unzip wouldn't

work, and I had to go to his house and actually see what was

happening. He had some sort of software that forced the filing

system to see files with a .zip extension as directories, so

unzip was always falling over with a 'XXX is a directory' error.)

 

--

J.G.Harston - jgh@... - mdfs.net/jgh

 

 

 


Virus-free. www.avg.com


Re: VDU 2

J.G.Harston
 

On 07-10-2019 01:20, The Famous Cash via Groups.Io wrote:
COPY whateverthetextfile.txt LPT showed 1 file copied. (I don’t know
where.)
COPY whateverthetextfile.txt also shoed 1 file as copied.
On typing subsequent COPY statements, the file appeared on screen.
On the screen, not on the printer? That's a puzzle. I wonder if
your system has some sort of virtual driver attached to the
logical LPT device and is redirecting it somewhere.

(I once had a problem with a user insisting that unzip wouldn't
work, and I had to go to his house and actually see what was
happening. He had some sort of software that forced the filing
system to see files with a .zip extension as directories, so
unzip was always falling over with a 'XXX is a directory' error.)

--
J.G.Harston - jgh@... - mdfs.net/jgh


Re: VDU 2

 

I have run diagnostics probably around one hundred times, including whilst on the telephone to HP.

 

Nothing ever shows.  Everything appears to run correctly.

 

I cannot get any success powering up printer whilst holding any of the buttons, or combinations of buttons.

 

I did note us-ascii was supported but problem remains.

 

I attach a couple of sheets I scanned in the hope it means something to you. 

 

Remember, the printer and scanner work perfectly as far as “normal” work is concerned which is why HP won’t have anything further to do with my request for assistance.

 

I rarely use command line.  I’m not a professional programmer.  I’m good a what I do as far as BB4W basic is concerned but that’s my limit.

 

The first COPY whateveryoucallthetextfile.txt PRN gave message could not find file.  (I checked and reckon typing was ok)

 

COPY whateverthetextfile.txt LPT showed 1 file copied. (I don’t know where.)

 

COPY whateverthetextfile.txt also shoed 1 file as copied.

 

On typing subsequent COPY statements, the file appeared on screen.

 

I know information seems vague but I have tried countless amendments, including changing ports and re-installations.

 

I do appreciate your assistance but am at a loss to provide guidance other than already detailed.

 

 

 

From: J.G.Harston
Sent: 06 October 2019 22:21
To: bb4w@groups.io
Cc: The Famous Cash via Groups.Io
Subject: Re: [bb4w] VDU 2

 

On 06-10-2019 19:43, The Famous Cash via Groups.Io wrote:

> I really require to print data from my program.

> Does anyone have any ideas, please?

 

Can you tell us what the printer diagnostics says. You can do

this from the Windows printer control panel with Printer ->

Maintenence -> Toolbox -> Diagnostic information.

 

You may also be able to get this by pressing one of the control

buttons when you turn the power on. Reading the manual shows very

few buttons, so try on/off+poweron, or cancel+poweron, or

black+powerer, or colour+poweron.

 

The documentation does state:

"Printer supports direct text printing with the 'us-ascii' charset."

 

so plain text printing should work. Can you create a plain text file,

for instance in notepad, eg past this email into it. Then from the

command line do COPY whateveryoucallthetextfile.txt PRN: or

COPY whateverthetextfile.txt LPT:

 

--

J.G.Harston - jgh@... - mdfs.net/jgh

 

 

 


Virus-free. www.avg.com


Re: VDU 2

J.G.Harston
 

On 06-10-2019 19:43, The Famous Cash via Groups.Io wrote:
I really require to print data from my program.
Does anyone have any ideas, please?
Can you tell us what the printer diagnostics says. You can do
this from the Windows printer control panel with Printer ->
Maintenence -> Toolbox -> Diagnostic information.

You may also be able to get this by pressing one of the control
buttons when you turn the power on. Reading the manual shows very
few buttons, so try on/off+poweron, or cancel+poweron, or
black+powerer, or colour+poweron.

The documentation does state:
"Printer supports direct text printing with the 'us-ascii' charset."

so plain text printing should work. Can you create a plain text file,
for instance in notepad, eg past this email into it. Then from the
command line do COPY whateveryoucallthetextfile.txt PRN: or
COPY whateverthetextfile.txt LPT:

--
J.G.Harston - jgh@... - mdfs.net/jgh


Re: VDU 2

 

Just an update.  I have no clue why VDU 2 doesn't work with HP Deskjet 2060.  HP have given me countless "fixes", told me to uninstall and reinstall. Update drivers.  Disconnect WIFI.  Loads of time-wasting "advice".
Eventually, they say, since the printer prints PDFs et cetera, the fault must lie with my program.
They refuse to accept this simple command has worked on numerous computers for many years without problem and washed their hands of the enquiry.
I really require to print data from my program.
Does anyone have any ideas, please?
 


Re: BBC BASIC for SDL 2.0 v0.20a released

Sandy McAfee
 

Gosh. That’s fabulous. Looking forward to trying the Mac OS-X version particularly. 

Many thanks Richard.

Sandy


On 3 Feb 2018, at 23:24, Richard Russell <news@...> wrote:

I've updated BBCSDL, the free cross-platform implementation of BBC BASIC, to version 0.20a. The various editions may be downloaded as follows:

The Android edition will also run on the Amazon Fire TV Stick.

As things are currently looking this may be the last release of BBCSDL.

The main changes in this version are as follows:

BASIC interpreter:

  1. The INT() function returns a true integer variant, not a floating-point value that happens to be an integer.

  2. The PTR(string$) function returns the memory address of a string.

  3. The <<< operator performs a 64-bit shift, even in the default *hex32 mode.

  4. Fixed a bug in the raise-to-power operator ^ (Android and Raspberry Pi editions).

Libraries:

  1. Fixed a minor bug in the socklib library.

  2. Added the eventlib and timerlib libraries (compatible with their BB4W equivalents).

Example Programs:

  1. The fire graphics demo has been added.

  2. The Penrose stairs graphics (and sound) demo has been added.

IDEs:

  1. SDLIDE.bbc: You can now select an item in the List variables window and it will be automatically scrolled to keep it in view.

  2. touchide.bbc: The 'New file' and 'Rename file' commands default to an extension of .bbc if none is entered.


In addition. the Android edition has been modified (hopefully) to fix an incompatibility with recent releases of Android. It also has a (not very nice) splash screen!


I apologise that none of the major outstanding shortcomings has been addressed in this release, and probably won't ever be. These include the absence of a 'compile' (create application) capability, no add-in utilities (such as Cross Reference), no integrated Help, no support for printing etc.

Richard.


Re: BBC BASIC for iOS?

Sandy McAfee
 

Dear Richard

I would view this as highly desirable. Alas I have nothing to offer in terms of solutions or proposals.

Sandy


On 19 Dec 2017, at 16:41, Richard Russell <news@...> wrote:

The availability of a sort-of-working 64-bit version of BBCSDL (albeit with several unresolved issues) makes it in principle - and I emphasise in principle - possible to build an iOS edition, because iOS is (and has been for some time) 64-bit only.  However there are a number of significant complications, not least the absence of an Android-like 'back button'; BBCSDL is thoroughly dependent on that button for the 'cancel' or 'return back to where you came from' functionality (it maps to the Escape key on desktop platforms).

Typical iOS users and app developers don't necessarily see the absence of a back button as a problem because the equivalent functionality can be designed into the specific application, either as a 'button' (i.e. an icon that you can tap) or as a swipe gesture.  But that's not a good solution for a programming language like BBC BASIC: you don't want every individual BASIC program to have to include code, uniquely for iOS, to implement a button or gesture (and in any case there might not be an obvious place for a button to go, and a gesture might interfere with some other touch functionality such as scrolling).  You want the language to provide the feature in a standard way, that every BASIC program can take advantage of on every platform.

There are other problems that would have to be resolved before even an experimental iOS edition could be developed.  One is that a more modern Mac than anything I own is required to build iOS apps, and (as a non Apple enthusiast) I neither want to have to purchase such a machine nor find room for it.  In contrast Android apps can be developed and tested (in simulation) on a regular Windows PC.  Then there's the issue that iOS apps can only be downloaded from the App Store; there isn't (as far as I'm aware) an option similar to Android's of overriding the default settings to allow downloading from other sources.  And the App Store imposes conditions that it might be impossible for BBC BASIC to meet.

So there are many issues to resolve before an iOS edition could be contemplated, and there may not be solutions for all of them.  Does anybody have an opinion on the desirability or otherwise of such a product, and/or any proposals for how the issues discussed above might be tackled.

Richard.


Re: VDU 2

 

Many thanks for your responses but I should have made it clearer.  I have used the commands for many years without problem.
I always enable printer with VDU2 and close with VDU 2,1,12,3.
When running the program, I introduced a "GET" after the VDU2 about halfway through the data to be printed and checked all aspects of the printer status.
It does not appear to be recognised.  There is nothing in print queue or indication of any communication with PC.
Still working on it.  


Re: VDU 2

J.G.Harston
 

On 15-09-2019 10:50, alan836975 via Groups.Io wrote:
You have to feed the printer a 'page eject' to make it do the
printing. Remember that the VDU commands were written in the days of
the BBC Micro, when printers were rattly line jobs, and the concept of
'page' had yet to occur.
Yep, with a page printer - on any computer - you won't get the page
ejected until either you have filled the page, or you send a form
feed (VDU 12/CLS).

Similar to the way that in some line printers you wouldn't get a line
actually printed until you told the printer to move to the next line
with a LF or CR. My Star LX-something behaves like this.

--
J.G.Harston - jgh@... - mdfs.net/jgh


Re: VDU 2

 

You have to feed the printer a 'page eject' to make it do the printing. Remember that the VDU commands were written in the days of the BBC Micro, when printers were rattly line jobs, and the concept of 'page' had yet to occur.

You should find all this in the help files.

--
Alan Roberts - Mugswell, Surrey
+44 (0)1737832586
+44 (0)7749387934


VDU 2

 

Simple VDU 2 command to enable printer.  Used for years, no problem.  HP Deskjet2060 used for some time, prints usual stuff no problem.  However, for first time in ages, I require to print some data from a program. . . VDU 2 does nothing.  Nothing in printer queue. . . No clue. . Printer connected through WIFI.   Any help, please? 


Re: I hope Richard will return to the group

 

Add me in to that as well. It's very sad that Richard gets upset by minor criticisms - we need his input now as much as ever.

--
Alan Roberts - Mugswell, Surrey
+44 (0)1737832586
+44 (0)7749387934


Re: I hope Richard will return to the group

Robin Hodson
 

I thought this was a bit odd, because I was chatting with him, only two weeks ago - on Twitter. He's very active there, if that helps:


From: bb4w@groups.io <bb4w@groups.io> on behalf of nbadderley via Groups.Io <nbadderley@...>
Sent: Wednesday, May 29, 2019 6:24:49 AM
To: bb4w@groups.io
Subject: Re: [bb4w] I hope Richard will return to the group
 
I’ll fourth it. 


On 29 May 2019, at 04:38, mclout@... wrote:

Nothing would be better, I third the motion if he wants to.


Re: I hope Richard will return to the group

nbadderley
 

I’ll fourth it. 


On 29 May 2019, at 04:38, mclout@... wrote:

Nothing would be better, I third the motion if he wants to.


Re: I hope Richard will return to the group

mclout@...
 

Nothing would be better, I third the motion if he wants to.


Re: I hope Richard will return to the group

Abd Al-Latif
 

I certainly second that.

 

From: bb4w@groups.io [mailto:bb4w@groups.io] On Behalf Of 8mbgmgs@...
Sent: 28 May 2019 18:50
To: bb4w@groups.io
Subject: [bb4w] I hope Richard will return to the group

 

Hello,

It would be great if Richard came back to the group. Don't you agree?
I would personally like him to return (if he wants to, of course)

Regards,
8mbgmgs