LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   printer problem (https://www.linuxquestions.org/questions/linux-server-73/printer-problem-782393/)

ashraflinux1@gmail.com 01-15-2010 09:23 AM

printer problem
 
HI guys i have ferora 8 in which i have installed my printer
all my computer in my network is fedora
i one have a windows xp comp in my network
i want to install printer for that comp
i tryed a lot but was unable to do it
can u guys help me how to install linux printer on windows

if u have done this before then plz mail me the setp also


MOHAMMED ASHRAF
MOB: 9870161983

kschmitt 01-15-2010 10:10 AM

The easiest way to do this is to print directly to CUPS from windows.

Go into cups, and tell it to share printers attached to your system.

If you use the cups web interface, it's under the "Administration" tab, listed as "Share published printers connected to this system". Make sure you click "Change Settings" after checking it.

Write down the IP address of your linux box.
For example, lets say it's 192.168.10.20.

Write down the printer name cups is using for the printer.
For example, lets say you named it hp1200.


Go to a windows box, open a web browser, and go to the URL
http://<server ip>:631/printers/<printer name>

In my example, that would be
http://192.168.10.20>:631/printers/hp1200

Now, if you see a cups web-page, everything is great.

If not, check to make sure your allowing remote printing, iptables (your firewall) isn't blocking port 631, etc, then come back.

Add a printer in windows, select network printer, click next

Click the radio button next to "Connect to a printer on the Internet or on a home or office network:"

Type in that URL from before:
http://<server ip>:631/printers/<printer name>

In my example, that would be
http://192.168.10.20>:631/printers/hp1200

Click next...
Select the "Generic" manufacturer, and select "MS Publisher Imagesetter" if it's a black and white printer, or "MS Publisher Color Printer" if it's a color printer.
(Those two generic printers actually generate postscript! Hurray!)

Click OK. Try and print something :)

ashraflinux1@gmail.com 01-18-2010 04:58 AM

Quote:

Originally Posted by kschmitt (Post 3827629)
The easiest way to do this is to print directly to CUPS from windows.

Go into cups, and tell it to share printers attached to your system.

If you use the cups web interface, it's under the "Administration" tab, listed as "Share published printers connected to this system". Make sure you click "Change Settings" after checking it.

Write down the IP address of your linux box.
For example, lets say it's 192.168.10.20.

Write down the printer name cups is using for the printer.
For example, lets say you named it hp1200.


Go to a windows box, open a web browser, and go to the URL
http://<server ip>:631/printers/<printer name>

In my example, that would be
http://192.168.10.20>:631/printers/hp1200

Now, if you see a cups web-page, everything is great.

If not, check to make sure your allowing remote printing, iptables (your firewall) isn't blocking port 631, etc, then come back.

Add a printer in windows, select network printer, click next

Click the radio button next to "Connect to a printer on the Internet or on a home or office network:"

Type in that URL from before:
http://<server ip>:631/printers/<printer name>

In my example, that would be
http://192.168.10.20>:631/printers/hp1200

Click next...
Select the "Generic" manufacturer, and select "MS Publisher Imagesetter" if it's a black and white printer, or "MS Publisher Color Printer" if it's a color printer.
(Those two generic printers actually generate postscript! Hurray!)

Click OK. Try and print something :)



Hi i tryed the way u explained but a able to configure the printer on windows as u told i set the linux printer as default
i show that it has been configured but when i tryed to print anything from windows machine it show that it is printing

BUT there is no print on printer
NOTE {when i try to print anything from windows it show that it has sucessfull printed but at the printer there is no print }

Help me
Do u know the reason ?
And one more thing i have done the same thing that u told
but still unable to print the printer

kschmitt 01-19-2010 01:47 PM

Quote:

Originally Posted by ashraflinux1@gmail.com (Post 3830651)
Hi i tryed the way u explained but a able to configure the printer on windows as u told i set the linux printer as default
i show that it has been configured but when i tryed to print anything from windows machine it show that it is printing

BUT there is no print on printer
NOTE {when i try to print anything from windows it show that it has sucessfull printed but at the printer there is no print }

Help me
Do u know the reason ?
And one more thing i have done the same thing that u told
but still unable to print the printer

I don't know the reason, but to start, check the print queue, see if there's a stuck job.

http://<server ip>:631/jobs/

Also go to /var/log/cups on the server and look in the error log.


All times are GMT -5. The time now is 12:57 AM.