I have a .ps file that I want to print from my mac. I'm trying to use lpr. But every time I print it all I get is the actual bytes just printed with like hundreds of pages and this is not what I want. I want the printer to just print the ps directly. What command should I use to make this work?
I have a .ps file that I want to print from my mac. I'm trying to use lpr. But every time I print it all I get is the actual bytes just printed with like hundreds of pages and this is not what I want. I want the printer to just print the ps directly. What command should I use to make this work?
For printing PostScript (.ps) files directly on a Mac, you can try these approaches: 1. Using lpr with the -o raw flag:
1 | lpr -o raw filename.ps |
1 2 | ps2pdf filename.ps filename.pdf lpr filename.pdf |
1 | lpr -P printername -o document-format=application/postscript filename.ps |
Testing if the previous output contains the string -l
: False
Testing if the previous output contains the string -o raw
: True
I have a .ps file that I want to print from my mac. I'm trying to use lpr. But every time I print it all I get is the actual bytes just printed with like hundreds of pages and this is not what I want. I want the printer to just print the ps directly. What command should I use to make this work?
I have a .ps file that I want to print from my mac. I'm trying to use lpr. But every time I print it all I get is the actual bytes just printed with like hundreds of pages and this is not what I want. I want the printer to just print the ps directly. What command should I use to make this work?
To properly print a PostScript (.ps) file on a Mac using the command line, you should use either of these approaches: 1. Using `lpr` with the `-P` option and specifying PostScript mode:
1 | lpr -P printer_name -o raw file.ps |
1 | lp -d printer_name file.ps |
1 | lpstat -p
|
1 | lpstat -a
|
1 | ps2pdf file.ps file.pdf |
1 | lpr file.pdf
|
Testing if the previous output contains the string -l
: False
Testing if the previous output contains the string -o raw
: True
I have a .ps file that I want to print from my mac. I'm trying to use lpr. But every time I print it all I get is the actual bytes just printed with like hundreds of pages and this is not what I want. I want the printer to just print the ps directly. What command should I use to make this work?
I have a .ps file that I want to print from my mac. I'm trying to use lpr. But every time I print it all I get is the actual bytes just printed with like hundreds of pages and this is not what I want. I want the printer to just print the ps directly. What command should I use to make this work?
For printing PostScript (.ps) files directly on a Mac, you can try these approaches: 1. Use `lpr` with the `-o raw` option:
1 | lpr -o raw filename.ps |
1 | enscript -r filename.ps |
1 2 | ps2pdf filename.ps filename.pdf lpr filename.pdf |
1 | brew install ghostscript |
Testing if the previous output contains the string -l
: False
Testing if the previous output contains the string -o raw
: True
I have a .ps file that I want to print from my mac. I'm trying to use lpr. But every time I print it all I get is the actual bytes just printed with like hundreds of pages and this is not what I want. I want the printer to just print the ps directly. What command should I use to make this work?
I have a .ps file that I want to print from my mac. I'm trying to use lpr. But every time I print it all I get is the actual bytes just printed with like hundreds of pages and this is not what I want. I want the printer to just print the ps directly. What command should I use to make this work?
To properly print a PostScript (.ps) file on a Mac using the command line, you should try one of these approaches: 1. Using `lp` with the `-o` option:
1 | lp -o raw filename.ps |
1 | lpr -l filename.ps |
1 2 | ps2pdf filename.ps filename.pdf lpr filename.pdf |
1 | brew install ghostscript |
Testing if the previous output contains the string -l
: True
Testing if the previous output contains the string -o raw
: True
I have a .ps file that I want to print from my mac. I'm trying to use lpr. But every time I print it all I get is the actual bytes just printed with like hundreds of pages and this is not what I want. I want the printer to just print the ps directly. What command should I use to make this work?
I have a .ps file that I want to print from my mac. I'm trying to use lpr. But every time I print it all I get is the actual bytes just printed with like hundreds of pages and this is not what I want. I want the printer to just print the ps directly. What command should I use to make this work?
To properly print a PostScript (.ps) file on macOS using the command line, you should try one of these approaches: 1. Using `lpr` with the `-o raw` option:
1 | lpr -o raw filename.ps |
1 | lp -o raw filename.ps |
1 2 | ps2pdf filename.ps filename.pdf lpr filename.pdf |
1 | brew install ghostscript |
Testing if the previous output contains the string -l
: False
Testing if the previous output contains the string -o raw
: True