LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to print? (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-print-190210/)

anthonylmin 06-05-2004 11:58 PM

How to print?
 
Well, I gave up on the dual boot, at least until I can get myself some linux books to read.

My other PC is a Win XP box with an HP 7260 shared on the network. How do I use this printer, or can I? Will any printer work on my Linux box or do I need a "linux printer"?

Thanx,
Anthony :newbie:

DavidPhillips 06-06-2004 12:17 AM

If it's shared on the network install the printer as an smp network printer.

deloptes 06-06-2004 12:20 AM

some printers are not supported by linux, so check some HCL (Hardware compatibility lists) if your one is supported than you have to configure it which is not that complicated using cups and samba for instance. if your one is a remote printer hanging on a windows box than it wouldn't be a problem either.

Bruce Hill 06-06-2004 12:39 AM

Go to http://www.linuxprinting.org and they have your answers for how to setup your printer, and then use samba to share it. If I remember correctly, this will be setup in cups - I know it is for 2 *nix boxes, and I think it is for Linux/Windoze.

deloptes 06-06-2004 12:42 AM

Yes through samba you get your box part of windows workgroup or domain and than you have an access to the printers there

DavidPhillips 06-06-2004 01:06 AM

This may be confusing because we're talking about two different things at the same time here.

One way mentioned is to connect the printer to Linux and setup a samba server on the linux box to share it.

Since you already have it shared on your windows box the easiest thing would be to install the network printer in linux. This is done with the samba client.

usernamenumber 06-06-2004 12:46 PM

Quote:

Originally posted by DavidPhillips
Since you already have it shared on your windows box the easiest thing would be to install the network printer in linux. This is done with the samba client. [/B]
...or, if you're using the CUPS printing daemon (most distros do) then you can use its web-based interface to set up the printer. Just open your web browser and connect to

http://localhost:631

From there, choose "Administrative Tasks", log in as root and follow the instructions to set the printer up as a Samba (SMB) printer. When it asks you for a url, you'll enter something like:

smb://server/printer

Or, if your XP box requires authentication:

smb://user:password@server/printer

Note that if you do this your password will be stored in /etc/cups/printers.conf (this file may be located elsewhere depending on your distribution). It should only be readable by the administrator and the cups daemon, but be aware of it nonetheless.

Also, even if you're not running CUPS, lots of distros include a oll to help you configure printers. Idunno which dist you use, but for example RedHat/Fedora have redhat-config-printer (in FC2 it's called system-config-printer) and Mandrake has (iirc) printerdrake.

Enjoy!
--Brad


All times are GMT -5. The time now is 04:33 AM.