Problem with HP LaserJet M1522nf

Questions, comments and suggestions concerning VintaSoft Twain ActiveX.

Moderator: Alex

Post Reply
BerezhnoyEA
Posts: 5
Joined: Tue Jan 26, 2010 12:45 pm

Problem with HP LaserJet M1522nf

Post by BerezhnoyEA » Tue Jan 26, 2010 1:16 pm

Good day.

The printer HP 1522 cannot set bounds of area of scanning. The document turns out in the size 8,5 on 14 inches.
In error string it is written that property PageSize is not supported and not worked.
The codes of additional possibilities supported by the scanner (found programming):
  • 1
    256
    257
    258
    259
    4098
    4101
    4103
    4107
    4109
    4110
    4111
    4114
    4115
    4116
    4352
    4353
    4355
    4360
    4364
    4369
    4370
    4374
    4375
    4376
    4377
    4380
    4383
    4384
    4387
    4388
    4389
    4395
    4396
I have checked up all of them - among them there is no code which would specify set of bounds.

Best regards,
Berezhnoy Evgeniy

Alex
Site Admin
Posts: 1464
Joined: Thu Jul 10, 2008 2:21 pm

Re: Problem with HP LaserJet M1522nf

Post by Alex » Thu Jan 28, 2010 9:39 am

Hello Evgeniy,

VSTwain.PageSize property can be used only if the ICAP_SUPPORTEDSIZES capability (0x1122 = 4386) is supported by the scanner.
This capability is not supported by your scanner as you can see in the list. I think you are using WIA driver, not TWAIN driver - try to use TWAIN driver. Also you can try to use the VSTwain.SetImageLayout method instead of the VSTwain.PageSize property.

Best regards, Alexander

BerezhnoyEA
Posts: 5
Joined: Tue Jan 26, 2010 12:45 pm

Re: Problem with HP LaserJet M1522nf

Post by BerezhnoyEA » Thu Jan 28, 2010 1:06 pm

Hello, Alex!
Thank you for answer. But I use TWAIN driver (not WIA). Really. And method SetImageLayout worked uncorrect. If I set values 0, 0, 8.3, 11.7 (standart A4) - it not work. If I some cutting edges, example, 0.1, 0.1, 8.2, 11.6 - it's workly. But I need full page, with borders.

Any ideas? Alex, you can try scan over scanner and check this bug?

Best regards, Berezhnoy Evgeniy.

Alex
Site Admin
Posts: 1464
Joined: Thu Jul 10, 2008 2:21 pm

Re: Problem with HP LaserJet M1522nf

Post by Alex » Fri Jan 29, 2010 5:12 pm

Hello Evgeniy,

Please generate log-file and send it to our support team at support@vintasoft.com

Best regards, Alexander

BerezhnoyEA
Posts: 5
Joined: Tue Jan 26, 2010 12:45 pm

Re: Problem with HP LaserJet M1522nf

Post by BerezhnoyEA » Wed Nov 24, 2010 12:43 pm

Hallo! I'am sorry for involuntary silence. Can we proceed on the topic?
I generated 2 logs - first from ADF (in which margins is incorrect) and second one is from flatbed.
When I use "SetImageLayout", scanned image have incorrect margins too.
I have posted logs and images on http://ul.to/b1vhmb , because it seems you didn't get my email.
Best regards, Evgeniy Berezhnoy.

Alex
Site Admin
Posts: 1464
Joined: Thu Jul 10, 2008 2:21 pm

Re: Problem with HP LaserJet M1522nf

Post by Alex » Wed Nov 24, 2010 2:19 pm

Hello Evgeniy,

I think scanner has "bad" driver. Please download Twacker (http://www.twain.org/docs/Twack_32.msi), acquire images from your scanner using this application and let me know results.

Best regards, Alexander

BerezhnoyEA
Posts: 5
Joined: Tue Jan 26, 2010 12:45 pm

Re: Problem with HP LaserJet M1522nf

Post by BerezhnoyEA » Thu Nov 25, 2010 1:37 pm

Hallo, Alex!
Reinstalling driver didn't work.
It seems if i use

Code: Select all

VSTwain1.SetImageLayout 0, 0, 8.3, 11.7 
i'll get 210 x 355 image size, BUT if i use

Code: Select all

VSTwain1.SetImageLayout 0, 0, 8.28, 11.68 
then i get right image size.

Best regards, Evgeniy Berezhnoy

Alex
Site Admin
Posts: 1464
Joined: Thu Jul 10, 2008 2:21 pm

Re: Problem with HP LaserJet M1522nf

Post by Alex » Fri Nov 26, 2010 2:43 pm

Hello Evgeniy,

Have you tested driver of your scanner with other applications, for example with TWAIN Twacker?

Best regards, Alexander

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest