This is a discussion on Parallel port & CUPS - Newbie! within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> Hi, I've acquired an old Cyrix 233, and installed Slackware 10. I want to use this box as a ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hi, I've acquired an old Cyrix 233, and installed Slackware 10. I want to use this box as a SAMBA, Print & SMTP server. I have set up SAMBA and it is running great. However, I am having trouble with CUPS. When I go to add a printer (using lynx pointing at localhost:631) I am not presented with an option of parallel port. It offers USB (there aren't even any USB ports on the machine!), Ipp etc, but no Parallel connection. I should mention that the parallel cable I am using is NOT bi-directional. Could this be the issue? Or am I correct in thinking the computer has not detected the parallel port? The parallel port IS enabled in BIOS. How do I check to see if Slackware sees it? Thanks in advance, Robin |
| |||
| -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Rural Computer Centre wrote: > I have set up SAMBA and it is running great. > However, I am having trouble with CUPS. When I go to add a printer (using > lynx pointing at localhost:631) I am not presented with an option of > parallel port. It offers USB (there aren't even any USB ports on the > machine!), Ipp etc, but no Parallel connection. Look in the /etc/rc.d/rc.modules file, you need to uncomment some lines. Blumf -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFBIhxfMid3IcxolsoRAsI0AJ9iPX68mlLRTfZAZv67VK SEsyB7PACeJsRm zKN6zzyupjmDphcVovzhn/8= =8pO+ -----END PGP SIGNATURE----- |
| |||
| Well....I've done something right! I ran the hotplug from the command line, then stopped CUPS & restarted. Parallel Port appeared, and it new the Printer ID (HP Deskjet 1220C). But it isn't actually printing, not even a test page. And although my Windows 2000 box can see it, it says "the server on which the printer is installed does not have the correct drivers installed......" Should I get this message, or do I need to set up windows drivers on each machine that will use it? Or is it a SAMBA config issue? Robin "Rural Computer Centre" <lancastersite@btconnectdot.com> wrote in message news:cft614$koh$1@hercules.btinternet.com... > Hi, > > I've acquired an old Cyrix 233, and installed Slackware 10. I want to use > this box as a SAMBA, Print & SMTP server. > > I have set up SAMBA and it is running great. > However, I am having trouble with CUPS. When I go to add a printer (using > lynx pointing at localhost:631) I am not presented with an option of > parallel port. It offers USB (there aren't even any USB ports on the > machine!), Ipp etc, but no Parallel connection. > > I should mention that the parallel cable I am using is NOT bi-directional. > Could this be the issue? Or am I correct in thinking the computer has not > detected the parallel port? The parallel port IS enabled in BIOS. How do I > check to see if Slackware sees it? > > Thanks in advance, > Robin > > |
| |||
| Rural Computer Centre wrote: > Well....I've done something right! > > I ran the hotplug from the command line, then stopped CUPS & restarted. > Parallel Port appeared, and it new the Printer ID (HP Deskjet 1220C). But > it isn't actually printing, not even a test page. You've selected it and run through the whole setup thing? Make sure you added all users to the allowed users list. Check permissions on the devices. > > And although my Windows 2000 box can see it, it says "the server on which > the printer is installed does not have the correct drivers > installed......" Should I get this message, or do I need to set up windows > drivers on each > machine that will use it? Or is it a SAMBA config issue? > It's samba config. But you need your cups config sorted first. It might simply be the cups problem. |
| |||
| Rural Computer Centre wrote: > Well....I've done something right! > > I ran the hotplug from the command line, then stopped CUPS & > restarted. > Parallel Port appeared, and it new the Printer ID (HP Deskjet 1220C). > But it isn't actually printing, not even a test page. > > And although my Windows 2000 box can see it, it says "the server on > which the printer is installed does not have the correct drivers > installed......" Should I get this message, or do I need to set up > windows drivers on each > machine that will use it? Or is it a SAMBA config issue? Let's get it printing locally first, then I'll help you setup the shared part. Can you print local? If not look in /etc/rc.d/rc.modules and uncomment the _3_sections_ concerning the parallel port. You may have done this since the port is visable. Anyway, check this first and execute rc.modules so these will take effect. cupsd.conf Cups is setup to only allow local printing. You need to allow externals access. To allow access edit /etc/cups/cupsd.conf. At the bottom look for; <Location /> .... original stuff here # add this Allow From All # or just your network systems # Allow From 192.168.2.* </Location Then restart rc.cups Samba: load printers = yes printcap name = /etc/printcap printing = cups [printers] comment = printers path = /var/spool/samba browseable = yes guest ok = yes writable = yes printable = yes use client drivers = yes Samba should reread and apply changes every 60 secs, or restart rc.samba On your windows box, just select the generic DeskJet Anyway, that's how I do it, if I type it right. -- Robert - slackware |
| |||
| Ayaz Ahmed Khan wrote: > "Rural Computer Centre" typed: > >> I should mention that the parallel cable I am using is NOT >> bi-directional. > > How can you tell that the cable isn't bi-directional? > How can a cable even BE non-bi-directional? |
| |||
| Rich Grise wrote: > Ayaz Ahmed Khan wrote: > > >>"Rural Computer Centre" typed: >> >> >>>I should mention that the parallel cable I am using is NOT >>>bi-directional. >> >>How can you tell that the cable isn't bi-directional? >> > > How can a cable even BE non-bi-directional? > OK. I've not been in work since I last posted, but will have a look at those suggestions in the morning. Re the cable : when plugged into a Windoze 2000 Pro machine, it cannot report on the ink levels as the "cables is not bi-directional". That is what it says! Cheers, Rob |
| |||
| Rob wrote: > Rich Grise wrote: >> Ayaz Ahmed Khan wrote: >> >> >>>"Rural Computer Centre" typed: >>> >>> >>>>I should mention that the parallel cable I am using is NOT >>>>bi-directional. >>> >>>How can you tell that the cable isn't bi-directional? >>> >> >> How can a cable even BE non-bi-directional? >> > OK. I've not been in work since I last posted, but will have a look at > those suggestions in the morning. > > Re the cable : when plugged into a Windoze 2000 Pro machine, it cannot > report on the ink levels as the "cables is not bi-directional". That is > what it says! > OK, it's just stupid software. What this means is that either the cable has missing conductors for the status lines, or your lpt port isn't set bidirectional in the BIOS. Go to the BIOS setup screen when you boot, and somewhere under advanced options is the parallel port configuration. Select EPP (or maybe ECP), which should support bidirectional. Good Luck! Rich |
| ||||
| I tried all the suggestions made by Robert, and seemed to get a step closer. I still could not print locally, but when I sent a print from a Windows box, the printer fired up and spat out a blank sheet. Encouraging all the same! However, when I rebooted, eth0 was down, and could not be fired up! I went back to rc.modules and uncommented everything regarding parallel port, and that brought the network back up, so I figured there must be a problem in that section of rc.modules. Have edited rc.modules again, but still no joy. Machine is firing up OK, Cups reports the printer is idle, but even cups (via Lynx :631) will not do anything when I send a test page. Next step....try to re-install the printer on CUPS I guess. Rob |