www.virtualacorn.co.uk/forum

For support and advice on VirtualAcorn products
Forums now closed. This is an HTML only record of the content.
HTML version of Forum generated Thursday 24th May 2018

All times are UTC [ DST ]




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Continuous Stationary Printer
PostPosted: Fri Apr 17, 2009 12:03 am 
Offline

Joined: Wed Oct 24, 2007 6:29 pm
Posts: 124
Location: West Lancashire
I have an application which runs in real time printing timestamped events to an Epson FX80 printer (with continuous fanfold paper).

On a real RiscPC, this is achieved in BBCbasic simply by using VDU 2 followed by PRINT statements.

Can it be done that easily on Virtual Acorn?

And if not has anybody any pointers on where to start?

_________________
John


Top
 Profile  
 
 Post subject: Re: Continuous Stationary Printer
PostPosted: Fri Apr 17, 2009 9:13 am 
Offline

Joined: Thu Nov 29, 2007 11:42 pm
Posts: 82
I think UniPrint v2 from those nice people at R-Comp may assist.

We haven't used the feature ourselves but (AFAIK) 'Text mode printing' in v2 effectively allows spooling from RISC OS Basic progs etc via VirtualRPC to a PC-driven printer. Here's a quote from the blurb:

"Text mode printing. This major new addition allows ASCII text based
RISC OS applications to print to any printer"

HTH, Mike Nicholl


Top
 Profile  
 
 Post subject: Re: Continuous Stationary Printer
PostPosted: Fri Apr 17, 2009 10:19 am 
Offline
Site Admin

Joined: Wed Oct 23, 2002 12:16 pm
Posts: 958
Take a look in the VirtualAcorn PC Knowledge base from the main website:

Support/Knowledge Base/Windows

There is an article there that covers printing from BBC BASIC on VirtualRPC.


Top
 Profile  
 
 Post subject: Re: Continuous Stationary Printer
PostPosted: Fri Apr 17, 2009 9:09 pm 
Offline

Joined: Wed Oct 24, 2007 6:29 pm
Posts: 124
Location: West Lancashire
OK - That looks very helpful, thanks.

I used somewhat different code - although the same principle in many respects.

The application runs under the WIMP, so, when required, the following code is run between Wimp_Polls:-

*SPOOLON HostFS::Epson_FX80
PRINT "The next line of output"
*SPOOL

_________________
John


Top
 Profile  
 
 Post subject: Re: Continuous Stationary Printer
PostPosted: Wed Apr 22, 2009 10:06 am 
Offline

Joined: Wed Oct 24, 2007 6:29 pm
Posts: 124
Location: West Lancashire
Update:

It is working fine. I now have more than one Continuous Stationary Printer online.

And can even print, line by line, to such a printer on another networked PC. :)

_________________
John


Top
 Profile  
 
 Post subject: Re: Continuous Stationary Printer
PostPosted: Wed Apr 22, 2009 11:19 am 
Offline
Site Admin

Joined: Wed Oct 23, 2002 12:16 pm
Posts: 958
Excellent. I am glad that the article helped and that you have it all working.


Top
 Profile  
 
 
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

   
cron
Forums originally Powered by phpBB © 2007 phpBB Group. Contents © 3QD Developments Ltd 2018 version no. 1.07