What are the files with the “.O” extension in `/etc/cups/ppd` used for?












1















I would like to know what the duplicate files in /etc/cups/ppd with .O suffixed mean and what they are used for (opposed to the ones without suffix). For example:



$ ls /etc/cups/ppd
-rw-r--r--. 1 root lp 9912 Jan 5 12:56 prt1.ppd
-rw-r--r--. 1 root lp 9878 Jan 5 12:51 prt1.ppd.O
-rw-r--r--. 1 root lp 1311 Jan 6 15:21 prt2.ppd
-rw-r--r--. 1 root lp 1311 Jan 6 15:24 prt2.ppd.O









share|improve this question

























  • There is a similar question on Red Hat: access.redhat.com/solutions/2123691

    – Jarl
    Oct 26 '18 at 6:42






  • 1





    ... and on U&L: Why are there .O files in /etc/cups?

    – steeldriver
    Oct 26 '18 at 7:43











  • Ask your system? Ubuntu and any GNU/Linux or unix system use the contents of files (not part of the name [extension]) to dictate what type of file it is. file prt1.ppd.O should tell you what they contain. The actual '.o' means nothing except it's part of the filename.

    – guiverc
    Oct 26 '18 at 8:25
















1















I would like to know what the duplicate files in /etc/cups/ppd with .O suffixed mean and what they are used for (opposed to the ones without suffix). For example:



$ ls /etc/cups/ppd
-rw-r--r--. 1 root lp 9912 Jan 5 12:56 prt1.ppd
-rw-r--r--. 1 root lp 9878 Jan 5 12:51 prt1.ppd.O
-rw-r--r--. 1 root lp 1311 Jan 6 15:21 prt2.ppd
-rw-r--r--. 1 root lp 1311 Jan 6 15:24 prt2.ppd.O









share|improve this question

























  • There is a similar question on Red Hat: access.redhat.com/solutions/2123691

    – Jarl
    Oct 26 '18 at 6:42






  • 1





    ... and on U&L: Why are there .O files in /etc/cups?

    – steeldriver
    Oct 26 '18 at 7:43











  • Ask your system? Ubuntu and any GNU/Linux or unix system use the contents of files (not part of the name [extension]) to dictate what type of file it is. file prt1.ppd.O should tell you what they contain. The actual '.o' means nothing except it's part of the filename.

    – guiverc
    Oct 26 '18 at 8:25














1












1








1








I would like to know what the duplicate files in /etc/cups/ppd with .O suffixed mean and what they are used for (opposed to the ones without suffix). For example:



$ ls /etc/cups/ppd
-rw-r--r--. 1 root lp 9912 Jan 5 12:56 prt1.ppd
-rw-r--r--. 1 root lp 9878 Jan 5 12:51 prt1.ppd.O
-rw-r--r--. 1 root lp 1311 Jan 6 15:21 prt2.ppd
-rw-r--r--. 1 root lp 1311 Jan 6 15:24 prt2.ppd.O









share|improve this question
















I would like to know what the duplicate files in /etc/cups/ppd with .O suffixed mean and what they are used for (opposed to the ones without suffix). For example:



$ ls /etc/cups/ppd
-rw-r--r--. 1 root lp 9912 Jan 5 12:56 prt1.ppd
-rw-r--r--. 1 root lp 9878 Jan 5 12:51 prt1.ppd.O
-rw-r--r--. 1 root lp 1311 Jan 6 15:21 prt2.ppd
-rw-r--r--. 1 root lp 1311 Jan 6 15:24 prt2.ppd.O






drivers printing cups-lpd






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Oct 26 '18 at 11:18







Jarl

















asked Oct 26 '18 at 6:41









JarlJarl

1377




1377













  • There is a similar question on Red Hat: access.redhat.com/solutions/2123691

    – Jarl
    Oct 26 '18 at 6:42






  • 1





    ... and on U&L: Why are there .O files in /etc/cups?

    – steeldriver
    Oct 26 '18 at 7:43











  • Ask your system? Ubuntu and any GNU/Linux or unix system use the contents of files (not part of the name [extension]) to dictate what type of file it is. file prt1.ppd.O should tell you what they contain. The actual '.o' means nothing except it's part of the filename.

    – guiverc
    Oct 26 '18 at 8:25



















  • There is a similar question on Red Hat: access.redhat.com/solutions/2123691

    – Jarl
    Oct 26 '18 at 6:42






  • 1





    ... and on U&L: Why are there .O files in /etc/cups?

    – steeldriver
    Oct 26 '18 at 7:43











  • Ask your system? Ubuntu and any GNU/Linux or unix system use the contents of files (not part of the name [extension]) to dictate what type of file it is. file prt1.ppd.O should tell you what they contain. The actual '.o' means nothing except it's part of the filename.

    – guiverc
    Oct 26 '18 at 8:25

















There is a similar question on Red Hat: access.redhat.com/solutions/2123691

– Jarl
Oct 26 '18 at 6:42





There is a similar question on Red Hat: access.redhat.com/solutions/2123691

– Jarl
Oct 26 '18 at 6:42




1




1





... and on U&L: Why are there .O files in /etc/cups?

– steeldriver
Oct 26 '18 at 7:43





... and on U&L: Why are there .O files in /etc/cups?

– steeldriver
Oct 26 '18 at 7:43













Ask your system? Ubuntu and any GNU/Linux or unix system use the contents of files (not part of the name [extension]) to dictate what type of file it is. file prt1.ppd.O should tell you what they contain. The actual '.o' means nothing except it's part of the filename.

– guiverc
Oct 26 '18 at 8:25





Ask your system? Ubuntu and any GNU/Linux or unix system use the contents of files (not part of the name [extension]) to dictate what type of file it is. file prt1.ppd.O should tell you what they contain. The actual '.o' means nothing except it's part of the filename.

– guiverc
Oct 26 '18 at 8:25










1 Answer
1






active

oldest

votes


















1














The .O files are created by the CUPS system whenever the printer configuration is changed, e.g., if /etc/cups/printers.conf is modified, the previous version is automatically saved as /etc/cups/printers.conf.O. This makes it easy to revert to a previously working configuration.



According to this U&L answer the




.O stands for oldfile as indicated in cups/scheduler/file.c:



oldfile[1024];            /* filename.O */






share|improve this answer























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "89"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1087337%2fwhat-are-the-files-with-the-o-extension-in-etc-cups-ppd-used-for%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    1














    The .O files are created by the CUPS system whenever the printer configuration is changed, e.g., if /etc/cups/printers.conf is modified, the previous version is automatically saved as /etc/cups/printers.conf.O. This makes it easy to revert to a previously working configuration.



    According to this U&L answer the




    .O stands for oldfile as indicated in cups/scheduler/file.c:



    oldfile[1024];            /* filename.O */






    share|improve this answer




























      1














      The .O files are created by the CUPS system whenever the printer configuration is changed, e.g., if /etc/cups/printers.conf is modified, the previous version is automatically saved as /etc/cups/printers.conf.O. This makes it easy to revert to a previously working configuration.



      According to this U&L answer the




      .O stands for oldfile as indicated in cups/scheduler/file.c:



      oldfile[1024];            /* filename.O */






      share|improve this answer


























        1












        1








        1







        The .O files are created by the CUPS system whenever the printer configuration is changed, e.g., if /etc/cups/printers.conf is modified, the previous version is automatically saved as /etc/cups/printers.conf.O. This makes it easy to revert to a previously working configuration.



        According to this U&L answer the




        .O stands for oldfile as indicated in cups/scheduler/file.c:



        oldfile[1024];            /* filename.O */






        share|improve this answer













        The .O files are created by the CUPS system whenever the printer configuration is changed, e.g., if /etc/cups/printers.conf is modified, the previous version is automatically saved as /etc/cups/printers.conf.O. This makes it easy to revert to a previously working configuration.



        According to this U&L answer the




        .O stands for oldfile as indicated in cups/scheduler/file.c:



        oldfile[1024];            /* filename.O */







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Jan 3 at 12:58









        Anthony GeogheganAnthony Geoghegan

        1,046916




        1,046916






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Ask Ubuntu!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1087337%2fwhat-are-the-files-with-the-o-extension-in-etc-cups-ppd-used-for%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            How to change which sound is reproduced for terminal bell?

            Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents

            Can I use Tabulator js library in my java Spring + Thymeleaf project?