Print queue restriction

Hi,

I'm at AIX 5.3, I have a print queue named chqprinter, I want to allow access to print only 2 users to that print queue, jobs printed by all other users to above queue should be deleted.

Any idea how to achieve that?

---------- Post updated at 10:33 AM ---------- Previous update was at 10:31 AM ----------

This is how print queue is configured:

chqprinter:
        device = hp@chqprinter
hp@chqprinter:
        file = /var/spool/lpd/pio/@local/dev/hp@chqprinter#hpJetDirect#9100
        header = never
        trailer = never
        access = both
        backend = /usr/lib/lpd/pio/etc/piojetd chqprinter 9100

Refreshing the post :slight_smile:

A "moderator" bumping their own post in contravention to forum rule 4!

(4) Do not 'bump up' questions if they are not answered promptly. No duplicate or cross-posting and do not report a post or send a private message where your goal is to get an answer more quickly.

Behave tayyabq8.

I've never tested it, but try :

lpadmin -p Printer -s ServerName [!ServerPrinterName ] -v Device [ -D
Comment ] [ -A AlertType ] [ -W Minutes ] [ -c Class ] [ -e Printer1 ] [ -F
FaultRecovery ] [ -f allow:FormList | -f denyFormList ] [ -h ] [ -I
Content-Type-List ] [ -i Interface ] [ -l ] [ -M -f Form-Name [ -o
Filebreak ] ] [ -M -S Print-Wheel ] [ -m Model ] [ -O CopyOptions ] [ -o
PrintOptions ] [ -o nobanner | -o banner ] [ -r Class ] [ -S List ] [ -T
PrinterTypeList ] [ -u allow:LoginIdList | -u deny:LoginIdList ] [ -v
Device ]

System V printing subsystem command will help? I'm using AIX printing (qdaemon)?

Actually there is only one printing subsystem in AIX. The BSD-like, SysV-like and the AIX-native command sets are only different frontends to the same commands/processes.

I hope this helps.

bakunin