CUPS network printing in Puppy 4.00 - Still can't connect
CUPS network printing in Puppy 4.00 - Still can't connect
Considering the amount of time this has been a problem I'm amazed it hasn't been fixed by the keepers of CUPS. Don't they think people use Windows networks?
Just installed Puppy 4. With CUPS there is no SAMBA option for network printing. Nothing seems to work. When I tried 3.01 it was the same problem. Is CUPS still broken? Is there a way to get my Brother laser installed? Drivers are not a problem. Finding the printer is a problem. The host PC is running XP and the printer is shared (other PCs on the network are using it). Connecting locally is not an option. Thank you.
Doug
Just installed Puppy 4. With CUPS there is no SAMBA option for network printing. Nothing seems to work. When I tried 3.01 it was the same problem. Is CUPS still broken? Is there a way to get my Brother laser installed? Drivers are not a problem. Finding the printer is a problem. The host PC is running XP and the printer is shared (other PCs on the network are using it). Connecting locally is not an option. Thank you.
Doug
[Edited]
First verify that you have the file /opt/samba/bin/smbspool
Then go to the folder /usr/lib/cups/backend
Inside this folder you need to make a symlink to the smbspool file and name it "smb".
Open a console and type: ln -s /opt/samba/bin/smbspool smb
Restart CUPS with the command: /etc/init.d/cups restart (or reboot Puppy)
Open the CUPS web interface and start installing a new printer.
At the bottom of the Device list you should now see "Windows Printer via Samba"
Make the device URI smb://PC_NAME/PRINTER_NAME
First verify that you have the file /opt/samba/bin/smbspool
Then go to the folder /usr/lib/cups/backend
Inside this folder you need to make a symlink to the smbspool file and name it "smb".
Open a console and type: ln -s /opt/samba/bin/smbspool smb
Restart CUPS with the command: /etc/init.d/cups restart (or reboot Puppy)
Open the CUPS web interface and start installing a new printer.
At the bottom of the Device list you should now see "Windows Printer via Samba"
Make the device URI smb://PC_NAME/PRINTER_NAME
Last edited by rcrsn51 on Sat 17 May 2008, 01:32, edited 7 times in total.
CUPS Network printing - not quite yet
Thanks for the previous post. I also had not been able to get CUPS network printing to work in Puppy 4.
I have a HP PSC1355.
If I connect the printer directly to my puppy machine, and then do the CUPS setup, it works perfectly using the HP PSC 1300 printer driver.
However, I had never been able to get the printer to work over my home network despite reading dozens of suggestions on the forum.
BUT today - following the advice to place into /usr/lib/cups/backend a sym link (named smb) to smbspool in /opt/samba/bin I can now actually place a print job into the printer queu on the network .....BUT unfortunately the job never actually prints. It errors on the windows system print queue. I have attached a screen print of the actual error.
I would normally suspect such a problem to be associated with the printer driver - but in this case the driver used works perfectly when the printer is directly connected, so I'm thinking it cannot be that.
Is there some further samba secret/tip/tweak which I might have to do?
Any help greatly appreciated.
I have a HP PSC1355.
If I connect the printer directly to my puppy machine, and then do the CUPS setup, it works perfectly using the HP PSC 1300 printer driver.
However, I had never been able to get the printer to work over my home network despite reading dozens of suggestions on the forum.
BUT today - following the advice to place into /usr/lib/cups/backend a sym link (named smb) to smbspool in /opt/samba/bin I can now actually place a print job into the printer queu on the network .....BUT unfortunately the job never actually prints. It errors on the windows system print queue. I have attached a screen print of the actual error.
I would normally suspect such a problem to be associated with the printer driver - but in this case the driver used works perfectly when the printer is directly connected, so I'm thinking it cannot be that.
Is there some further samba secret/tip/tweak which I might have to do?
Any help greatly appreciated.
- Attachments
-
- printer error.gif
- (18.88 KiB) Downloaded 688 times
Sorry mow, no real answer to your problem other than to say that the instructions (quoted below) worked fine for me.
a T22 Thinkpad with frugal pup411 connected by wifi to a home network which also serves a W98 PC with a shared a Canon S520 printer. The pup411 system uses a Turboprint driver for the Canon S520.
I use the URL address: smb://VBOX/CanonS520 and I made sure neither the shared windows name of the computer nor the printer have spaces in them.
These instructions worked perfectly on my frugal pup411 system -First verify that you have the file /opt/samba/bin/smbspool
Then go to the folder /usr/lib/cups/backend
Inside this folder you need to make a symlink to the smbspool file and name it "smb".
Open a console and type: ln -s /opt/samba/bin/smbspool smb
Restart CUPS with the command: /etc/init.d/cups restart (or reboot Puppy)
Open the CUPS web interface and start installing a new printer.
At the bottom of the Device list you should now see "Windows Printer via Samba"
Make the device URI smb://PC_NAME/PRINTER_NAME
a T22 Thinkpad with frugal pup411 connected by wifi to a home network which also serves a W98 PC with a shared a Canon S520 printer. The pup411 system uses a Turboprint driver for the Canon S520.
I use the URL address: smb://VBOX/CanonS520 and I made sure neither the shared windows name of the computer nor the printer have spaces in them.
--- quad booting Slacko57NPAE, Slacko56NPAE, Slacko55PAE (with OO4, devx, Gimp) & WXP on DELL Dimension 2400 PC & DELL Latitude 630 Laptop using grub.
---USB-Flash booting same on Samsung N110 WXP Netbook and Lenovo q100 WXP netPC.
---USB-Flash booting same on Samsung N110 WXP Netbook and Lenovo q100 WXP netPC.
Have a look at the CUPS error log. Does it complain that it cannot connect to CIFS host? Or, in fact, this message may be displayed as Printer State on the CUPS printers page on localhost 631.
If you are getting the CIFS problem, then (in 4.1.2) I have to open Pnethood and mount the printer with "Use CIFS" box ticked. Sorry I can't remember if 4.0 is the same- update to 4.1.2, which is what I'm using now!
Gerry
If you are getting the CIFS problem, then (in 4.1.2) I have to open Pnethood and mount the printer with "Use CIFS" box ticked. Sorry I can't remember if 4.0 is the same- update to 4.1.2, which is what I'm using now!
Gerry
Need Help going from Windows to CUPS
I would like to print from Windows Vista to a linux printer using CUPS. I would like to use the IPP option as that seems easier. I know I have to modify the cupsd.conf file to allow this and I thought I'd done that but I can't get the Vista machine to connect. Here's my cupsd.conf file.
Any suggestions?
Code: Select all
ServerName puppypc
LogFilePerm 0600
# Recommended log size 1m
MaxLogSize 1m
PreserveJobHistory Off
PreserveJobFiles Off
AutoPurgeJobs Yes
DocumentRoot /usr/share/doc/cups-1.1.23
# Show general information in error_log.
# Default: 'LogLevel info'
# Change to 'LogLevel debug' for more detail
LogLevel debug
Printcap /etc/printcap
User root
<Location />
# Allow shared printing and remote administration.
Order Deny,Allow
Deny from All
#Allow from 127.0.0.1
#Allow from 10.0.0.*
Allow @LOCAL
</Location>
#AuthType Digest
#Order Deny,Allow
#Allow From 127.0.0.1
#Allow From localhost
<Location /admin>
# Allow remote administration.
Order allow,deny
Allow @LOCAL
</Location>
<Location /printers>
Order Deny,Allow
#Allow From 127.0.0.1
#Allow From 10.0.0.*
Allow @LOCAL
</Location>
# Enable printer sharing and shared printers.
Browsing On
BrowseOrder allow,deny
BrowseAllow @LOCAL
#BrowseAddress 10.0.0.1:631
#BrowseProtocols cups
# Allow remote access
Port 631
Printing to Windows Network via Samba
rcrsn51,
Thanks for your clear, concise instructions.
It worked first time, perfectly.
drblock
Thanks for your clear, concise instructions.
It worked first time, perfectly.
drblock
Hi rcrsn51
I wouldn't have thought to try name of the Windows computer. Unfortunately it didn't work. Perhaps, since its not a dual boot, Puppy doesn't know WinME exists on the hard drive. I did rename it using all caps, no spaces per your suggestion. Trying a test page thru CUPS -- nothing. Edit: after fooling around for awhile, i now see error message "unable to connect to CIFS host". I'm also wondering how its supposed to know the ip address of the printer or the computer. Surely it must?
[Edit]
I got things working by another method suggested here
http://www.murga-linux.com/puppy/viewto ... 482#280482
involving sockets and printing to Internet etc. Sorta wonder if both your method AND the socket thing are needed in my case.
Cheers
I wouldn't have thought to try name of the Windows computer. Unfortunately it didn't work. Perhaps, since its not a dual boot, Puppy doesn't know WinME exists on the hard drive. I did rename it using all caps, no spaces per your suggestion. Trying a test page thru CUPS -- nothing. Edit: after fooling around for awhile, i now see error message "unable to connect to CIFS host". I'm also wondering how its supposed to know the ip address of the printer or the computer. Surely it must?
[Edit]
I got things working by another method suggested here
http://www.murga-linux.com/puppy/viewto ... 482#280482
involving sockets and printing to Internet etc. Sorta wonder if both your method AND the socket thing are needed in my case.
Cheers
[color=orange]1. Dell Dimension E521, AMD Athln 64, 2 GHz 1.93GB ram,
Puppy 533 on CD, accesses flash drive only,
FFox Nightly12.0
2. Compaq P3 733Hz 375RAM
Printer: Oki C3400 > LAN [/color]
Puppy 533 on CD, accesses flash drive only,
FFox Nightly12.0
2. Compaq P3 733Hz 375RAM
Printer: Oki C3400 > LAN [/color]
- qcjn
- Posts: 9
- Joined: Sat 27 Dec 2008, 04:06
- Location: you can find me usually at irc #puppylinux
- Contact:
Cant configure printer HP psc 1610
i'm following this tutorial
http://pupweb.org/wikka/Printing
Do administration task...add printer
come's up 3 prompts
Name: HP_PSC_1600_series
Location: 192.168.0.101
Description: my hp printer
then
Device for HP_PSC_1600_series
Device:Windows printer via samba
then
Device URI for HP_PSC_1600_series
Device URI:smb://192.168.0.101 (this i'm not sure..examples are not the same)
then
Model/Driver for HP_PSC_1600_series
Make: HP
then
Model/Driver for HP_PSC_1600_series
Model:HP PSC 2110 - CUPS+gutenprintv501(en) <==what i tried
then
Model:HP PSC 950xi - CUPS+gutenprintv501(en) <==what i tried
server-error-internal-error
So thats where i'm at...don't know what to do now ????
http://pupweb.org/wikka/Printing
Do administration task...add printer
come's up 3 prompts
Name: HP_PSC_1600_series
Location: 192.168.0.101
Description: my hp printer
then
Device for HP_PSC_1600_series
Device:Windows printer via samba
then
Device URI for HP_PSC_1600_series
Device URI:smb://192.168.0.101 (this i'm not sure..examples are not the same)
then
Model/Driver for HP_PSC_1600_series
Make: HP
then
Model/Driver for HP_PSC_1600_series
Model:HP PSC 2110 - CUPS+gutenprintv501(en) <==what i tried
then
Model:HP PSC 950xi - CUPS+gutenprintv501(en) <==what i tried
server-error-internal-error
So thats where i'm at...don't know what to do now ????