Determining Print Size in darktable

I have been preparing prints by creating a TIFF from darktable, and then opening it in GIMP. I open the Set Image Print Resolution dialog and see what standard aspect ratio the image is closest to. I change the print size, maintaining that ratio, to what I desire. I then open Set Image Canvas Size and resize the canvas to the desired actual, standard print size, e.g., 8x10, 12x18, and so on. Centering the image in the canvas then creates a border. Once I create a new JPEG, I am ready to send it to the printer.

I don’t see a way to do this directly in darktable. If it can be done with framing, would someone describe how?

I believe in the upcoming 3.4 you’ll be able to set export sizes in the export module.

:+1:
Thanks.

@Underexposed
Can’t the print module in darktable fix that?

Have fun!
Claes in Lund, Sweden

@Claes
I don’t see how to access that module. The manual says there is one, but I can’t find it.

Aha!

a) Are you on Windows or Linux?
b) In Linux: do you have CUPS installed?

Windows

Sigh. Bad luck! That module only works under Linux (with CUPS installed).

Curses! Thwarted again!
:tired_face:

No curses at all, GNU/Linux is free and certainly a far better OS that Windows. So just migrate to GNU/Linux and you’ll have access to the great Print module :slight_smile:

1 Like

I must be stupid. Using Linux and Darktable 3.1.0+2511[…] and having Cups 2.2.7 installed (localhost:631 says that), there’s nowhere a print module to be found.

Today I recompiled DT but the process stopped, complaining among other things that cups was not installed…

Avonds/Salut!

Let’s see if we can talk this through…

What Linux distro are you using?
I am on Manjaro/Gnome (rolling, latest),
and I am using dt 3.3.0+1266
My Cups says 2.3.3. Your 2.2.7 is from March 2018…

Brilliant (?) thought: have you added a printer to your Cups?
(Cups / Administration / Add Printer)

Next thought: from where do you get your darktable source?
As far as I remember, there are no special build instructions/flags regarding
the print module (more than a check whether Cups is installed; if not, no print module).

Today I recompiled DT but the process stopped, complaining among other things that cups was not installed…

Dump, please. It might help us to find the culprit.

By the way: in darkroom, top right, do you have the other tab? What does it contain?

— a little later —

Here is what my machine reports during compilation of dt:

– Found Cups: /usr/lib/libcups.so (found version ā€œ2.3.3ā€)
– Print mode: enabled

Have fun!
Claes in Lund, Zweden/La SuĆØde

Thanks Claes for your response. I’ll come back to this tomorrow when compiling Darktable from scratch.

1 Like

Hello @Claes,

I’m on Xubuntu 18.04.5 LTS. My cups is system installed, so it came with Xubu 18.04, dating from 2018 as well. I use a LTS version (long term support) because I don’t want to rebuild my system every 6 or 12 months, at the possible cost of missing the latest and greatest software features (darktable’s print module perhaps?).

I recompiled darktable from scratch this morning, using this command:

$ git clone https://github.com/darktable-org/darktable.git

One of the messages during compilation was that I could not use the printing module, please install cups-dev. So I installed libcups2-dev. Parts of the ./build.sh output are:

-- The following OPTIONAL packages have been found:
* Cups
-- Print mode: enabled

I don’t see your - ā€˜Found CUPS’ msg and I still don’t see a print module in DT.

paul@graveyron:~/darktable$ darktable --version

this is darktable 3.1.0+2511~g4226ac17c-dirty
copyright (c) 2009-2020 johannes hanika
darktable-dev@lists.darktable.org

compile options:
bit depth is 64 bit
normal build
SSE2 optimized codepath enabled
OpenMP support enabled
OpenCL support enabled
Lua support disabled
Colord support enabled
gPhoto2 support enabled
GraphicsMagick support disabled
ImageMagick support disabled
OpenEXR support enabled

The ā€˜Other’ tab says only Slideshow and Dithering, I remember having seen a Print option there before.
And yes, I have two printers registered in Cups, they just show up on localhost:631.

I guess I’m missing one of more libs, or my Xubuntu 18.04 is too ā€˜old’ voor DT’s printing module. Printing from other Linux apps is no problem btw.

I started in the mid-80s with a variant of DOS computer. Then I moved to a Windows 3.11 PC. After that was Windows 95 and all the rest. Were I starting out now, Linux might very well be my choice. At this point, I am not keen on climbing that learning curve, not to mention all the software, free and otherwise, I have invested in. But thanks for the invitation. :grinning:

Sorry @paulmatth, I am out of good ideas :frowning:
Let us hope that someone who knows 'buntu better
than I do might have a solution for you.

Have fun!
Claes in Lund, Sweden

Hello @Claes, today I started DT and guess what I saw? The printing module in the Other tab! I definitely did not overlook that yesterday, it was simply not there.

Now it’s time to explore how well this module works. Thanks for your help anyway.

:slight_smile:
I believe a proper expression would be something like
Zut! or Donder op!

Be happy!
Claes in Lund, Zweden/La SuĆØde

Donder op is a good one yes! :slight_smile: