On Mon 15 May 2023 at 18:29:12 +0100, Brian wrote: > On Mon 15 May 2023 at 16:33:42 +0100, Brian wrote: > > [...] > > > Good. The issue is solved, but how do you feel about being adventurous? > > > > Assuming you have deleted the three non-working queues,'lpstat -a' and > > s-c-p should show only M234. On dragon do > > > > systemctl stop cups-browsed > > > > Check that 'lpstat -l -e' still shows the printer as > > > > HP_LaserJet_MFP_M234sdw_C0FB67 > > > > * Now print: 'lp -d HP_LaserJet_MFP_M234sdw_C0FB67 /etc/nsswitch.conf'. > > * Immediately afterwards do 'lpstat -a'. What do you observe? > > * Run 'lpstat -a' a minute or so later. What do you observe? > > Thinking on: the test can be carried out withoit using papaer and ink. > For the first step: > > * Execute 'lpoptions -p HP_LaserJet_MFP_M234sdw_C0FB67 -l'.
For illustrative purposes on a machine without cups-browsed: brian@test-new:~$ lpstat -a lpstat: No destinations added. brian@test-new:~$ There aren't any local print queues. brian@test-new:~$ lpstat -e ENVY4500 ENVY4500_USB RX420 brian@test-new:~$ Shows all available destinations on the local network. These are the names of prospective (on-demand) queues. brian@test-new:~$ lpoptions -p envy4500 -l PageSize/Media Size: 100x150mm 111.76x152.4mm 3.5x5 3.5x5.Borderless 3x5 4x6 4x6.Borderless 5x7 5x7.Borderless 5x8 8x10 8x10.Borderless *A4 A4.Borderless A5 A6 A6.Borderless B5 Env10 EnvA2 EnvC5 EnvC6 EnvChou3 EnvChou4 EnvDL EnvMonarch EnvPersonal Executive ISOB5 Legal Letter Letter.Borderless Postcard Postcard.Borderless Statement Custom.WIDTHxHEIGHT MediaType/Media Type: *Stationery PhotographicGlossy cupsPrintQuality/cupsPrintQuality: Draft *Normal High ColorModel/Output Mode: *RGB Gray Gray16 DeviceGray DeviceRGB AdobeRGB Duplex/Duplex: *None DuplexNoTumble DuplexTumble OutputBin/OutputBin: *FaceUp brian@test-new:~$ The destination has been contacted and querued for the device's attributes. brian@test-new:~$ lpstat -a ENVY4500 accepting requests since Tue 16 May 2023 14:50:01 BST brian@test-new:~$ A local queue for the ENVY4500 destination has been created. Unlike a queue created manually or with cups-browsed it is a *temporary* queue. Just over a minute later: brian@test-new:~$ lpstat -a lpstat: No destinations added. brian@test-new:~$ This is the future of printing and it is here now. No manual queues. No cups-browsed. -- Brian.