[opensuse] Problems with serial printer
I have a serial receipt printer connected to my server. Printing System is CUPS on SuSe 10.2. Until upgrade it was working OK. Since then how ever I often get this message: "Unable to open serial port device file "/dev/ttyS0": Permission denied" from CUPS. I have to play with it a little set up the printer again and it works for a while. Then it stops working again. How do I make it working permanently? -- Regards, George Osvald OK Studio ® http://www.okstudio.com.au Email: mail@okstudio.com.au -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
George Osvald wrote:
I have a serial receipt printer connected to my server. Printing System is CUPS on SuSe 10.2. Until upgrade it was working OK. Since then how ever I often get this message:
"Unable to open serial port device file "/dev/ttyS0": Permission denied"
from CUPS. I have to play with it a little set up the printer again
"play with it a little" means doing what, precisely? Which commands and with what arguments, exactly?
and it works for a while.
Until you do what???
Then it stops working again. How do I make it working permanently?
You haven't even told us how you got it working temporarily. We are not mindreaders, so how in the world should we know? Ask an information deficient question -- get an information deficient answer. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Monday 14 May 2007 12:17, Aaron Kulkis wrote:
George Osvald wrote:
I have a serial receipt printer connected to my server. Printing System is CUPS on SuSe 10.2. Until upgrade it was working OK. Since then how ever I often get this message:
"Unable to open serial port device file "/dev/ttyS0": Permission denied"
from CUPS. I have to play with it a little set up the printer again
"play with it a little" means doing what, precisely?
Which commands and with what arguments, exactly?
and it works for a while.
Until you do what???
Then it stops working again. How do I make it working permanently?
You haven't even told us how you got it working temporarily.
We are not mindreaders, so how in the world should we know?
Ask an information deficient question -- get an information deficient answer.
The printer is DYMO LabelWriter SE 300. I use it as a POS receipt printer from SQL-LEDGER. When I was setting up the printer for the first time I was running SUSE 9.0. I configured it on a raw que in CUPS and it worked without a problem until upgrade to SUSE 10.2. (This was not the first upgrade I have done. I went through every version) CUPS setup was simple. These are the settings that have been working for a couple of years: Description: Receipt Printer Location: shop Make and Model: Local Raw Printer Printer State: stopped, accepting jobs, published. Device URI: serial:/dev/ttyS0?baud=9600+bits=8+parity=none+flow=soft When it stopped for the first time I tried: Changing permitions on dev/ttyS0 - that did not make any difference. I tried to delete the printer using yast and reinstall it - no use The only way how to make it working again is to delete the printer using CUPS and then set it up with Yast. When I upgrade something significant (kernel for example) I usually restart the computer. The printer then stops working and I have to do the whole thing again. It did however stop once without any reason. As if access permitions for ttyS0 were changed by the system. -- Regards, George Osvald OK Studio ® http://www.okstudio.com.au Email: mail@okstudio.com.au -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
George Osvald wrote:
I have a serial receipt printer connected to my server. Printing System is CUPS on SuSe 10.2. Until upgrade it was working OK. Since then how ever I often get this message:
"Unable to open serial port device file "/dev/ttyS0": Permission denied"
from CUPS. I have to play with it a little set up the printer again and it works for a while. Then it stops working again. How do I make it working permanently?
You might start by telling us how you got it going and what happens when it fails again. -- Use OpenOffice.org <http://www.openoffice.org> -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Monday 2007-05-14 at 11:50 +1000, George Osvald wrote:
I have a serial receipt printer connected to my server. Printing System is CUPS on SuSe 10.2. Until upgrade it was working OK. Since then how ever I often get this message:
"Unable to open serial port device file "/dev/ttyS0": Permission denied"
And what permissions does it has at that moment?
from CUPS. I have to play with it a little set up the printer again and it works for a while. Then it stops working again. How do I make it working permanently?
My guess would be one of those things like resmngr grabbing it for use by the desktop user (like a modem). Perhaps you have desktop gadgets to setup the modem: remove them. I'm thinking of kinternet and family. Or use Yast to tell it the modem is at ttyS1 perhaps. If there exists a /dev/modem link make sure it points somewhere else. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFGSDZEtTMYHG2NR9URAu0pAKCYHzLZO8KPXElBtgIxeMJqkwHNlACfel3S xHT/HS1XfYoOONEIaI7Jzr0= =TbIB -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Monday 14 May 2007 20:13, Carlos E. R. wrote:
The Monday 2007-05-14 at 11:50 +1000, George Osvald wrote:
I have a serial receipt printer connected to my server. Printing System is CUPS on SuSe 10.2. Until upgrade it was working OK. Since then how ever I often get this message:
"Unable to open serial port device file "/dev/ttyS0": Permission denied"
And what permissions does it has at that moment?
Just to be sure I gave it 777 but that did not make any difference. After I deleted the printer in CUPS and then installed it using Yast permissions were changed to crw-rw-rw- As I explained in my other post the only way how to make the printer working is to delete it in CUPS and then install it with Yast. It does not work if I simply delete it in Yast and then install it again or do the same in CUPS.
from CUPS. I have to play with it a little set up the printer again and it works for a while. Then it stops working again. How do I make it working permanently?
My guess would be one of those things like resmngr grabbing it for use by the desktop user (like a modem). Perhaps you have desktop gadgets to setup the modem: remove them. I'm thinking of kinternet and family. Or use Yast to tell it the modem is at ttyS1 perhaps. If there exists a /dev/modem link make sure it points somewhere else.
I do not have a modem but I will check this out.
-- Cheers, Carlos E. R.
-- Regards, George Osvald OK Studio ® http://www.okstudio.com.au Email: mail@okstudio.com.au -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Tuesday 2007-05-15 at 10:56 +1000, George Osvald wrote:
My guess would be one of those things like resmngr grabbing it for use by the desktop user (like a modem). Perhaps you have desktop gadgets to setup the modem: remove them. I'm thinking of kinternet and family. Or use Yast to tell it the modem is at ttyS1 perhaps. If there exists a /dev/modem link make sure it points somewhere else.
I do not have a modem but I will check this out.
Look also for stale lock files. And... if you get the permission denied message, try "lsof | grep ttyS" to find out if somebody/thing has grabbed it. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFGSaYDtTMYHG2NR9URAiduAJ9hcvemaV8YIryov2ue70niWIYdDQCeI9Eg NFqnhX/WvOVqIdXNnqSFnJ0= =w98X -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (4)
-
Aaron Kulkis
-
Carlos E. R.
-
George Osvald
-
James Knott