🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.msdos.programmer
Article #1513

Re: DOS printing ..help please ..

#1513
From: Marcus Houlden
Date: Thu, 15 Mar 2001 11:55
37 lines
2946 bytes
On Tue, 13 Mar 2001 20:41:44 GMT, IOL-News <lignite.nospamm@oceanfree.net.nospamm>
wrote the following to comp.os.msdos.misc:

> Hi All :
> 
> A tricky problem with my printer.
> 
> As part of the EURO project being done by me , a txt file is created in a
> process. This file is written to the LPT port and this is spooled to a HP
> laser printer.This file has EURO symbols.The software generating the file is
> EURO compliant and I can see the EURO symbol being generated.
> 
> When the file is written to the LPT port, I can see the instruction to the
> printer. The EURO symbol has got an ASCII value of 128.When I debug the flat
> file , I can see '80' (128 in HEXA) for the EURO symbol.But , the prointer
> prints some freak character.

If you print plain text to the printer, you have to make sure the printer
itself has the Euro character as part of its character set. Most of them
don't; read the instruction manual to see if yours does.

> 
> Also , what is the relation between WINDOWS,MS-WORD and the PRINTER , as
> regards recognising the EURO symbol.

In Windows there are True Type fonts with the Euro character. When a Word
document containing these characters (and fonts) is printed it gets
processed by the GDI which converts it to a format the printer can
understand. This is at a different level to printing text and contains
instructions such as "print circle", "print dot", "set colour to blue" and
the like.

-- 
Marcus Houlden

"Swear words: Never use asterisks, which are just a cop out"
(Guardian Style Guide: http://www.guardian.co.uk/styleguide/)
Technical Details
Message-ID: <slrn9b1beh.3vu0n89.spam@mh.hf.umist.ac.uk>
Path: arc1-ca.pugleaf.net!nntp.stanford.edu!newsfeed.stanford.edu!news.tele.dk!130.133.1.3!fu-berlin.de!server1.netnews.ja.net!peernews.mcc.ac.uk!news.mcc.ac.uk!spam
References: <cCvr6.17070$PF4.21014@news.iol.ie>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10f6aa,4c3510a475a253c6
X-Google-Attributes: gid10f6aa,public
X-Google-Thread: 102bfa,4c3510a475a253c6
X-Google-Attributes: gid102bfa,public
X-Google-Thread: f79ab,4c3510a475a253c6
X-Google-Attributes: gidf79ab,public
X-Google-Thread: f71eb,4c3510a475a253c6
X-Google-Attributes: gidf71eb,public
X-Google-ArrivalTime: 2001-03-17 02:33:29 PST
Path: arc1-ca.pugleaf.net!nntp.stanford.edu!newsfeed.stanford.edu!news.tele.dk!130.133.1.3!fu-berlin.de!server1.netnews.ja.net!peernews.mcc.ac.uk!news.mcc.ac.uk!spam
From: spam@nukesoft.co.uk (Marcus Houlden)
Newsgroups: alt.msdos.programmer,comp.os.msdos.misc,comp.os.msdos.programmer,ie.comp
Subject: Re: DOS printing ..help please ..
Date: 15 Mar 2001 11:55:53 GMT
Organization: NukeSoft
Lines: 38
Message-ID: <slrn9b1beh.3vu0n89.spam@mh.hf.umist.ac.uk>
References: <cCvr6.17070$PF4.21014@news.iol.ie>
Reply-To: mhoulden@nukesoft.co.uk
NNTP-Posting-Host: hf131.halls.umist.ac.uk
X-Trace: godfrey.mcc.ac.uk 984657353 87680 130.88.173.131 (15 Mar 2001 11:55:53 GMT)
X-Complaints-To: usenet@godfrey.mcc.ac.uk
NNTP-Posting-Date: 15 Mar 2001 11:55:53 GMT
X-ICQ-UIN: 29654055
X-Website: http://www.nukesoft.co.uk/personal/
X-PGP: Keys available from http://www.nukesoft.co.uk/personal/contact.htm
User-Agent: slrn/0.9.6.3 (Win32)