Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Drucken über Edimax Printsir PS-1001
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
delorix
n00b
n00b


Joined: 24 Nov 2003
Posts: 7

PostPosted: Thu Dec 04, 2003 4:53 pm    Post subject: Drucken über Edimax Printsir PS-1001 Reply with quote

Hallo zusammen,

hat vielleicht jemand ne idee, wie ich CUPS das Drucken auf einen Brother HL-8V über den Printsir-Printserver von Edimax schmackhaft machen kann?
In der Anleitung steht was zu LPD drin, aber wenn ich das richtig verstehe, dann ist CUPS ja nicht gleich LPD. Vielleicht ist das ja auch ganz einfach, aber ich bin newbie auf Linux-Ebene und daher leicht bis mittelschwer unwissen. Danke schon mal für Eure Hilfe.

Nachfolgend einmal was der Anleitung dazu sagt:
Quote:

6. UNIX System Network
6.1 Introduction

The PrintSir is available for TCP/IP printing by Unix lpd (Line Printer Daemon) protocol. The lpd protocol originated with Unix release is based on the BSD version of Unix and supported under most versions of Unix.

This chapter explains how to configure the PrintSir for TCP/IP operation, and how to modify configuration files on your Unix system to allow printing to the PrintSir. The configuration examples in this manual follow the syntax for BSD based Unix systems. Please refer to the related system documentation for the correct syntax of your systems.

To configure the PrintSir for lpd printing, perform the procedures below:

1. Enable PrintSir’s TCP/IP Support.

2. Set up PrintSir’s IP address.

3. Verify PrintSir’s IP Address.

4. Configure remote lpd printing on the host.

5. Print a test page.

In the next sections, we will describe these five procedures step by step.


6.2 Enable PrintSir’s TCP/IP Support

The default configuration of the PrintSir is with TCP/IP support enabled. Anyway, you can configure the PrintSir to enable TCP/IP support using the configuration program or PSETUP program in the CD-ROM included with the PrintSir.
6.3 Setup PrintSir’s IP Address

The PrintSir must have a unique IP address in order to be recognized by the network.

You can set up the IP address on the various Unix systems using any one of the following methods:

1. ARP & Ping Assignment (Recommend for Unix)

2. DHCP (Dynamic Host Configuration Protocol)

3. BOOTP (Bootstrap Protocol)

4. RARP (Reverse Address Resolution Protocol)

The PrintSir will use the last three methods to obtain its IP address automatically if its IP address is configured as Auto (0.0.0.0).
6.3.1 ARP & Ping Assignment

You can use ARP and Ping commands with a web browser to complete PrintSir’s IP address setting.

Parameters for the commands are as follows:

arp –s <IP Address> <Ethernet ID>

ping <IP Address>

For example, a PrintSir with the following configuration:

Node ID: 0000B4010101

(the Node ID is printed on the rear side of the PrintSir)

Assign IP address: 203.66.191.12

arp –s 203.66.191.12 00-00-B4-01-01-01

ping 203.66.191.12

At the mean time, PrintSir’s IP will “temporarily” be set to 203.66.191.12 (will restore after reboot). Therefore, you need to run your web browser to set a permanent IP address (refer to section 8.3.7 for detailed IP configuration).
6.3.2 DHCP

There are many Unix systems that support DHCP protocol, and the procedures to configure the DHCP server database are different. This manual does not describe the DHCP server configuration on the Unix systems. It is highly recommended that the DHCP server should be located on the same network as the PrintSir.
6.3.3 BOOTP

If you have the BOOTP daemon, bootpd, running on your UNIX system that is accessible by the PrintSir, you can use the BOOTP protocol to set up the IP address of the PrintSir. We recommend that the BOOTP server should be located on the same subnet as the PrintSir. If you use Network Information Services (NIS) in your system, you may need to rebuild the NIS map with the BOOTP services before doing the following BOOTP configuration. To rebuild the NIS map, please refer to your system documentation.

To configure the IP address data for the BOOTP server, you will need to log in the host of BOOTP server as the super user (root). Perform the following steps to add address entries,

1. Optionally, assign a name corresponding to the PrintSir’s IP address. You can add this address to the /etc/hosts file, by adding a line such as:

203.66.191.12 pserver

2. Add an entry to the host’s /etc/bootptab file, similar to the following:

hostname:\

:ht=1:\

:ha=print_server_ethernet_address:\

:ip=print_server_ip_address:

Lines should be indented with tabs.

Where hostname is the device name of a PrintSir, the ht=1 tag specifies the hardware type is Ethernet, the ha= tag specifies the Ethernet address of a PrintSir, which is the Node ID located on the PrintSir. The ha tag must be preceded by the ht tag. The ip= tag should correspond to the IP address you want to assign to the PrintSir.

For example, a PrintSir with the following configuration:

Node ID: 0000B4010101 (this implies Ethernet

address is 0000B4010101),

IP address: 203.66.191.12

The entry for this PrintSir in the /etc/bootptab file should be:

PS010101:\

:ht=1:\

:ha=0000B4010101:\

:ip=203.66.191.12:
6.3.4 RARP

The procedure below enables the RARP daemon running on your system to respond to a RARP request from the PrintSir and to assign the IP address to the PrintSir.

1. Log in the host of RARP server as the superuser (root).

2. Assign a name corresponding to the PrintSir’s IP address. You can add this address to the /etc/hosts file, by adding a line such as:

203.66.191.12 pserver

3. Add the Ethernet address and the host name for the PrintSir to the /etc/ethers file, by adding a line such as:

00:00:B4:01:01:01 pserver

Where the Ethernet address of the PrintSir is the Node ID located on the PrintSir.

4. If your system uses Network Information Services (NIS), you will need to make changes to the NIS host and ethers databases.

5. Check if the RARP daemon is running using the ps and grep commands. If the RARP daemon is not running on your host, type “rarpd -a” to run the RARP server.
6.4 Verify PrintSir’s IP Address

To verify that your PrintSir is responding to the newly assigned IP address using a PING command:

ping ip-address


6.5 Configure Remote lpd Printing on the Host

The procedure you use to configure your Unix host(s) to allow printing to your network remote print server varies between different varieties of Unix. The procedure below can be used for Unix variants that are related to BSD Unix, such as SunOS or Linux. For other versions of Unix, consult your system documentation, keeping in mind that:

1. The PrintSir should be treated as a BSD networked print server host.

2. The host name should be the name (or IP address) that you have assigned to the PrintSir.

3. The printer name (or queue name) on the remote host should be lpt1, lpt2 or lpt3, the name of the parallel port on the PrintSir.

You will need to perform the tasks below, logged in as the superuser (root). To configure your Unix host for printing,

1. Optionally, assign a name corresponding to the PrintSir’s IP address. You can add this address to the /etc/hosts file, by adding a line such as:

203.66.191.186 pserver

2. Create a spool directory for the printer in the same directory where spool directories are normally kept on the machine, such as /var/spool or /var/spool/lpd:

mkdir /var/spool/lpd/pserverd

chown daemon /var/spool/lpd/pserverd

chgrp daemon /var/spool/lpd/pserverd

chmod 775 /var/spool/lpd/pserverd

3. Add an entry to the host’s /etc/printcap file, similar to the following:

printer-name:\

:lp=:\

:rm=203.66.191.186:\

:rp=lpt1:\

:lf=/var/spool/lpd/pserverd.log:\

:sd=/var/spool/lpd/pserverd:\

:mx#0:

Lines should be indented with tabs. More than one printer name can be used, with variants separated by vertical bars (name1|name2).

The rm= entry should correspond to the IP address you have assigned to the PrintSir. You can also use a host name if you have assigned one in the /etc/hosts file.

The sd= entry should correspond to the spool directory you created in the previous step.

The rp= entry should correspond to the port name of the remote printer. The values should be one of lpt1, lpt2 or lpt3 depends on the printer port.

The PrintSir should now be available for printing from your Unix host.
6.6 Print a Test Page

To print to the PrintSir, you can use the lpr command:

lpr -Pprinter-name file ...

or, you can use the lp command on SCO Open Server:

lp –d printer-name file ...

Where printer-name is one of the names for the printer in the /etc/printcap file, which you created in the previous step.

Consult your system documentation for more information about printer configuration and administration and about lpr and other printing commands.m
Back to top
View user's profile Send private message
delorix
n00b
n00b


Joined: 24 Nov 2003
Posts: 7

PostPosted: Fri Dec 05, 2003 2:55 pm    Post subject: Reply with quote

Lösung ist gerade von mir selbst gefertigt worden.

Man erstelle einfach in CUPS einen Drucker mit der Nutzung:

lpd://ip-adresse/lpt1 und für den brother nehme man einfach nen laserjet von hp mit postscript und dann läufts auch mit openoffice.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum