![]() |
|
OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD. |
![]() |
|
Thread Tools | Display Modes |
|
||||
![]()
EDIT: This is solved with Onauk's solution of using libreoffice -p to print docx and the like.
I have a small OpenBSD vm on FreeBSD, using bhyve. I installed cups, foomatic-db and whatever they pulled in. I set up cups with Code:
lpadmin -p BrotherMFC -E -v ipp://192.168.1.50/ipp/print -m everywhere I then tried lp myfile.docx, however it just printed out a sheet with the line Code:
Unsuportted XFSata: 2000 This isn't really important, it's more for my curiosity. If I really needed to print a docx, I can use that Linux Mint install, but I'm wondering if it's just that ipp anywhere driver can't do docx. If anyone has suggestions, I'd be grateful. If not, I'll survive. ![]() Thanks--and happy new year all, I don't think I said it here. The printer is a Brother MFC-L3780CDW and has pcl emulation. I didn't see postscript emulation in the specs. If anyone needs to look, it's at https://www.brother-usa.com/products/mfcl3780cdw Last edited by scottro; 24th January 2024 at 08:27 PM. |
|
||||
![]()
Ah sorry, I didn't understand that you did not have libreoffice already.
By looking some more at libreoffice printing documentation I found this page : https://flywire.github.io/lo-p/41-Printing.html On section 1.1 they have a small code block in Java to find what doc types your printer can understand, and more importantly they have a note in section 1.2 which reads (emphasis mine): Quote:
Knowing the difficulty of rendering docx files correctly* I don't think any printer has support for direct docx printing. [*] Only MS Office can do this mostly because only they know how the file format works while pretending it is open source. |
|
||||
![]()
Ahh, ok, that helps me understand it a bit. I do know that if say, you open a docx in office and click print, it will generally print. But what you posted makes it sound like it gets converted to an image first. So, If I open word doc in libreoffice, and click print, libreoffice actually changes it to a pdf or other image first.
Thanks, this helps me understand what's going on with it. |
|
||||
![]()
Thanks for clearing that up. I wasn't sure. Oh,if anyone is interested, the Brother MFC-L3780CDW works quite well as a scanner or printer with OpenBSD. (for scanning, just do pkg_add dbus, avahi, and sane-backends. Then
Code:
rcctl enable messagebus avahi_daemon rcctl start messagebus avahi_daeman |
|
||||
![]() Quote:
You can check the product list here : https://mopria.org/certified-products |
|
||||
![]()
Cool, thanks. I think I'm going to mark this solved, since it's as solved as it's going to get. I just made myself a bigger vm and though it has no GUI, I installed libreoffice so I can print various office documents.
Oh, I don't see a mark thread solved option. I guess I'll just edit the subject line. But thank you, you gave me a solution to the issue. I mentioned it to a friend who thanked me for it, as he wasn't aware of the libreoffice -p option. Edit: I don't see a way to edit the subject either. Well, maybe I'll add line to my opening post. ![]() |
![]() |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Printing with CUPS suddenly failed | acampbell | OpenBSD Packages and Ports | 19 | 18th July 2020 09:31 PM |
Printing woes (cups, apsfilter) | acampbell | OpenBSD General | 3 | 25th September 2015 03:42 PM |
[Solved] VIM without Python feature ? | sw2wolf | OpenBSD Packages and Ports | 3 | 14th May 2012 01:14 AM |
[Solved] question about echo with sudo | daemonfowl | OpenBSD General | 2 | 12th May 2012 06:13 PM |
How to view & open DOCX files in Ubuntu/OpenOffice. | unixdude | Other BSD and UNIX/UNIX-like | 0 | 11th July 2008 08:38 AM |