Print yemadregiya mengedoch

We have translated the English version of Styling for Print to Amharic (a working language in Ethiopia and spoken by more than 40 million people) hoping it will help the great Open Source project, WordPress. If you want to read it in English, click here.

Werdpres yewerdpres sayitochin print lemadreg yemiyaschilu qelal istaylochin yitekemal. Bezuwochu timoch (themes) wedegebeya saywetu befit beteleyayu compiwteroch lay betedegagami temokirewal. Leteleyayu iskirinoch indiseru disayin tedergewal. Yewerdpres sayiton print madregin betemeleketes? Andand sewoch ahunim yeweb getsochin print bemadreg betirf seatachew manbeb yishalu. Bemehonum yewerdpres sayiton leprinting amechi indihon madreg asfelagi yihonal.

Yewerdpres pajin istayilun sayqeyiru print lemadreg bimokiru bewitetu yemiyagegnut minim istayil shit yelelew yaltewuala yeprinting witet yihonal. Qonjo yemayibal yekeheder, yeyizet, yesayidbar (sidebar), ina futer yaltequarete zirzir beprintingu wutet lay yastewilalu.

Yihinin lemayet kefelegu bebrawzero menu lay print >print priviw yimretuna yichanu. Witetun temeleketu? Asdesach aymeslegnim. Minalbatim yanin yemiyahil rejim yesayidbar blogrol linkoch zirzir print madreg biknet new.

Qonjo printing
Sayiton leprinting lemasamer, bsayitu arkitekcher ina beiyandandu sekshin wist yizetun yeteshekemew mewakir lay tikuret madreg alebin. Wanaw mewaqir begilts yeteqemete bemehonu, yewerdpres timoch (themes) yemodular fayil system yihinin guzo kelal yadergetal.

Minim inquan indalowt tim (theme) simachew bileyayim, Yebizuwochu werdpres sayitoch meseretawi mewaqir kezi betach yetemeleketew new:

# heder (header)
#yizet (content)
#asteyayetoch (comments)
#sidebar (or #menu)
#futer (footer)

beraso werdpres tim folder wist (style.css style sheet) yenezihin sekshinoch istayil yagegnalu.

Print lemadreg inzihin sekshinoch makeyayer yeiros guday yihonal. Sifeligu futerun titew sayidbarun print maderg, weyim yefonf istayilun ina metenun melewawet, weyim misilochin prin indiyaderg ina indayaderg liyadergu yichilalu. And misale insetotina yekerewin iraso lilemamedut yichilalu.

Yeprinting istayilochin mefter
Keprinting gar yeteyayazu istayiloch behulet menged litayu yichilalu. Lesayitu kelay yeprinting lewit feligew kwhone, yemejemeriyawin menged metekem ina beketita wede istayl shitu liyakatituachew yichilalu. Yemechereshawin witet liqotateru yemishu kehone gin, berasachew (print.css style sheet) indihonu madreg yeteshale new.

Masasabiya: andand ywerdpres tim tsehafiwoch letimachew yemismama istayil askedimew bemaseb akatew lihon yichilal. Silezi wedefit kemehedo befit, le (print.css style sheet file) yetim folderun, betechemarim be (style.css) wist le printing referens (references to print) yimelketu.

Beistayil shit wist (Inside the Style Sheet)
Yeprinting istayiloch beistayilu shit wist lizegaju yichilalu. Birawzeru inezihin yeprinting istayiloch keistayilu shit wist indifelig litazez yichilal. Inezihim yeprinting istayiloch berasachew sekshin wist menor alebachew.

Birawzerun yeprinting istayilochin ke istayil shitoch wist indifelig lemazez, behedero sekshin wist (header.php template file) ye istayil shit link yilewitu:

type=text/css media=screen />

birawzeron yeprinting istayilochinke istayil shit wist indifelig lemazez:

type=text/css media=screen, print />

yeprint istayilon lemejemer yemiketelewin be istayil shito lay (bizu gize girge lay yigegnal) yakatu.

/* Print Styles */
@media print {
body { background:white; color:black; margin:0 }

Yeprint istayil shi mefter
hulunim ye print istayiloch ficher (feature) yakatete rasun yechale ye istayil shit lemefter:

1. print.css yetesegne yetekist fayil yifteru.
2. bewerdpres tim folder wist sev yadirgut.
3. yeprint istayilu indijemir yemiketelewin yiteyibu aliyam (pest yadirguna) fayilun sev yadirgu.

/* Print Style Sheet */
@media print {
body { background:white; color:black; margin:0 }

4. be (header.php template file) heder sekshin lay ye miketelewin link yifteru:

href=/print.css />

yeprint istayilochin difayin madreg (Defining Print Styles)
be istayilshito yeprint istayiloch sekshin wist, weyim beprint istayilo shit wist, yesayiton istrakcher selekteroch (simoch) kezi betach betemeleketew meseret yakatu (ye irso kezi yeteleye lihon yichilal):

/* Print Style Sheet */
@media print {
body { background:white; color:black; margin:0 }
#header { }
#content { }
#comments { }
#sidebar { }
#footer { }
}

iyandandun sekshin lemakatet, be selekteru diklarashinoch lay (display:block) yemil yakatu.

#content { display:block }

sekshin lalemakatet, print lalemadregim chimir, be selekteru diklarashinoch lay (display:none) yemil yakatu.

#footer { display:none }

(display:none) yetesegnewin bemetekem, print bemiyadergubet wekt manachewim be diregetso lay yalu elementoch inditefu madreg yichalal. Print liyaderguachew yemayfeliguachew inde mastawekiya ina leloch elementoch binoru, beketita be print sekshin wist yemigegnu selekterochachew lay (display:none) bemechemer print indayidergu mekelkel yichalal.
Hederin print madreg
Ye werdpres sayitoch heder tililiqoch nachew. And and gize yepejun yelayigna kifil and sostegna yiyizal. Yih alasfelagina beprinting gize wereket yabakinal. Silezih be print istayilo wist yehederun getsita ina meten meqeyer yichilalu.

Hederu be 200 pikseloch set yetederege sihon yetekist ficherochu degmo ke baze font sayiz antsar be 250% yadege new. Betechemarim demak bicha qelem yasayal. Ye hederu kefita alama grafikochin lemakatet bemehonu, print lamadreg bimokiru bedifolt manachwim yejerba misil istayiloch aywetum (print ayhonum). Be printingu Yemiyagegnut witet hederu yeyazew sefi bota hulu bado hono new.

Getsitawin lemelewet ina yehederun meten lemasanes qelemunim teqebayinet balew meten lemashashal yifeligu yihonal. Yihinin yadirgu:

#header { display:block;
height: 100px;
font-size: 150%;
color:black; }

kelay betemeleketew meseret ke meten ina qelem besteker, yefont istayiloch hulu ayilewetu.

Yemewaqir lewit (Structural Changes)
Yetewesenew yesayito mewaqir beprinting weqt indayikatet yadergut lewit, atekalay yemewaqir lewit asketilual malet aydel.

Bizuwochu timoch (themes) ye yizetachewin kontener ankord daricha betewesene ispot yigeltsalu. Lemisale, 150 pikseloch ke gira ye iskirinu daricha bemeles. Minim inquan sayid baru (display:none) indiyakatit tedergom bihon, be yizetu wist akemametu ina hidagu (margines) kaltekeyere beker, ye 150 pikseloch liyunet bestegira bekul mamtatu aykerim. Yesayidbarun huneta lemastekakelim Ye yizet kiflun akemamet mashashal yasfeligal.

Bizu tetekamiwoch sayidbarun bemekenes ye yizet kiflu lemanbeb amechi yehone sefi bota indiyagegn silemifeligu, yihinin tegbarawi lemadireg yemiketelewin misale yimelketu:

#sidebar { display:none }
#content{ margin-left:0;
float:none;
width:auto }

Yihe huneta, sayidbaru inditefa ina brawzeru bedifolt yetemeretutin manachewinim ye hidag (margin) setingoch indiketel yadergewal.

Ye printing print metenoch
Ye printer mesariyaw bemiredaw melku pikselochin weyim (em) sayihon netibochin (points) bemetekem, yeprinting font metenochin mekotater yichalal.

#header { height:75px;
font-size: 24pt;
color:black }
#content { margin-left:0;
float:none;
width:auto;
color:black;
font-size:12pt }

Yeprinting asteyayetoch
batekalay, sewoch asteyayetochin manbeb yifeligalu. Honom ye asteyayet form print tedergo mayetin ayishum. Yeprint form alama be beiskirinu lay indale lemetekem sihon yihinin print madreg berkata wereqet lifej yichilal.

Be werdpres thim foldero wist (comments.php) weyim (comments-popup.php) yemibalu ye templet fayilochin kagegnu behuala yemitekemutin yikfetu. Be templetu wist ye asteyayet formun ina ye ID selekter weyim sim yifeligu. Yihinin limesil yichilal:

/wp-comments-post.php
method=post id=commentform>ye formu CSS ID (commentform.) Yisegnal. Print bemiyadergubet weqt yih form indayweta, be print istayil kifil wist yemiketelewin yasgebu.

#commentform { display:none }

Gets mekfel (Page Breaks)
inezih behulum ayinet brawzer ina printer lay yemayseru bihonim inquan, mislochon ina grafiksochon lehulet indayqortuachew, wet’ yehonu t’iksochin indayikeflu, indihum kehederu befit inji behuala getsoch indayikefelu mazez yichilalu. Ye diregetson printing bizu yemiyasegawo kehone, kezi betach yetemeleketewin lit’ekemu yigebal.

h1, h2, h3, h4, h5, h6 { page-break-after:avoid;
page-break-inside:avoid }
img { page-break-inside:avoid;
page-break-after:avoid; }
blockquote, table, pre { page-break-inside:avoid }
ul, ol, dl { page-break-before:avoid }

Yeprint istayil misalewoch
print siyadergu lik’ot’at’eruachew yemigebu bizu ye diregets’ dizayin hunetawoch alu. Inezihim: met’en, k’elem, ye linkoch gets’ita, hedingoch, aristoch, yederasiw mereja, ye postu meta data, manachewim yediregets’u kifloch nachew.

Leave a Reply

Your email address will not be published. Required fields are marked *