Hi
I think there are no independent flags for both print queue/print device in the same command.
But The following syntax may serve your purpose.
$lp -dlp0:lpd /path/file
where lp0 is print queue and lpd is the print device.
Generally in most of the cases the printer name doesn't matter..print queue matters and can be the same...
simply one case use simplest syntax for printing as'
$lp -d <print_queue_name> /path/file
Also you can use general purpose utility(back end)such as:
$enq -P lp0:lpd /path/file .
sushveer
IBM certified specialist-p-series AIX5L System Administration
AIX/SOLARIS/WEBSPHERE-MQ/TIVOLI Administrator
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.