How can I send raw files to a printer that has a postscript PPD?












1















When I try to send raw files (like PCL files) to my network printer, the CUPS queue gets screwed up and the printer becomes "disabled", even if I use commands like "lpr -l" or "lpr -o raw".



I think that maybe the PPD is screwing it up because the PPD for the printer specifically says "Postscript (recommended)" in its description and if send postscript to it then it works fine.



I cannot send directly to the printer as a device because it is networked.










share|improve this question



























    1















    When I try to send raw files (like PCL files) to my network printer, the CUPS queue gets screwed up and the printer becomes "disabled", even if I use commands like "lpr -l" or "lpr -o raw".



    I think that maybe the PPD is screwing it up because the PPD for the printer specifically says "Postscript (recommended)" in its description and if send postscript to it then it works fine.



    I cannot send directly to the printer as a device because it is networked.










    share|improve this question

























      1












      1








      1








      When I try to send raw files (like PCL files) to my network printer, the CUPS queue gets screwed up and the printer becomes "disabled", even if I use commands like "lpr -l" or "lpr -o raw".



      I think that maybe the PPD is screwing it up because the PPD for the printer specifically says "Postscript (recommended)" in its description and if send postscript to it then it works fine.



      I cannot send directly to the printer as a device because it is networked.










      share|improve this question














      When I try to send raw files (like PCL files) to my network printer, the CUPS queue gets screwed up and the printer becomes "disabled", even if I use commands like "lpr -l" or "lpr -o raw".



      I think that maybe the PPD is screwing it up because the PPD for the printer specifically says "Postscript (recommended)" in its description and if send postscript to it then it works fine.



      I cannot send directly to the printer as a device because it is networked.







      printing






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Mar 6 at 15:58









      Tyler DurdenTyler Durden

      1,67342451




      1,67342451






















          2 Answers
          2






          active

          oldest

          votes


















          1














          PCL and Postscripts are two competing printing protocols.



          If the printer supports both protocols, you have to have defined different queues in CUPS with different PPDs/different ways of talking with the prints.



          You might try to talk to the printer via IPP.



          If the printer specific model only talks Postscript, then you have no business sending PCL to it.






          share|improve this answer

































            0














            You can use lpr -o raw pcl-file to send data to the printer without any modification made to it. In fact this usage is so common that there's a separate option for it: lpr -l pcl-file (-l is equivalent to -o raw).






            share|improve this answer
























              Your Answer








              StackExchange.ready(function() {
              var channelOptions = {
              tags: "".split(" "),
              id: "106"
              };
              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: false,
              noModals: true,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: null,
              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%2funix.stackexchange.com%2fquestions%2f504752%2fhow-can-i-send-raw-files-to-a-printer-that-has-a-postscript-ppd%23new-answer', 'question_page');
              }
              );

              Post as a guest















              Required, but never shown

























              2 Answers
              2






              active

              oldest

              votes








              2 Answers
              2






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              1














              PCL and Postscripts are two competing printing protocols.



              If the printer supports both protocols, you have to have defined different queues in CUPS with different PPDs/different ways of talking with the prints.



              You might try to talk to the printer via IPP.



              If the printer specific model only talks Postscript, then you have no business sending PCL to it.






              share|improve this answer






























                1














                PCL and Postscripts are two competing printing protocols.



                If the printer supports both protocols, you have to have defined different queues in CUPS with different PPDs/different ways of talking with the prints.



                You might try to talk to the printer via IPP.



                If the printer specific model only talks Postscript, then you have no business sending PCL to it.






                share|improve this answer




























                  1












                  1








                  1







                  PCL and Postscripts are two competing printing protocols.



                  If the printer supports both protocols, you have to have defined different queues in CUPS with different PPDs/different ways of talking with the prints.



                  You might try to talk to the printer via IPP.



                  If the printer specific model only talks Postscript, then you have no business sending PCL to it.






                  share|improve this answer















                  PCL and Postscripts are two competing printing protocols.



                  If the printer supports both protocols, you have to have defined different queues in CUPS with different PPDs/different ways of talking with the prints.



                  You might try to talk to the printer via IPP.



                  If the printer specific model only talks Postscript, then you have no business sending PCL to it.







                  share|improve this answer














                  share|improve this answer



                  share|improve this answer








                  edited Mar 6 at 17:36

























                  answered Mar 6 at 16:16









                  Rui F RibeiroRui F Ribeiro

                  41.8k1483142




                  41.8k1483142

























                      0














                      You can use lpr -o raw pcl-file to send data to the printer without any modification made to it. In fact this usage is so common that there's a separate option for it: lpr -l pcl-file (-l is equivalent to -o raw).






                      share|improve this answer




























                        0














                        You can use lpr -o raw pcl-file to send data to the printer without any modification made to it. In fact this usage is so common that there's a separate option for it: lpr -l pcl-file (-l is equivalent to -o raw).






                        share|improve this answer


























                          0












                          0








                          0







                          You can use lpr -o raw pcl-file to send data to the printer without any modification made to it. In fact this usage is so common that there's a separate option for it: lpr -l pcl-file (-l is equivalent to -o raw).






                          share|improve this answer













                          You can use lpr -o raw pcl-file to send data to the printer without any modification made to it. In fact this usage is so common that there's a separate option for it: lpr -l pcl-file (-l is equivalent to -o raw).







                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered Mar 7 at 8:32









                          wurtelwurtel

                          11k11628




                          11k11628






























                              draft saved

                              draft discarded




















































                              Thanks for contributing an answer to Unix & Linux Stack Exchange!


                              • 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%2funix.stackexchange.com%2fquestions%2f504752%2fhow-can-i-send-raw-files-to-a-printer-that-has-a-postscript-ppd%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 reconfigure Docker Trusted Registry 2.x.x to use CEPH FS mount instead of NFS and other traditional...

                              is 'sed' thread safe

                              How to make a Squid Proxy server?