[sane-devel] [PATCH 1/1] kvs1025 : Fix Paper range support

Matthew Wild Matthew.Wild at stfc.ac.uk
Fri Jul 27 12:07:05 UTC 2012


Current Panasonic KV-S1025c driver kvs1025 is limited to A4 paper 
scanning. This path extends the limits to the actual capabilities of the 
scanner and allows for suitably long scans.


--- kvs1025.h   2012/07/20 14:47:14     1.1
+++ kvs1025.h   2012/07/20 14:48:18
@@ -18,9 +18,9 @@
  /* Build version */
  #define V_BUILD            3

-/* Paper range supported -- MAX A4 */
-#define KV_MAX_X_RANGE     210
-#define KV_MAX_Y_RANGE     297
+/* Paper range supported -- MAX scanner limits */
+#define KV_MAX_X_RANGE     216
+#define KV_MAX_Y_RANGE     2540

  /* Round ULX, ULY, Width and Height to 16 Pixels */
  #define KV_PIXEL_ROUND  19200

Regards

Matthew

-- 
Scanned by iCritical.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Matthew_Wild.vcf
Type: text/x-vcard
Size: 359 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20120727/134f3b30/attachment.vcf>


More information about the sane-devel mailing list