69
6 SHARING YOUR USB PRINTER
DMS-CTC-20111123-0002 v1.0
6.2 Configuring The Printer Sharing Service on Your
MediaAccess Gateway
Proceed as follows:
1
Start a CLI session on the MediaAccess Gateway.
For more information, see
“3.3 The Command Line Interface (CLI)” on page 39
.
2
Define the LPD printer queues with the following command:
with:
name:
Name of the queue. This name will also be used when configuring the computer.
type:
This parameter represents the type of queue:
Raw
: The MediaAccess Gateway just passes through the data to the printer. In most practical situations, this is the
only queue type that will be needed.
Feed
: The MediaAccess Gateway passes through the data to the printer, but an extra page feed is sent after each
completed job. This type can be used when your printer is not ejecting the last page of a print job (for example
when using clients running Linux/UNIX). This queue type is to be used in exceptional situations only and may not
be properly supported by all printers.
default:
When the parameter default is enabled, this queue will be used in case the user enters a wrong queue name. Only one
queue can be the default queue.
A typical configuration of printer queues on the MediaAccess Gateway is shown below:
3
If you want to check the configuration of printer queues on the MediaAccess Gateway, execute the following command:
4
Enable LPD printer sharing with the following command:
With:
:printersharing LPD queue add name = <string>
[type = <{Feed|Raw}>]
[default = <{no|yes}>]
:printersharing LPD queue add name=myprinter type=Raw default=yes
:printersharing LPD queue add name=myprinteronunix type=Feed default=no
You can delete queues with the command
printersharing LPD queue delete name=<string>
.
Before deleting a queue, make sure printer sharing is disabled.
=>
:printersharing LPD queue list
LPD queue info:
name: myprinter
type: Raw
default: 1
LPD queue info:
name: myprinteronunix
type: Feed
default: 0
=>
:printersharing LPD config [state = <{disabled|enabled}>]
Содержание TG650S
Страница 1: ...SETUP AND USER GUIDE MediaAccess TG650s ...
Страница 2: ......
Страница 3: ...SETUP AND USER GUIDE MediaAccess TG650s ...
Страница 8: ...2 ABOUT THIS SETUP AND USER GUIDE DMS CTC 20111123 0002 v1 0 ...
Страница 36: ...30 2 MANUAL INSTALLATION DMS CTC 20111123 0002 v1 0 ...
Страница 82: ...76 6 SHARING YOUR USB PRINTER DMS CTC 20111123 0002 v1 0 ...
Страница 104: ...98 8 INTERNET SECURITY DMS CTC 20111123 0002 v1 0 ...
Страница 112: ...106 9 SUPPORT DMS CTC 20111123 0002 v1 0 ...
Страница 113: ......