Home › Forums › TWAIN Classic › TWAIN Data Source defaults for HP M1536dnf
- This topic has 4 replies, 2 voices, and was last updated 8 years, 11 months ago by Catherine Sea.
- AuthorPosts
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]
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!
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.
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 okICAP_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!
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.
- AuthorPosts