How can I create a .prn file from a TIFF?












0














I have an industrial printer that requires .prn files to print. I'd like to automate generation of these files using software I write. We start with TIFF files, and then we use special software from the printer vendor to generate the .prn files.



Can I use an ImageMagick extension, Ghostscript, or something else (must run on Linux) to generate these files? I'm using Node.js, but I can easily using bindings or call out to an external shell program.



From Google:




A PRN file extension is a Windows file format that allows you to use
the "print to a file" option. You can convert a PRN file to the PDF
file format by renaming it as a file of the PS extension if your
printer is a PostScript printer. You can then run it with a program
like GhostScript.











share|improve this question



























    0














    I have an industrial printer that requires .prn files to print. I'd like to automate generation of these files using software I write. We start with TIFF files, and then we use special software from the printer vendor to generate the .prn files.



    Can I use an ImageMagick extension, Ghostscript, or something else (must run on Linux) to generate these files? I'm using Node.js, but I can easily using bindings or call out to an external shell program.



    From Google:




    A PRN file extension is a Windows file format that allows you to use
    the "print to a file" option. You can convert a PRN file to the PDF
    file format by renaming it as a file of the PS extension if your
    printer is a PostScript printer. You can then run it with a program
    like GhostScript.











    share|improve this question

























      0












      0








      0







      I have an industrial printer that requires .prn files to print. I'd like to automate generation of these files using software I write. We start with TIFF files, and then we use special software from the printer vendor to generate the .prn files.



      Can I use an ImageMagick extension, Ghostscript, or something else (must run on Linux) to generate these files? I'm using Node.js, but I can easily using bindings or call out to an external shell program.



      From Google:




      A PRN file extension is a Windows file format that allows you to use
      the "print to a file" option. You can convert a PRN file to the PDF
      file format by renaming it as a file of the PS extension if your
      printer is a PostScript printer. You can then run it with a program
      like GhostScript.











      share|improve this question













      I have an industrial printer that requires .prn files to print. I'd like to automate generation of these files using software I write. We start with TIFF files, and then we use special software from the printer vendor to generate the .prn files.



      Can I use an ImageMagick extension, Ghostscript, or something else (must run on Linux) to generate these files? I'm using Node.js, but I can easily using bindings or call out to an external shell program.



      From Google:




      A PRN file extension is a Windows file format that allows you to use
      the "print to a file" option. You can convert a PRN file to the PDF
      file format by renaming it as a file of the PS extension if your
      printer is a PostScript printer. You can then run it with a program
      like GhostScript.








      printing imagemagick file-format ghostscript






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Dec 11 at 7:44









      Chad Johnson

      2871517




      2871517






















          2 Answers
          2






          active

          oldest

          votes


















          1














          Short answer: No.

          Long answer: As far as I know, .prn file extension is used freely by companies. The Google quote you mentioned might be true for some cases but certainly not for every case. For example there is a program called Ultraprint by Hosonsoft to rasterize tiff images before printing with UV printer. It also exports a prn file and they don't provide command line scripting either. You could reverse engineer the exported files but it would be huge undertaking.






          share|improve this answer





























            1














            Probably not.



            .prn files are the final output of the printer driver (to be directly sent to the device), and so they do not necessarily have a standard format – the contents are model-dependent. With regular printers, the .prn file might contain standard PDF, PostScript, PCL5, etc. but it might just as well contain custom manufacturer formats.



            So for your printer, the answer is already in the question – they must be generated by the special software that comes with your printer.



            That said, it might be possible to obtain documentation for that format (or reverse-engineer it), and someone else might have already done so (search the Internet), but it's not very likely – and you'll need to be very specific about the model.



            But contact your printer manufacturer first. They might already have the tools, or at least some way to run the existing program from command line – which you can then automate via Node (even across systems if required).






            share|improve this answer





















              Your Answer








              StackExchange.ready(function() {
              var channelOptions = {
              tags: "".split(" "),
              id: "3"
              };
              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%2fsuperuser.com%2fquestions%2f1382540%2fhow-can-i-create-a-prn-file-from-a-tiff%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














              Short answer: No.

              Long answer: As far as I know, .prn file extension is used freely by companies. The Google quote you mentioned might be true for some cases but certainly not for every case. For example there is a program called Ultraprint by Hosonsoft to rasterize tiff images before printing with UV printer. It also exports a prn file and they don't provide command line scripting either. You could reverse engineer the exported files but it would be huge undertaking.






              share|improve this answer


























                1














                Short answer: No.

                Long answer: As far as I know, .prn file extension is used freely by companies. The Google quote you mentioned might be true for some cases but certainly not for every case. For example there is a program called Ultraprint by Hosonsoft to rasterize tiff images before printing with UV printer. It also exports a prn file and they don't provide command line scripting either. You could reverse engineer the exported files but it would be huge undertaking.






                share|improve this answer
























                  1












                  1








                  1






                  Short answer: No.

                  Long answer: As far as I know, .prn file extension is used freely by companies. The Google quote you mentioned might be true for some cases but certainly not for every case. For example there is a program called Ultraprint by Hosonsoft to rasterize tiff images before printing with UV printer. It also exports a prn file and they don't provide command line scripting either. You could reverse engineer the exported files but it would be huge undertaking.






                  share|improve this answer












                  Short answer: No.

                  Long answer: As far as I know, .prn file extension is used freely by companies. The Google quote you mentioned might be true for some cases but certainly not for every case. For example there is a program called Ultraprint by Hosonsoft to rasterize tiff images before printing with UV printer. It also exports a prn file and they don't provide command line scripting either. You could reverse engineer the exported files but it would be huge undertaking.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Dec 11 at 8:30









                  ofsahin

                  212




                  212

























                      1














                      Probably not.



                      .prn files are the final output of the printer driver (to be directly sent to the device), and so they do not necessarily have a standard format – the contents are model-dependent. With regular printers, the .prn file might contain standard PDF, PostScript, PCL5, etc. but it might just as well contain custom manufacturer formats.



                      So for your printer, the answer is already in the question – they must be generated by the special software that comes with your printer.



                      That said, it might be possible to obtain documentation for that format (or reverse-engineer it), and someone else might have already done so (search the Internet), but it's not very likely – and you'll need to be very specific about the model.



                      But contact your printer manufacturer first. They might already have the tools, or at least some way to run the existing program from command line – which you can then automate via Node (even across systems if required).






                      share|improve this answer


























                        1














                        Probably not.



                        .prn files are the final output of the printer driver (to be directly sent to the device), and so they do not necessarily have a standard format – the contents are model-dependent. With regular printers, the .prn file might contain standard PDF, PostScript, PCL5, etc. but it might just as well contain custom manufacturer formats.



                        So for your printer, the answer is already in the question – they must be generated by the special software that comes with your printer.



                        That said, it might be possible to obtain documentation for that format (or reverse-engineer it), and someone else might have already done so (search the Internet), but it's not very likely – and you'll need to be very specific about the model.



                        But contact your printer manufacturer first. They might already have the tools, or at least some way to run the existing program from command line – which you can then automate via Node (even across systems if required).






                        share|improve this answer
























                          1












                          1








                          1






                          Probably not.



                          .prn files are the final output of the printer driver (to be directly sent to the device), and so they do not necessarily have a standard format – the contents are model-dependent. With regular printers, the .prn file might contain standard PDF, PostScript, PCL5, etc. but it might just as well contain custom manufacturer formats.



                          So for your printer, the answer is already in the question – they must be generated by the special software that comes with your printer.



                          That said, it might be possible to obtain documentation for that format (or reverse-engineer it), and someone else might have already done so (search the Internet), but it's not very likely – and you'll need to be very specific about the model.



                          But contact your printer manufacturer first. They might already have the tools, or at least some way to run the existing program from command line – which you can then automate via Node (even across systems if required).






                          share|improve this answer












                          Probably not.



                          .prn files are the final output of the printer driver (to be directly sent to the device), and so they do not necessarily have a standard format – the contents are model-dependent. With regular printers, the .prn file might contain standard PDF, PostScript, PCL5, etc. but it might just as well contain custom manufacturer formats.



                          So for your printer, the answer is already in the question – they must be generated by the special software that comes with your printer.



                          That said, it might be possible to obtain documentation for that format (or reverse-engineer it), and someone else might have already done so (search the Internet), but it's not very likely – and you'll need to be very specific about the model.



                          But contact your printer manufacturer first. They might already have the tools, or at least some way to run the existing program from command line – which you can then automate via Node (even across systems if required).







                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered Dec 11 at 8:33









                          grawity

                          231k35487544




                          231k35487544






























                              draft saved

                              draft discarded




















































                              Thanks for contributing an answer to Super User!


                              • 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.





                              Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                              Please pay close attention to the following guidance:


                              • 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%2fsuperuser.com%2fquestions%2f1382540%2fhow-can-i-create-a-prn-file-from-a-tiff%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

                              flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

                              Mangá

                               ⁒  ․,‪⁊‑⁙ ⁖, ⁇‒※‌, †,⁖‗‌⁝    ‾‸⁘,‖⁔⁣,⁂‾
”‑,‥–,‬ ,⁀‹⁋‴⁑ ‒ ,‴⁋”‼ ⁨,‷⁔„ ‰′,‐‚ ‥‡‎“‷⁃⁨⁅⁣,⁔
⁇‘⁔⁡⁏⁌⁡‿‶‏⁨ ⁣⁕⁖⁨⁩⁥‽⁀  ‴‬⁜‟ ⁃‣‧⁕‮ …‍⁨‴ ⁩,⁚⁖‫ ,‵ ⁀,‮⁝‣‣ ⁑  ⁂– ․, ‾‽ ‏⁁“⁗‸ ‾… ‹‡⁌⁎‸‘ ‡⁏⁌‪ ‵⁛ ‎⁨ ―⁦⁤⁄⁕