[SuSE Linux] network printing
Hi all, I have a really dum question about YAST configuration of network printing. Suppose there is a printer with an IP address foo.domain.name. In administerating remote printers, YAST asks to fill in four entries: 1) Name of the printer 2) Spool directory (This is filled automatically) 3) Server name 4) Name of printer on the server I am not sure what it is exactly meant here by server name and the printer name. The printer has its own IP address. Can someone shed light on this for me. Thanks, Ramin Sina - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
What this setup is referring to is a printer (non-networked) that is connected to some other Linux/Unix computer system on the network. I'm not sure how to setup a networked printer which has its own network connection, hostname and IP address associated with it. Ramin Sina wrote:
Hi all,
I have a really dum question about YAST configuration of network printing. Suppose there is a printer with an IP address foo.domain.name. In administerating remote printers, YAST asks to fill in four entries:
1) Name of the printer 2) Spool directory (This is filled automatically) 3) Server name 4) Name of printer on the server
I am not sure what it is exactly meant here by server name and the printer name. The printer has its own IP address. Can someone shed light on this for me.
Thanks, Ramin Sina
- To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
Tony -- Tony Schlemmer | Phone : 425-372-2246 Software Developer | Fax : 425-372-2222 Global Mobility Systems, Inc. | Mobile: 425-503-8544 11201 SE 8th Street, Suite 110 | <A HREF="mailto:tschlemmer@gmswireless.com">mailto:tschlemmer@gmswireless.com</A> Bellevue, WA 98004 | <A HREF="http://www.gmswireless.com"><A HREF="http://www.gmswireless.com</A">http://www.gmswireless.com</A</A>> ------------------------------------------------------------------ "More programming projects have gone awry for lack of calendar time than for all other causes combined." Frederick Brooks - The Mythical Man Month ------------------------------------------------------------------ - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
Ramin Sina wrote:
Hi all,
I have a really dum question about YAST configuration of network printing. Suppose there is a printer with an IP address foo.domain.name. In administerating remote printers, YAST asks to fill in four entries:
1) Name of the printer
this is how you want to name the printer on your client (linux) machine. this name will appear in /etc/printcap as printer name. if you print on that you say "lpr -Pprinter_name file"
2) Spool directory (This is filled automatically)
thanks goodness for that ;-))
3) Server name
on what machine is your printer)? ---> foo.domain.name
4) Name of printer on the server
on foo.domain.name, the printer must be named as well (as above) give that name here.
I am not sure what it is exactly meant here by server name and the printer name. The printer has its own IP address. Can someone shed light on this for me.
we hat that discussion with an hp-jet-direct card recently. the card is configured (with the software that comes with it) with an ip-address. the jet-direct card uses two ports "raw" and "text". your printer or axis box must have some sort of port name assigned (see documentation) this port name (text or raw with the jet-direct) should be used as "Name of printer on the server". In case of the jet-direct, even *any* name seemed to work, as someone else mentioned. just try. we use an axis box at work (as well), the device names are "pr1" and "pr2" as far as I remember.
Thanks, Ramin Sina
Jürgen -- ========================================== __ _ Jürgen Braukmann e-mail: brauki@cww.de | / / (_)__ __ ____ __ Tel: 0201-743648 dk4jb@db0qs.#nrw.deu.eu | / /__/ / _ \/ // /\ \/ / ========================================== /____/_/_//_/\_,_/ /_/\_\ - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
Use the IP address (nnn.nnn.nnn.nnn) of the printer's network interface for the server name (question 3 in YaST). I suppose you could use the host name (foo.domain.name) if you have some way to resolve it to an IP address (a local DNS or hosts file), but I just use the IP address. Name of printer refers to what you want to call the printer (in an lpr command, for example, lpr -Pname_of_printer) and what you want to name the spool directory. The name of the printer on the server assumes that the print server is a host computer and the printer is a named resource upon that host. My setup of a HPLJ4000N (with JetDirect card) looks like this: Name of printer: ops-hp (this is what I want to call it) Spool directory: /var/[whatever]/ops-hp (filled in automatically) Server name: 192.168.0.150 Name of printer on server: ops-hp (doesn't much matter...) I print to it with the command: $ lpr -Pops-hp [file_to_print] phil -- "The engineers saw that thick green run-off as sludge and were throwing out out; I saw it as filling and made "key lime-style" pies." Ramin Sina wrote:
Hi all,
I have a really dum question about YAST configuration of network printing. Suppose there is a printer with an IP address foo.domain.name. In administerating remote printers, YAST asks to fill in four entries:
1) Name of the printer 2) Spool directory (This is filled automatically) 3) Server name 4) Name of printer on the server
I am not sure what it is exactly meant here by server name and the printer name. The printer has its own IP address. Can someone shed light on this for me.
Thanks, Ramin Sina
- To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
- To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
Hi Phil, Just wondering about having lunch tomorrow ? Also, can you make it this Saturday to the meeting ? Best Regards -Dee - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
"W.D.McKinney" <deem@wdm.com> wrote:
Hi Phil,
Just wondering about having lunch tomorrow ? Also, can you make it this Saturday to the meeting ?
Best Regards -Dee
Whoops...sorry all. - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
If the printer is not accessible directly (i.e: not a network-ready printer), then the printer will have to be connected to another machine. In that case, in the section for "name of printer on server" you will have to specify the name of the printer as in the remote machine's /etc/printcap file. Regards, Kenneth Tan ------------------------------------------------------------------------------ C. J. Kenneth Tan E-mail: cjtan@acm.org Telephone: 1-403-220-8038 cjtan@ieee.org 1-403-606-4257 cjtan@computer.org Facsimile: 1-403-284-1980 URL: <A HREF="http://www.cuug.ab.ca/~tanc"><A HREF="http://www.cuug.ab.ca/~tanc</A">http://www.cuug.ab.ca/~tanc</A</A>> 1-403-244-4123 "A working program without comment is a time bomb waiting to explode." -- Steve Oualline ------------------------------------------------------------------------------ On Tue, 18 Aug 1998, phillip mannie wrote:
Use the IP address (nnn.nnn.nnn.nnn) of the printer's network interface for the server name (question 3 in YaST). I suppose you could use the host name (foo.domain.name) if you have some way to resolve it to an IP address (a local DNS or hosts file), but I just use the IP address.
Name of printer refers to what you want to call the printer (in an lpr command, for example, lpr -Pname_of_printer) and what you want to name the spool directory. The name of the printer on the server assumes that the print server is a host computer and the printer is a named resource upon that host.
My setup of a HPLJ4000N (with JetDirect card) looks like this:
Name of printer: ops-hp (this is what I want to call it) Spool directory: /var/[whatever]/ops-hp (filled in automatically) Server name: 192.168.0.150 Name of printer on server: ops-hp (doesn't much matter...)
I print to it with the command:
$ lpr -Pops-hp [file_to_print]
phil -- "The engineers saw that thick green run-off as sludge and were throwing out out; I saw it as filling and made "key lime-style" pies."
Ramin Sina wrote:
Hi all,
I have a really dum question about YAST configuration of network printing. Suppose there is a printer with an IP address foo.domain.name. In administerating remote printers, YAST asks to fill in four entries:
1) Name of the printer 2) Spool directory (This is filled automatically) 3) Server name 4) Name of printer on the server
I am not sure what it is exactly meant here by server name and the printer name. The printer has its own IP address. Can someone shed light on this for me.
Thanks, Ramin Sina
- To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
- To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
- To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
Hi all. Thanks for everyone's help. This suggestion has worked and I can now print. However each word is printed on a separate line and indented to the end of previous word. This is very strange. Does anyone know what causes it? Thanks again, Ramin On Tue, 18 Aug 1998, phillip mannie wrote:
Use the IP address (nnn.nnn.nnn.nnn) of the printer's network interface for the server name (question 3 in YaST). I suppose you could use the host name (foo.domain.name) if you have some way to resolve it to an IP address (a local DNS or hosts file), but I just use the IP address.
Name of printer refers to what you want to call the printer (in an lpr command, for example, lpr -Pname_of_printer) and what you want to name the spool directory. The name of the printer on the server assumes that the print server is a host computer and the printer is a named resource upon that host.
My setup of a HPLJ4000N (with JetDirect card) looks like this:
Name of printer: ops-hp (this is what I want to call it) Spool directory: /var/[whatever]/ops-hp (filled in automatically) Server name: 192.168.0.150 Name of printer on server: ops-hp (doesn't much matter...)
I print to it with the command:
$ lpr -Pops-hp [file_to_print]
phil -- "The engineers saw that thick green run-off as sludge and were throwing out out; I saw it as filling and made "key lime-style" pies."
Ramin Sina wrote:
Hi all,
I have a really dum question about YAST configuration of network printing. Suppose there is a printer with an IP address foo.domain.name. In administerating remote printers, YAST asks to fill in four entries:
1) Name of the printer 2) Spool directory (This is filled automatically) 3) Server name 4) Name of printer on the server
I am not sure what it is exactly meant here by server name and the printer name. The printer has its own IP address. Can someone shed light on this for me.
Thanks, Ramin Sina
- To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
- To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
-------------------------------------------------------- Ramin Sina Institute for Physical Science and Technology University of Maryland College Park Maryland 20742 email: sina@glue.umd.edu Voice (301) 405 4860 <A HREF="http://www.glue.umd.edu/~sina"><A HREF="http://www.glue.umd.edu/~sina</A">http://www.glue.umd.edu/~sina</A</A>> Fax (301) 314 9363 - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
Sorry, Ramin, I should have included a reference to the Printing-HOWTO, which contains help for dealing with non-postscript printers (am I spoiled, or what!). I think that the problem is that your printer is not gracefully coping with *IX type newlines; it probably wants DOS-style CR/LFs (carriage return/line feeds). I believe that you need the APS printer filter. Sadly, I don't know too much about non-postscript printers, so I'll defer to those who know better while refering you to the LINUX DOCUMENTATION PROJECT, Printing-HOWTO. On the S.u.S.E. 5.0 box I'm at the HOWTO is located in /usr/doc/howto/Printing-HOWTO.gz, it's likely on your box somewhere, too. You can get the latest version on the web. In Alaska, we are fortunate to have a local LDP mirror at (<A HREF="http://www.wdm.com/ldp/"><A HREF="http://www.wdm.com/ldp/</A">http://www.wdm.com/ldp/</A</A>>). Check <A HREF="http://www.wdm.com/ldp/mirrors.html"><A HREF="http://www.wdm.com/ldp/mirrors.html</A">http://www.wdm.com/ldp/mirrors.html</A</A>> for a mirror site close to you, or, failing that, the mothersite is <A HREF="http://sunsite.unc.edu/LDP/"><A HREF="http://sunsite.unc.edu/LDP/</A">http://sunsite.unc.edu/LDP/</A</A>>. I'm pretty sure that this APS filter, properly configured, will deal with your problem straightaway. phil -- [Nuclear war] ... may not be desirable. -- Edwin Meese III Ramin Sina wrote:
Hi all. Thanks for everyone's help. This suggestion has worked and I can now print. However each word is printed on a separate line and indented to the end of previous word. This is very strange. Does anyone know what causes it?
Thanks again, Ramin
- To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
Ramin Sina wrote:
Hi all. Thanks for everyone's help. This suggestion has worked and I can now print. However each word is printed on a separate line and indented to the end of previous word. This is very strange. Does anyone know what causes it?
Thanks again, Ramin
Hello Ramin, Phillip is right in his other mail to consult the printing howto. I found an artikle in the german SDB that writes about that: <A HREF="http://localhost/support-db/sdb/kgw_print_remote.html"><A HREF="http://localhost/support-db/sdb/kgw_print_remote.html</A">http://localhost/support-db/sdb/kgw_print_remote.html</A</A>> this artikle might be in the english version as well, search for "printer" and look for an article reading "... remote printer and apsfilter ...". (since both SDB versions split, I just keep the german ;-( ) usually, the filter on the remote machine is used when printing over the network. your problem is, that your printer won't support this. The trick is to set up a second local printer and chain it's output to the network device, details are in the printing howto. ome remote printer cards (jet-direct) support to telnet to them. This is used for card setup, you might be able to change this parameter via telnet. In case you *just* need text printing and not the *nice* aps-features this would still be easiest. Jürgen -- ========================================== __ _ Jürgen Braukmann e-mail: brauki@cww.de | / / (_)__ __ ____ __ Tel: 0201-743648 dk4jb@db0qs.#nrw.deu.eu | / /__/ / _ \/ // /\ \/ / ========================================== /____/_/_//_/\_,_/ /_/\_\ - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
+----- On Tue, 18 Aug 1998 14:07:47 EDT, Ramin Sina writes: | I have a really dum question about YAST configuration of network | printing. Suppose there is a printer with an IP address foo.domain.name. | In administerating remote printers, YAST asks to fill in four entries: | | 1) Name of the printer | 2) Spool directory (This is filled automatically) | 3) Server name | 4) Name of printer on the server | | I am not sure what it is exactly meant here by server name and the printer | name. The printer has its own IP address. Can someone shed light on this | for me. A quick tutorial on how lpd works: When you use lpr you specify the name in 1) above, lpr then contacts lpd and lpd writes the details of your print job in a file in 2), for a network printer lpd then contacts the machine defined in 3) and effectively does an lpr using the printer name defined in 4). Some printers have their own equivalent of lpd (Tektronics Phasers are an example) and you can then specify the printer as the server and give the name of the appropriate print queue for 4) (IIRC for Phasers the choices are PS and HPGL). If your printer doesn't support the lpd protocol then you don't have a networked printer (from lpd's point of view) and you need to use a program on a computer to communicate with the printer. The program can be on your computer, in which case the printer is considered by lpd to be local or it can be on another computer in which case that computer becomes 3) and the printer's name on that machine is used in 4). Not a lot of practical advice but I hope that it helps. /Michael - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
participants (8)
-
brauki@cityweb.de
-
cjtan@acm.org
-
deem@wdm.com
-
Michael.Salmon@uab.ericsson.se
-
phil@servcom.com
-
sina@Glue.umd.edu
-
sina@glue.umd.edu
-
tschlemmer@gmswireless.com