PCbanter

PCbanter (http://www.pcbanter.net/index.php)
-   General XP issues or comments (http://www.pcbanter.net/forumdisplay.php?f=18)
-   -   Windows scanner that works with wine (http://www.pcbanter.net/showthread.php?t=1108004)

AK[_4_] June 9th 19 02:11 AM

Windows scanner that works with wine
 
I recalled getting some help here from users who use Linux and Windows.

I am using Ubuntu Mate.

I am using a Canon TS9120 scanner/printer.

Also installed the official drivers.

The scanner program scans ok, but has no way to change the resolution.

When I try to install Scangear, it says

To install software, you must be logged in to an admin account. It says to remove the cd and log as an admin.

Is there a workaround?

Thanks.

Paul[_32_] June 9th 19 07:04 AM

Windows scanner that works with wine
 
AK wrote:
I recalled getting some help here from users who use Linux and Windows.

I am using Ubuntu Mate.

I am using a Canon TS9120 scanner/printer.

Also installed the official drivers.

The scanner program scans ok, but has no way to change the resolution.

When I try to install Scangear, it says

To install software, you must be logged in to an admin account. It says to remove the cd and log as an admin.

Is there a workaround?

Thanks.


OK, now your header makes sense.

You're a Google Grouper.

groups.google.com likely doesn't have the following newsgroup
but you could check.

alt.os.linux.ubuntu

The news server nntp.aioe.org doesn't need an account
and works on port 110. It would have that group. You need
a USENET news reader program to use it. Thunderbird could
work for example.

The news server news.mixmin.net is a possible second
server you could try.

You seem to be asking a Linux question in a Windows group,
because microsoft.public.windowsxp.general *is* in Google
Groups. It's an example of a private hierarchy which was
bridged to USENET, where the source of the private hierarchy
was turned off by Microsoft, yet the bridged copies remain running
and still work today. The reason this group is here today
(apparently), is because no signed rmgroup message was
sent by Microsoft when it shut off its own server.

*******

I don't know if what you're doing is exactly WINE.
The scangear program window makes reference to "libusb",
so it probably isn't WINE.

On UBuntu, you use the "sudo" or "Mother May I" preface
to a command, to run as administrator.

apt search picklefactory # searching doesn't require admin

sudo apt install picklefactory # installing does require admin.
# Note the sudo on the front.

SUDO is not a given. Distros differ on their idea of "security
theater". The SUDO package uses a sudoers file, which defines
whether the person using the sudo command can do "everything",
or only selective things. In a corporate environment for example,
my IT guy gave me sudo initially only for the "mount" and "umount"
commands.

So while Ubuntu has sudo enabled on the main account, and
everything is turned on, and you can "sudo su root" or
"su -" or so, not every distro or situation will be that
open. If you do choose to become root (for chuckles I would
assume), be aware that it's bad OPSEC to do that. Some
programs will even detect attempts to run as real root,
and they can even quit if they feel philosophically disposed
to do so.

*******

They fool around with scangearMP here (Canon software for scanning
under Linux).

If a package needed sudo (which it most certainly does),
then you plunk "sudo" in front of whatever you just typed.

apple banana pear # you try some instruction you found
# and it tells you to get stuffed and
# "become a level 41 Wizard" then...

sudo apple banana pear # Now you're root and doin it.
# You will be prompted for your normal
# user account password. This "elevates"
# just this command, and no other.

The claim here is, that scangearMP apparently has a sane or xsane
driver and setup, and can be accessed by the normal other tools
for the job.

https://unix.stackexchange.com/quest...gearmp-drivers

I don't have the materials here to test this.

Paul

AK[_4_] June 12th 19 04:12 AM

Windows scanner that works with wine
 
On Sunday, June 9, 2019 at 1:04:15 AM UTC-5, Paul wrote:
AK wrote:
I recalled getting some help here from users who use Linux and Windows.

I am using Ubuntu Mate.

I am using a Canon TS9120 scanner/printer.

Also installed the official drivers.

The scanner program scans ok, but has no way to change the resolution.

When I try to install Scangear, it says

To install software, you must be logged in to an admin account. It says to remove the cd and log as an admin.

Is there a workaround?

Thanks.


OK, now your header makes sense.

You're a Google Grouper.

groups.google.com likely doesn't have the following newsgroup
but you could check.

alt.os.linux.ubuntu

The news server nntp.aioe.org doesn't need an account
and works on port 110. It would have that group. You need
a USENET news reader program to use it. Thunderbird could
work for example.

The news server news.mixmin.net is a possible second
server you could try.

You seem to be asking a Linux question in a Windows group,
because microsoft.public.windowsxp.general *is* in Google
Groups. It's an example of a private hierarchy which was
bridged to USENET, where the source of the private hierarchy
was turned off by Microsoft, yet the bridged copies remain running
and still work today. The reason this group is here today
(apparently), is because no signed rmgroup message was
sent by Microsoft when it shut off its own server.

*******

I don't know if what you're doing is exactly WINE.
The scangear program window makes reference to "libusb",
so it probably isn't WINE.

On UBuntu, you use the "sudo" or "Mother May I" preface
to a command, to run as administrator.

apt search picklefactory # searching doesn't require admin

sudo apt install picklefactory # installing does require admin.
# Note the sudo on the front.

SUDO is not a given. Distros differ on their idea of "security
theater". The SUDO package uses a sudoers file, which defines
whether the person using the sudo command can do "everything",
or only selective things. In a corporate environment for example,
my IT guy gave me sudo initially only for the "mount" and "umount"
commands.

So while Ubuntu has sudo enabled on the main account, and
everything is turned on, and you can "sudo su root" or
"su -" or so, not every distro or situation will be that
open. If you do choose to become root (for chuckles I would
assume), be aware that it's bad OPSEC to do that. Some
programs will even detect attempts to run as real root,
and they can even quit if they feel philosophically disposed
to do so.

*******

They fool around with scangearMP here (Canon software for scanning
under Linux).

If a package needed sudo (which it most certainly does),
then you plunk "sudo" in front of whatever you just typed.

apple banana pear # you try some instruction you found
# and it tells you to get stuffed and
# "become a level 41 Wizard" then...

sudo apple banana pear # Now you're root and doin it.
# You will be prompted for your normal
# user account password. This "elevates"
# just this command, and no other.

The claim here is, that scangearMP apparently has a sane or xsane
driver and setup, and can be accessed by the normal other tools
for the job.

https://unix.stackexchange.com/quest...gearmp-drivers

I don't have the materials here to test this.

Paul


Thanks, your search for an answer is impressive. :-)

The link you gave is exactly what I used to get the scanner to scan to a pdf
or jpg.

That is all it does, with no features like changing the scanning resolution etc.

It would be nice to find a workaround to needing an admin account to install software.

Wine lets users "install" many Windows programs.

But on thinking about it, I do not think a Windows scanner program would see the drivers that were installed by Linux Ubuntu. One program could not find the TWAIN drivers.

Andy


Paul[_32_] June 12th 19 06:05 AM

Windows scanner that works with wine
 
AK wrote:

Thanks, your search for an answer is impressive. :-)

The link you gave is exactly what I used to get the scanner to scan to a pdf
or jpg.

That is all it does, with no features like changing the scanning resolution etc.

It would be nice to find a workaround to needing an admin account to install software.

Wine lets users "install" many Windows programs.

But on thinking about it, I do not think a Windows scanner program would see the drivers
that were installed by Linux Ubuntu. One program could not find the TWAIN drivers.

Andy


I agree with this.

WINE is limited in terms of what subsystems extend "outside of WINE".

*******

The "Advanced Mode" has an output resolution setting...

https://i.stack.imgur.com/TkEuA.png

The description of the Windows version implies that resolution
setting is actually the scanning resolution.

https://support.usa.canon.com/kb/ind...howDraft=false

On my old scanner, the scanning resolution setting was
important, because the scanner had a "descreen plugin"
which reduced aliasing between the "dots" on newsprint
and the "dots" of the scanner itself. I don't see any
mention of descreen in this case.

*******

"In terminal, I successfully install xsane by typing

sudo apt install xsane

. Then I type xsane to open the GUI and then a little
window saying 'scanning for devices' pops up, then

https://i.stack.imgur.com/Wl3br.png

window opens. For some reason, xsane doesn't want to work"

And you can see in the error dialog, xsane is trying to
reach an IP address when it fails.

So far, I'm not seeing the "conventional level of control".

I think the Canon package is supposed to support this.
It should work.

*******

On my Scanner and Linux, the scanner was "supported" but the
driver went nuts. Even if you stopped scanning, the driver
was still moving the bed around. The software didn't even
seem to know the scanner was multi-pass, and it had a "cal
pass" where it reads a white strip under the table to
calibrate the color from the CCFL tubes. (It would take
about 20 minutes for the tubes to stop shifting, and
apparently the scanner was checking for this anyway.)
The Linux driver didn't seem to know about this, and it
was "doing crazy stuff". At least it didn't damage the
transport, which is always a possibility with "nuts drivers".
On some electromechanical devices, timing is important.

Paul

AK[_4_] June 13th 19 02:19 AM

Windows scanner that works with wine
 
On Wednesday, June 12, 2019 at 12:05:25 AM UTC-5, Paul wrote:
AK wrote:

Thanks, your search for an answer is impressive. :-)

The link you gave is exactly what I used to get the scanner to scan to a pdf
or jpg.

That is all it does, with no features like changing the scanning resolution etc.

It would be nice to find a workaround to needing an admin account to install software.

Wine lets users "install" many Windows programs.

But on thinking about it, I do not think a Windows scanner program would see the drivers
that were installed by Linux Ubuntu. One program could not find the TWAIN drivers.

Andy


I agree with this.

WINE is limited in terms of what subsystems extend "outside of WINE".

*******

The "Advanced Mode" has an output resolution setting...

https://i.stack.imgur.com/TkEuA.png

The description of the Windows version implies that resolution
setting is actually the scanning resolution.

https://support.usa.canon.com/kb/ind...howDraft=false

On my old scanner, the scanning resolution setting was
important, because the scanner had a "descreen plugin"
which reduced aliasing between the "dots" on newsprint
and the "dots" of the scanner itself. I don't see any
mention of descreen in this case.

*******

"In terminal, I successfully install xsane by typing

sudo apt install xsane

. Then I type xsane to open the GUI and then a little
window saying 'scanning for devices' pops up, then

https://i.stack.imgur.com/Wl3br.png

window opens. For some reason, xsane doesn't want to work"

And you can see in the error dialog, xsane is trying to
reach an IP address when it fails.

So far, I'm not seeing the "conventional level of control".

I think the Canon package is supposed to support this.
It should work.

*******

On my Scanner and Linux, the scanner was "supported" but the
driver went nuts. Even if you stopped scanning, the driver
was still moving the bed around. The software didn't even
seem to know the scanner was multi-pass, and it had a "cal
pass" where it reads a white strip under the table to
calibrate the color from the CCFL tubes. (It would take
about 20 minutes for the tubes to stop shifting, and
apparently the scanner was checking for this anyway.)
The Linux driver didn't seem to know about this, and it
was "doing crazy stuff". At least it didn't damage the
transport, which is always a possibility with "nuts drivers".
On some electromechanical devices, timing is important.

Paul


I made a post in the official Canon forum.

I asked if they had a fix or were planning one for their Linux drivers.
Scangear in particular.

Sometimes Linux is treated like a step child by hardware companies.


Andy


All times are GMT +1. The time now is 12:44 PM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 2004 - 2006 PCbanter
Comments are property of their posters