TWAIN Working Group

Newsletter Signup
Donate
Help keep TWAIN free
  • About TWAIN
    • What’s New?
    • News
    • Events
    • Membership
    • Consider a Donation
    • Contact Us
  • Why TWAIN?
  • Developers
    • Driver Developer
    • Application Developer
    • TWAIN Features
    • Specification & Tools
    • Self Certification Process
  • Support Forums
  • Scanner End-User
  • Find Certified Drivers
    • Facebook
    • LinkedIn
    • Vimeo

TWAIN Data Source defaults for HP M1536dnf

Forums › TWAIN Classic › TWAIN Data Source defaults for HP M1536dnf

  • This topic has 4 replies, 2 voices, and was last updated 1 week, 2 days ago by Carrolgzi.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • April 2, 2015 at 5:04 pm #23001 Reply
    IRSmart21
    Participant
    • Topics - 1
    • Replies - 2
    • Total Posts - 3

    Good Afternoon!

    I am currently nursing a bloody forehead from a problem I am facing with TWAIN integration in our company’s ERP. Our ERP has the option to allow our customer service department to scan and attach documents (PO’s, acknowledgements, POD’s, etc…) directly to a customer’s order via TWAIN. The scanning part of this works GREAT with the HP LaserJet M1536 that we have deployed company-wide. The issue we are running into is the quality of the scan. No matter what I do whether I modify the ScanApp.ini, adjust the settings trough the HPScan UI, or change the settings in the HP LJ M1530 Scan program, the scans always come back looking like garbage.

    We have been back and forth multiple times with the software developer concerning this and they have told us that they do not control any of the scan settings in the program when the TWAIN function is called. SO, the nearest I can figure is that because they do not call for a specific resolution, the function automatically sets the resolution to the default settings (of 75dpi) held in the hpxsTwain.ds data source file, which can be viewed here: http://www.eztwain.com/pub/reports/HP%20LJ%20M1530%20Scan%20TWAIN.txt

    I have poked around with Twacker, Twirl, Twister, (and I think there was a Twinkie in there somewhere 😉 ) to try and set these. From what I have observed, these programs are all designed for programmers to determine and test the capabilities of a TWAIN scanner to ensure complete integration with whatever they are developing and are NOT designed to permanently change the data source files.

    Here is my question: Do any of you here know of a way to open the data source or how to permanently change the settings in the data source file to suit my needs? Or am I completely off my rocker to think that I will be able to make this change without forcing the developer to change their programming to make this work?

    Please forgive me if anything that I have said fails to make sense or if I have left any important information out that will help you all here point me in the right direction.

    ANY help that is given will be greatly appreciated.

    Thanks!

    [attachment=0:2xg5rs54]Twain Files for HP M1536dnf.zip[/attachment:2xg5rs54]

    April 10, 2015 at 2:47 pm #26257 Reply
    IRSmart21
    Participant
    • Topics - 1
    • Replies - 2
    • Total Posts - 3

    I am wondering if i failed to post this question in the correct area as I see some activity (52 views at the time of this reply) and have yet to get a simple “Yeah, you ARE a moron for even thinking you can do what you are asking” reply.

    Do I need to move this question to another section to get the proper aid or acknowledgement from anybody?

    Again, any help will be GREATLY appreciated.

    Thanks!

    April 13, 2015 at 6:01 am #26258 Reply
    Catherine Sea
    Participant
    • Topics - 0
    • Replies - 59
    • Total Posts - 59

    You mentioned you have poked around with Twacker. Did you try using Twacker to scan from your HP scanner with the same scanning settings? How did it turn out?

    You may also try scanning with this online demo of Dynamic Web TWAIN (a web-based TWAIN SDK). If the same issue happens, check ‘Show UI’ checkbox to show the user interface of the scanner and adjust the settings there and see how it works.

    If it works fine with Twacker or Dynamic Web TWAIN demo, then you may talk again with your software developer and check why your program didn’t pick up your resolution settings.

    Hope it helps.

    April 13, 2015 at 3:08 pm #26259 Reply
    IRSmart21
    Participant
    • Topics - 1
    • Replies - 2
    • Total Posts - 3

    Thank you for your reply.

    I feel a little insulted that my original post and question were not fully read and replied to.

    “No matter what I do whether I modify the ScanApp.ini, adjust the settings trough the HPScan UI, or change the settings in the HP LJ M1530 Scan program, the scans always come back looking like garbage.“

    I have already tried using the UI to change the settings.

    “We have been back and forth multiple times with the software developer concerning this and they have told us that they do not control any of the scan settings in the program when the TWAIN function is called.

    I have poked around with Twacker, Twirl, Twister, (and I think there was a Twinkie in there somewhere 😉 ) to try and set these. From what I have observed, these programs are all designed for programmers to determine and test the capabilities of a TWAIN scanner to ensure complete integration with whatever they are developing and are NOT designed to permanently change the data source files.”

    While I stated that I have poked around with Twacker, I also stated that I am now aware of the fact that this (and other programs like it) are designed to TEST the TWAIN capabilities of the scanners and they do not make any PERMANENT changes the data source file. My professional observation of this whole situation is that the default resolution in the data source file is what is being reverted to when the TWAIN function is called, being that the software developer is NOT calling a specific resolution. (Please refer to the above link to view the values of the .DS file)

    ICAP_XRESOLUTION:
    GET………….fix32 ENUM{ 75, 100, 150, 200, 300, 600, 1200 } Current:
    75, Default: 75

    GETCURRENT……fix32 75
    GETDEFAULT……fix32 75
    SET………….75 ok
    SET………….100 ok
    SET………….150 ok
    SET………….200 ok
    SET………….300 ok
    SET………….600 ok
    SET………….1200 ok

    ICAP_YRESOLUTION:
    GET………….fix32 ENUM{ 75, 100, 150, 200, 300, 600, 1200 } Current:
    75, Default: 75

    GETCURRENT……fix32 75
    GETDEFAULT……fix32 75
    SET………….75 ok
    SET………….100 ok
    SET………….150 ok
    SET………….200 ok
    SET………….300 ok
    SET………….600 ok
    SET………….1200 ok

    “Here is my (original) question: Do any of you here know of a way to OPEN the data source or how to permanently change the settings in the data source file to suit my needs? Or am I completely off my rocker to think that I will be able to make this change without forcing the developer to change their programming to make this work?”

    “If it works fine with Twacker or Dynamic Web TWAIN demo, then you may talk again with your software developer and check why your program didn’t pick up your resolution settings.”

    “We have been back and forth multiple times with the software developer concerning this and they have told us that they do not control any of the scan settings in the program when the TWAIN function is called.”

    Like I stated: The software developer is not calling or looking for ANY resolution setting, they are allowing the DEFAULT settings of the TWAIN driver to control the resolution (which for all of my research I have done, is held in the data source file). In this situation, 75DPI is the default value held in the data source file.

    Is it possible for me to manually manipulate the values in the data source file to make the default resolution higher than 75 DPI??

    Thanks!

    April 14, 2015 at 1:52 pm #26260 Reply
    Catherine Sea
    Participant
    • Topics - 0
    • Replies - 59
    • Total Posts - 59

    Is it possible for me to manually manipulate the values in the data source file to MAKE the default resolution higher than 75 DPI??

    Unfortunately, I am not aware of a way to manually change the default DPI setting in the DS file. I assume you need to contact HP support for further assistance in this case.

    The issue we are running into is the quality of the scan. No matter what I do whether I modify the ScanApp.ini, adjust the settings trough the HPScan UI, or change the settings in the HP LJ M1530 Scan program, the scans always come back looking like garbage.

    Just to confirm: so you are able to scan with a higher DPI in the HP Scan program but only not in your ERP program, right? If so, and if there is no DPI setting in the code of your ERP, you are right that the scanner will pick up the default setting (75 DPI). It should not be too difficult for your developers to show a list of available DPI values for scanning (or simply call the scanner UI for detailed settings) in your ERP. Something similar as the “Custom Scan” section on this page could make life a lot easier.

    If you can’t even scan with a higher DPI in both the HP Scan program and your ERP, it should be a problem of the driver. Try reinstalling the twain driver to see if it makes any difference.

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: Reply #26259 in TWAIN Data Source defaults for HP M1536dnf
Your information:




Quick Links

Service Providers
TWAIN Support Forums
Membership
Contact Us
Privacy Policy

Newsletter Signup

TWAIN Working Group Family

TWAIN Working Group
TWAIN Direct®
TWAIN Resources
TWAIN Certified Drivers
PDF/raster

  • Facebook
  • GitHub
  • LinkedIn
  • Vimeo

Recent Topics

  • TWAIN for dental imaging integration
  • PDF/R For who and where?
  • Making searchable PDF with PDF/R
  • Backward compatibility with PDF/A and traditional PDF
  • could not open the twain source. Make sure there is a valid source for your sca
  • Quarterly Newsletter
  • TWAIN Working Group Membership
  • Logo Usage
  • TWAIN License
  • Contact Us
Privacy Policy • Privacy Tools • Copyright © 2021 TWAIN Working Group • by iHwy, LLC • Log in

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.