kopia lustrzana https://gitlab.com/sane-project/backends
Merge branch 'escl-fix-version-xml-job' into 'master'
escl: fix version job. See merge request sane-project/backends!734251-scanner-canon-mf110-910-series-is-not-supported
commit
8daae197a0
|
@ -46,7 +46,7 @@ struct downloading
|
|||
static const char settings[] =
|
||||
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>" \
|
||||
"<scan:ScanSettings xmlns:pwg=\"http://www.pwg.org/schemas/2010/12/sm\" xmlns:scan=\"http://schemas.hp.com/imaging/escl/2011/05/03\">" \
|
||||
" <pwg:Version>2.0</pwg:Version>" \
|
||||
" <pwg:Version>%.2f</pwg:Version>" \
|
||||
" <pwg:ScanRegions>" \
|
||||
" <pwg:ScanRegion>" \
|
||||
" <pwg:ContentRegionUnits>escl:ThreeHundredthsOfInches</pwg:ContentRegionUnits>" \
|
||||
|
@ -266,6 +266,7 @@ escl_newjob (capabilities_t *scanner, const ESCL_Device *device, SANE_Status *st
|
|||
}
|
||||
}
|
||||
snprintf(cap_data, sizeof(cap_data), settings,
|
||||
device->version,
|
||||
scanner->caps[scanner->source].height,
|
||||
scanner->caps[scanner->source].width,
|
||||
off_x,
|
||||
|
|
Ładowanie…
Reference in New Issue