Open tukusejssirs opened 4 years ago
I assume you work on linux. Jbead uses the java printing capabilities which in turn use whatever printer is installed in your system. In my test setup using an up to date ubuntu running in a virtual box, I installed a PDF printer and used this to print the pattern documents to pdf files. This works well, uses by default landscape and results in genuine pdf files.
If you have not installed a printer, maybe you can then select "print to file" and this results in a postscript file (ps). Again, if this is the case, I recommend to install a proper pdf printer.
Hope these hints help. I am aware that the vast majority of the users run the software on windows. But since it is written in java, it should work on linux and I test it regularly. But since there are many different distributions, it would be impossible for me to test with all or even only with the major ones.
I have installed cups-pdf
from the dnf
repos (but the very same package exists in the apt
repos too, but it was renamed some time ago to printer-driver-cups-pdf
).
I have a network printer installed here, therefore I tried select either of the printers (CUPS PDF and the network printer) while the Print to PDF option was checked, but whatever page format I choose, the output PS file is always landscape Letter format. I tried to create PDF (or PS) file from the pattern(s) as a workaround to #1, and therefore I wanted to print it on a larger page format (i.e. A3 or greater) and in portrain mode (as the pattern is quite long).
You talk about PDF files, but the output files on my machine (with whatever print options) are always PS (PostScript) files. And I cannot change it when I select the location of it; even if it change the extension, it is always a PS file.
Indeed, the your app works (mostly) as expected, but there are some (minor) issues here and there. :smiley: And it is understandable that you can’t test your app on every possible system. :smiley:
I just installed a fedora 32 in a vm and tried to reproduce this. I installed the cups-pdf and the java-11-openjdk packages and then started jbead and created a jbead pattern. When selecting file, print, the printer dialog opens. Here, do not check the "print to file" checkbox. If you check it, then you will get a ps file. But if you do not check it, then the pattern will be printed in the pdf format. The resulting file is stored on the desktop. In my tests, the landscape/portrait format worked and if a complex pattern is printed, multiple pages are generated with all the information. Please let me know if any of this helps resolve the problems.
When I have tried to print the pattern to file, it is always in portrait letter format, no matter what page format is chosen. Also, I’d expect it would at least give me an option to print to PDF, not only to PS.