printer programming
Nick Apostolakis
nickapos at agriroot.aua.gr
Wed Aug 22 11:48:05 EEST 2001
swsti i apopsi sou omws edw yparxei ena mikro provlima.
otan typwneis se ascii agglika tote ola einai ok.
omws otan thes na typwseis ellinika se ektypwti pou den exei ellinika
fonts (px enas kroustikos, enas injekt ktl) tote ti kanoume?
to postscript einai mia lysi alla oxi kai toso voliki otan thes to
programma sou na ftiaxnei reports....
--------------------------------------------------------------
| Nick Apostolakis |
| e-mail: nickapos at agriroot.aua.gr n1978 at yahoo.com |
| Web Site: http://agriroot.aua.gr/~nickapos |
--------------------------------------------------------------
On Tue, 21 Aug 2001, Christos Ricudis wrote:
> Hello Nick!
>
> On 20 Aug 01, Nick Apostolakis wrote to All with subject "printer
> programming":
>
> NA> tha ithela na kanw mia erwtisi.
> NA> mipws kserei kaneis kapoio url-keimeno-howto ktl
> NA> sto opoio na perigrafetai pws mporoume na enswmatwsoume
> NA> se ena programma mas ypostiriksi ektypwsis?
>
> Nai. Rwtas ton user ti 8elei na kaneis.
>
> Dystyxws den yparxei enas standard tropos ektypwshs sto Unix. Once there was
> lpr, alla to SVR4 thn antikatesthse me ena eksairetika mperdemeno ektrwma, poy
> legetai lp. Polla SVR4 based systhmata exoyn ena lpr compatibility layer apo
> panw, alla oxi ola.
>
> Epeita, den ksereis an kai ti parametrous 8elei na perasei o user sthn lpr. by
> default typwnei ston printer "lp", h ston prwto prwto printer poy dhlwneis sto
> printcap, h se oti exei dhlwsei o user sthn environment variable $PRINTER. Kai
> pali ayto den einai universal, exw dei lpr poy agnooyn to $PRINTER. Fysika, to
> lpr pairnei kai merikes dekades alla options, diaforetika ana lpr incarnation,
> to default twn opoiwn mporeis na stoixhmathseis oti 8a einai la8os.
>
> Etsi, ftiaxneis ena default printing command toy styl "lpr %s", kai rwtas ton
> user an 8elei na to allaksei. Meta to pernas sthn sprintf() h opoia antika8ista
> to %s me to filename toy arxeiou. For a real living example, see netscape.
>
>
>
>
> --
> Christos Ricudis
>
> In God we trust.
> All others must present a valid X.509 certificate.
>
More information about the Linux-greek-users
mailing list