Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Choosing no default printer[b/]

Status
Not open for further replies.

glav

MIS
Mar 11, 2003
11
US
We would like to have nothing for a default printer. When our users submit a print job through our application software, if they leave the printer field blank, jobs print on our default printer in our office. This causes us to use reams of paper that get thrown away since the print jobs rarely get claimed.

Is it possible to setup up a null printer in AIX so that leaving a printer field blank would cause the print job to not print?
 
hi,

I would make so :

create a script as /usr/myprog/nullq

nullq
------------
#!/usr/bin/ksh
echo $* >> /tmp/nullq.log

then chmod 550 nullq


smitty mkpq , choose other (User defined backend)
Q_Name: nullq
D_Name: nullqd
Bac pr path: /usr/myprog/nullq

Activate: yes
Should ..DEFAULT : yes

bye
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top