Quantcast
Channel: Intel Communities: Message List
Viewing all articles
Browse latest Browse all 18153

How to make CUPS a JetDirect/AppSocket print server?

$
0
0

I have a Gen1 Galileo board and I use a minimal Debian image that I created with debootstrap

CUPS package is already setup and running on the Galileo

 

Here are the steps I've done so far:

 

1. Add the following line below to /etc/services

jetdirect 9100/tcp #

 

2. Install xinetd through "apt-get install xinetd"

 

3. Create the file /etc/xinetd.d/jetdirect with the following contents:

 

# Allow applications using the AppSocket / JetDirect protocol to communicate with CUPS.

service jetdirect

{

socket_type = stream

protocol = tcp

wait = no

user = root

server = /usr/bin/lp

server_args = -d <MY_CUPS_PRINTER_NAME>

groups = yes

disable = no

}

 

4. Restart services:

service xinetd restart

service cups restart

 

I send the file from another device on port 9100, but CUPS logs does not show that it had received the file. Did I miss something?


Viewing all articles
Browse latest Browse all 18153

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>