Comments (15)
Darktable uses CUPS (Common Unix Printing System) to talk to your printers, so the first thing to check is whether CUPS is properly listing your printers. With a web browser, visit http://localhost:631/printers/
and check whether the list is correct (enable Javascript if necessary).
from darktable.
Yes, CUPS is listing all the printers correctly.
![Screenshot 2024-08-04 at 9 23 38 PM](https://private-user-images.githubusercontent.com/2816379/354943990-2998044a-0fae-4c8f-85ef-533f2777e770.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjMzNTQ0MTksIm5iZiI6MTcyMzM1NDExOSwicGF0aCI6Ii8yODE2Mzc5LzM1NDk0Mzk5MC0yOTk4MDQ0YS0wZmFlLTRjOGYtODVlZi01MzNmMjc3N2U3NzAucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDgxMSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA4MTFUMDUyODM5WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MjkyNDc2NzgzZTAwNmEyMTkyMmExODBjNDdiODgxOGViZmQ3OGQ1NDVjYjlkYWYzZWM4Y2Y5ZWI2YzQ1NzI3NSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.d66jyUlTNg3JR60AsQXDL1TAnugYNGHsbsdDBA-J9Ok)
from darktable.
We'll need someone familiar with the print module to take a look at the code.
I have a suspicion that the code is being confushed by having two 8020's in the printer list. Assuming that those are separate devices rather than multiple drivers sharing one device, what happens if you turn off one of them before starting darktable?
from darktable.
The two 8020's are the same physical device, but one is for fax and the other is for printing. I deleted the fax driver, and I turned off the HP 8020. Now I don't get any printers listed in Darktable.
![Screenshot 2024-08-05 at 9 03 16 AM](https://private-user-images.githubusercontent.com/2816379/355111758-45e9508e-e592-457c-9997-7d6caf2dbe6d.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjMzNTQ0MTksIm5iZiI6MTcyMzM1NDExOSwicGF0aCI6Ii8yODE2Mzc5LzM1NTExMTc1OC00NWU5NTA4ZS1lNTkyLTQ1N2MtOTk5Ny03ZDZjYWYyZGJlNmQucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDgxMSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA4MTFUMDUyODM5WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9YzNjZDQ4MDNlOGM5YzJlZDkzMzA4NTY0YmVmZTZjODQxZTA0ODg3ZmRjMmY0MmU1NWEwYTIwODY3YjEwMDk2ZCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.F_C1-eOQfWUx9Bcn8mepTs2Jm2cKEl_eoyCv-BcBV6M)
from darktable.
Sorry, out of ideas now, since I've never worked on the print module.
from darktable.
Do you have a suggested work-around?
- Save the image with sRGB output color profile. Open image in GIMP or MacOS Preview, and print using the ICC profile for my printer/paper?
- Save the image with the ICC printer/paper color profile. Open image in GIMP or MacOS Preview and use default printer settings?
- Save the image with the ICC printer/paper color profile. Open image in GIMP or MacOS Preview, and print using the ICC profile for my printer/paper? (So use the profile for both saving and printing)
- Other options?
I just bought a larger format printer, and I'm trying to make some prints for my mother's 85th birthday.
from darktable.
I was finally able to find time to create a MacOS M1 development VM. I can see the printer being returned by CUPS. I can see that prt->pinfo appears to be properly populated in _expose_print_page function in print.c. I'm still trying to learn how the UI is stitched together to understand why the printer dropdown isn't getting populated.
Who owns the print module? Maybe they can point me where to look? Where to set some breakpoints to check values and examine logic?
from darktable.
3. Save the image with the ICC printer/paper color profile. Open image in GIMP or MacOS Preview, and print using the ICC profile for my printer/paper? (So use the profile for both saving and printing)
That's likely to produce the best results if you don't get darktable working in time. But I'd try all three of your suggested profiling options on small (e.g 4x6) test prints.
A quick look indicates that @TurboGit did most of the recent work on the printing-related code.
from darktable.
I'm at a complete loss as to why it's behaving like this. On startup in print_settings.c in function _set_printer
, I see the line dt_get_printer_info(printer_name, &ps->prt.printer);
return successfully with ps->prt.printer
fully populated.
In _new_printer_callback
I see the line dt_bauhaus_combobox_add(d->printers, printer->name);
called with the printer name.
However, in _printer_changed
, the line const gchar *printer_name = dt_bauhaus_combobox_get_text(combo);
returns null, so _set_printer (self, printer_name);
never gets called from _printer_changed
, but _set_printer
is being called from _new_printer_callback
on initial load. I'm not sure why it's returning null if it was previously set.
I'm happy to do a Facetime, Teams, whatever with a dev who knows more about this than I do to help debug.
from darktable.
Indeed, I'm the original author of this module and I have done quite some work on it after it landed into darktable 2.0 on 2015. I don't have time to look at this at the moment, but will try to help early September if not solved at this point.
from darktable.
Some questions that could help...
- Have you tried a previous release?
- Has this been working at some point?
- ...
from darktable.
@TurboGit I have not tried a previous release. I can, but I have a significant number of images edited with 4.8.1 and I would prefer to not lose the history.
What's most odd about this issue is it only happens with 1 particular printer, my Epson XP-15000, which is brand new. I've been using 2 other printers for a long time and have never had this issue. I'm wondering if it's not related to the fact the Epson is a wide-format printer, and something elsewhere in the code can't handle the wider formats. I'll start looking in that direction.
Observed results:
- If the only printer configured in MacOS is the Epson XP-15000, the printer drop-down is always empty.
- If I have the Epson and HP OfficeJet Pro 8020 configured in the OS, then sometimes I get the HP, and sometimes the dropdown is empty.
- If I have only the HP OfficeJet Pro 8020 configured in the OS, then it always works.
from darktable.
Have you tried starting darktable on command line with option -d print
?
from darktable.
That's a great idea and makes sense, so of course I have not tried it. I'll do it now.
from darktable.
Very interesting. The printer now shows up in the dropdown, but media and paper size are blank. Screenshots and debut output attached. I think you're on to something. I'll debug more tonight.
![Screenshot 2024-08-09 at 3 15 26 PM](https://private-user-images.githubusercontent.com/2816379/356728261-b7f816dd-1cff-4d56-8f6c-2c0fdd31eda0.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjMzNTQ0MTksIm5iZiI6MTcyMzM1NDExOSwicGF0aCI6Ii8yODE2Mzc5LzM1NjcyODI2MS1iN2Y4MTZkZC0xY2ZmLTRkNTYtOGY2Yy0yYzBmZGQzMWVkYTAucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDgxMSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA4MTFUMDUyODM5WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MWY0NjdmYzQ1MDliODgyMTUxMzE2ZGRlOTFmZmY5OWZiOGM1YmQ3MDVlZmU0NTg3OGJlNTAxOWY0NGJhNDY5OCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.msrfwh5IP3YjuBIAx-8ZItncGzx18Y6mahl8LNIeJy0)
from darktable.
Related Issues (20)
- null HOT 2
- Metadata of picture removed and image rotate in lighttable since last update
- Metadata Editor module in Darkroom (next to the Tagging module) HOT 1
- Compile bombing on bad po file HOT 6
- Darktable 4.8.1 Not Working HOT 3
- Darktable not wokring after installtion HOT 13
- DT 4.8.1 seg fault on loading a folder of images HOT 10
- [FR] ISO 12464 border config in GUI settings HOT 3
- Crashing with imports MacOS HOT 8
- How to manage the iso of a sensor that has noise differences between the electronic shutter and the mechanical shutter
- Crash when "scale pixels" module is moved on top of pixelpipe and "rotate and perspective" is used HOT 5
- Some thoughts on improving the Tone Equalizer UI HOT 4
- darktable crashes with X windows error while exporting HOT 1
- Error opening dataabase message HOT 2
- Lua: Inter Script Communication
- Lua: Cooperative Multitasking Using Event Driven Messaging
- rotation and perspective" module not compatible with "retouching". HOT 4
- Adjustments on image in print dialog are only applied after switching to darkroom and back
- Grouping of images can add non-selected photos
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from darktable.