Gutenprint 开发人员指南.pdf
TheDeveloper’sGuideto
Gutenprint
TheGutenprintProject
TheDeveloper’sGuidetoGutenprint
byTheGutenprintProject
Published7thNov,2003
Copyright©2003TheGutenprintProject
Thisprogramisfreesoftware;youcanredistributeitand/ormodifyitunderthetermsoftheGNUGeneralPublic
LicenseaspublishedbytheFreeSoftwareFoundation;eitherversion2oftheLicense,or(atyouroption)anylater
version.
Thisprogramisdistributedinthehopethatitwillbeuseful,butWITHOUTANYWARRANTY;withouteventhe
impliedwarrantyofMERCHANTABILITYorFITNESSFORAPARTICULARPURPOSE.SeetheGNUGeneral
PublicLicenseformoredetails.
YoushouldhavereceivedacopyoftheGNUGeneralPublicLicensealongwiththisprogram;ifnot,see
/licenses/.
TableofContents
Prefacevii
1.Copying,modificationandredistribution1
2.Usinglibgutenprint3
2.1.Codeprerequisites3
2.2.Linkingwithlibgutenprint3
2.3.Integratinglibgutenprint3
2.3.1.pkg-config4
2.3.2.make4
2.3.3.autoconf5
2.3.4.automake5
3.ReportingBugs7
4.Addinganewprinter9
4.1.printers.xml9
4.2.Thedriverfile10
4.2.1.Epsoninkjetprinters11
4.2.2.Tuningtheprinter17
4.2.3.Canoninkjetprinters19
5.ESC/P221
5.1.Standardcommands21
5.2.RemoteModeCommands28
5.3.AppropriateRemoteCommands36
6.Weavingforinkjetprinters39
6.1.Introduction39
6.2.W