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

Multi tool use
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
add a comment |
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
add a comment |
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
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
printing imagemagick file-format ghostscript
asked Dec 11 at 7:44
Chad Johnson
2871517
2871517
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
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.
add a comment |
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).
add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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.
add a comment |
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.
add a comment |
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.
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.
answered Dec 11 at 8:30
ofsahin
212
212
add a comment |
add a comment |
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).
add a comment |
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).
add a comment |
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).
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).
answered Dec 11 at 8:33
grawity
231k35487544
231k35487544
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
w9baPn9mAoAoydqQpEspvbZq1Y gg,LWfW,39 7NAl jd