I have two IPP printers, how do I switch between the two profiles in the .json file, I can’t seem to change the “active” profile to the 2nd one I added to the json file.
@anon81946179 Hi, this software is great. I have had a lot of sucess printing high quality photo prints (I am a photographer).
The main issue I have, and it’s not your software. It is the PS print driver, it does not allow the possibility of no margins in the print, which is something I would like to do from time to time .. i.e borderless printing. It always gives you a default margin of 14.4 points, and it cannot be set to zero. I don’t know where I can post a bug report on that ..
I wonder if I can get around the minimum 14.4 border that the Print kit PS driver gives by adding the following to your JSON file:
"custom_args": ["-c", "-14.4 -14.4 translate"]
Would that work to cancel it out and then print borderless? I guess I am asking if that will pass custom arguments to GS.
(In the PS file I see 14.4 14.4 translate command)
It could works, but it won’t change the size of the printed area, just translate it to be at top left (or bottom left in case of Postscript iirc) so it will be borderless on two sides, but with 28 pt margin on the two other side…
I may be wrong, but according to AI the translate command rescale’s.
I will try it tomorrow
It won’t necessarilly help that much, but I’ve made an URF translator so people can actually see the content of an URF raster file, like the kind of raster file GhostScript (and therefore this Print Bridge) will produce when you set it to use `image/urf` format.
For instance:
$ gs -dSAFER -dBATCH -dNOPAUSE -sDEVICE=urfgray -r300 -dTextAlphaBits=4 -dGraphicsAlphaBits=4 -sOutputFile=./test.urf some_test_file.pdf (or .ps)
Search for `urftranslator`in HaikuDepot:
Currently, it support only translating from URF format, not yet to URF.
The source code is hosted there:
Feel free to submit any issue report there.
Another similar translator will come for the `image/pwg-raster` PWG Raster format, soon.
Actually already found several bugs since releasing this first version.
Consider it an alpha release ![]()
Great, look forward to an update ..
URFTranslator 1.0.2 update pending available on HaikuPorts.
Fixed the I/O error.
Turns out Ghostscript URF “device”, without explicit parameter to tell it how many pages are in source file doesn’t put the number of pages in the URF file header.
I didn’t detect it earlier because, you know, testing with again and again the same kind of command lines, the kind which are complex to figure out correctly , so after you don’t touch them anymore…
I’ve also improved the parser speed, and added progress notification. It can be very large file with multiple-pages image files, and at high DPI it adds up quickly - for instance a 73 pages IPP specifications PDF file rendered in 600dpi by Ghostscript weight… 200MB!
In such case, ShowImage (or any other app supporting the progress notification translators extension) can now show why it’s slow sometimes ![]()
Why this translator, you could wonder ?
My main motivation is not displaying what GhostScript can spit out, but to have a simple way to check what my next project, an AirPrint/PWG-raster print driver, will spit out…
Don’t hold your breath, this one will take a quite longer time, because the current IPP transport add-on has to be rebuild and modernize first.
And in case I fade away before complete this, at least the ones who comes after (#expedition33mood) will have this tool available already.
@anon81946179 Any updates in the wings ..