On 2/17/21 4:01 PM, Carlos E.R. wrote:
/snip/ You are looking at the wrong file. The file you have to look at, and I told this to you before, is
/home/doug/.cups/lpoptions
In my case, I have:
Default cp1510n_ps InputSlot=Auto Dest cp1515n_pcl3 PageSize/Media=true Size=A4
You can just edit that file. That file now reads correctly. I must have missed your instruction to read and edit that file.
doug@linux1:~> cd /home/doug/.cups/ doug@linux1:~/.cups> cat lpoptions Dest epson Size=Letter
Another file is the global one:
/etc/cups/lpoptions That file does not exist on this machine.
doug@linux1:/etc> cd ./cups doug@linux1:/etc/cups> cat lpoptions cat: lpoptions: No such file or directory doug@linux1:/etc/cups> ls -la total 240 drwxr-xr-x 6 root lp 4096 Feb 17 16:10 . drwxr-xr-x 137 root root 12288 Feb 16 15:25 .. -rw------- 1 root lp 128 Feb 16 15:31 classes.conf -rw------- 1 root lp 128 Sep 12 20:10 classes.conf.O -rw-r--r-- 1 root root 1248 Feb 7 10:07 client.conf -rw-r--r-- 1 root root 868 Aug 25 19:38 command.types -rw-r--r-- 1 root root 29042 Sep 21 19:51 cups-browsed.conf -rw-r--r-- 1 root root 28556 Aug 25 15:42 cups-browsed.conf.yast2orig -rw-r--r-- 1 root root 28970 Sep 21 19:49 cups-browsed.conf.yast2save -rw-r----- 1 root lp 8693 Sep 21 19:51 cupsd.conf -rw-r----- 1 root root 8337 Feb 7 10:07 cupsd.conf.default -rw-r----- 1 root root 8329 Sep 11 18:35 cupsd.conf.old -rw-r----- 1 root lp 8329 Aug 25 14:21 cupsd.conf.yast2orig -rw-r----- 1 root lp 8641 Sep 21 19:49 cupsd.conf.yast2save -rw-r----- 1 root lp 2915 Feb 7 10:06 cups-files.conf -rw-r----- 1 root root 2915 Feb 7 10:06 cups-files.conf.default drwxr-xr-x 8 root root 4096 Sep 8 2016 epson-inkjet-printer-201113w drwxr-xr-x 2 root lp 4096 Feb 17 01:00 ppd -rw------- 1 root lp 1456 Feb 17 15:40 printers.conf -rw------- 1 root lp 1456 Feb 17 15:40 printers.conf.O -rw-r--r-- 1 root root 778 Feb 12 04:48 pstotiff.convs -rw-r--r-- 1 root root 2084 Feb 12 04:48 pstotiff.types drwxr-xr-x 2 root root 4096 Sep 12 22:13 September_Epson -rw-r----- 1 root lp 142 Feb 7 10:06 snmp.conf -rw-r----- 1 root root 142 Feb 7 10:06 snmp.conf.default drwx------ 2 root lp 4096 Feb 7 10:06 ssl -rw-r----- 1 root lp 819 Feb 17 16:10 subscriptions.conf -rw-r----- 1 root lp 819 Feb 17 15:40 subscriptions.conf.O doug@linux1:/etc/cups>
In my case, it contains:
Default cp1510n_ps PageSize=A4 Dest cp1515n_hpijs PageSize=A4 Dest cp1515n_pcl3 PageSize=A4
And again, you can simply edit it.
/snip Hopefully, this is over. Amen! --doug