CLI connection examples
Esta página aún no está disponible en tu idioma.
The general queue-creation syntax is:
codehost-config -c <queue-name> <path-to-ppd> -U <connection-uri>Replace example hosts, paths, and credentials with those valid for your own installation. Use -c for queue creation and -U for the connection URI.
codehost-config -c office /path/to/printer.ppd -U lpd://printer.example/printcodehost-config -c office /path/to/printer.ppd -U ipp://printer.example/printers/officeRaw TCP socket (9100)
Section titled “Raw TCP socket (9100)”codehost-config -c office /path/to/printer.ppd -U socket://printer.example:9100USB and parallel
Section titled “USB and parallel”codehost-config -c localusb /path/to/printer.ppd -U usb:/dev/usb/lp0codehost-config -c localparallel /path/to/printer.ppd -U parallel:/dev/lp0File output
Section titled “File output”codehost-config -c psfile /path/to/printer.ppd -U file:/tmp/output.psFile devices may be disabled by the underlying spooler. Some spoolers append data to existing output files instead of truncating them.
Serial
Section titled “Serial”Specify the device path, baud, data bits, parity, and flow-control parameters in the URI:
serial:/dev/ttyS0?baud=9600+bits=8+parity=none+flow=softSMB printing requires Samba’s smbclient and the server and printer share names. Use the authentication method provided by your installed BrightQ-Pro and Samba versions. Keep passwords out of shell history, command arguments, and shared configuration.