Re: [SLUG] How to do a Custom Print Processor in Linux ?

2011-05-10 Thread David Lyon
On Wed, May 11, 2011 at 1:27 PM, Nick Andrew  wrote:

>
> > then the network goes, and it all breaks and users complain.
>
> It doesn't sound like a software problem.
>

In a sense you are right. But the subtlety of who's fault it is never goes
to
the person who kicked the wire out, just the IT department as a whole.


>
> > Now I want to move the rendering of text files to a Linux server (some
> > stable ones
> > exist here) and hoping to do the same in Linux.
>
> Would it be possible to run the DOS software in a virtual machine under
> linux?
>

dBaseIV works amazingly well under DOSBox - but they don't want to use it.

That's not the problem. The problem is that it's getting hard to find Laser
printers
that print ascii data streams. Recent HP printers no longer work with
character
streams. So we have to intercept the print stream and "render" to graphics.
Including
all the character escapes that make things bigger and bold and so forth.
That part is
all working fine with the Windows GDI.

It seems what I need to do is make a postscript rendering engine for it to
work
under Linux. Which looks possible, but I'm open to other ideas.

David
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] How to do a Custom Print Processor in Linux ?

2011-05-10 Thread Nick Andrew
On Wed, May 11, 2011 at 11:53:00AM +1000, David Lyon wrote:
> Its
> all good until electrical contractors come and disconnect cables from the
> hub, and
> then the network goes, and it all breaks and users complain.

It doesn't sound like a software problem.

> Now I want to move the rendering of text files to a Linux server (some
> stable ones
> exist here) and hoping to do the same in Linux.

Would it be possible to run the DOS software in a virtual machine under linux?

Nick.
-- 
PGP Key ID = 0x418487E7  http://www.nick-andrew.net/
PGP Key fingerprint = B3ED 6894 8E49 1770 C24A  67E3 6266 6EB9 4184 87E7
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] How to do a Custom Print Processor in Linux ?

2011-05-10 Thread David Lyon
Hi all,

Background for this is that a client has a dBaseIV DOS accounting system
that they will upgrade after the Senior Partner retires. Which is a decade
or
more away. Printing from DOS is the not negotiable part.

For a few years, I've run a server on a Windows machine that intercepts
LPT1:
data and sends it to a TCP/IP port where I have a server process that then
renders the
text output to graphics (Windows GDI) under Windows and the output prints.
Its
all good until electrical contractors come and disconnect cables from the
hub, and
then the network goes, and it all breaks and users complain.

This problem only occurs in XP, not on Windows 2000, but the W2K is
disappearing.

Now I want to move the rendering of text files to a Linux server (some
stable ones
exist here) and hoping to do the same in Linux.

Anybody know how to drive CUPS from Python and do GDI level control ?
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html