Hi Pascal,

maybe a reboot did it, I don't know, but now I can access the print view
even with no printer available. Running the test code has no output at
all (so I assume, no printers available).

Since I'm have the external CUPS server available now I also tested with
this configuration, and there I see all the 96 printer queues nicely
listed, by both the test code and your print view.

Some things I noticed:
* it takes quite long to load the print view, probably because you ask
cups for the devices right when switching. I almost thought it froze
again when the view opened. Maybe that could be done separately from
drawing the view?
* the image is not printed on the canvas unless a printer is selected
(and a papersize I think?) that was a bit confusing to me
* Ctrl-f for showing, hiding the film strip does not work for me in
print view (while it does in dr and map)

Very nice first version!

/Simon


On 14.12.2014 18:58, Pascal Obry wrote:
> Hi Simon,
>
>> The CUPS admin page looks alright and says "no printers."
> Can you compile and run the following simple code? It is taken from CUPS
> Web site and should display the available printers.
>
> /*
>    gcc -o cupstst `cups-config --cflags` cupstst.c `cups-config --libs`
> */
>
> #include <stdio.h>
> #include <cups/cups.h>
>
> int main(void)
> {
>   int i;
>   cups_dest_t *dests, *dest;
>   int num_dests = cupsGetDests(&dests);
>
>   for (i = num_dests, dest = dests; i > 0; i --, dest ++)
>   {
>     if (dest->instance)
>       printf("%s/%s\n", dest->name, dest->instance);
>     else
>       puts(dest->name);
>   }
>
>   return (0);
> }
>


------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
darktable-devel mailing list
darktable-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/darktable-devel

Reply via email to