[cups] Setting up a file printer under CentOS7

Gernot Hassenpflug aikishugyo at gmail.com
Thu Sep 13 01:08:32 PDT 2018


On Thu, Sep 13, 2018 at 4:50 PM, マスターズ・イアン <ian at ncsa.jp> wrote:

>
> I would suggest using the path. I presume if you are typing at a terminal,
>> auto-completion would allow you to determin whether your file can be found
>> or not, so try with /tmp/2018<TAB> and see if the file auto-completes.
>> It might also be a permission issue, but since CUPS created the file I
>> would assume lp / lpr has permissions to handle it.
>>
>
> If I try to autocomplete there's nothing there under /tmp/ except files
> starting with a dot, but it's in the queue so it must be somewhere on the
> system.
>
> I tried:
> # find / -name 2018-09-13-1558-test.txt
> but it only found the original file.
>
> Would you recommend setting the filename to print to?
>

Oh, I misunderstood. I thought your "ls" command had shown the printfile
created by your fileprinter.
Yes, of course, you need to do the instructions as, um, instructed :-) So
for example I use /tmp/foo as the filename in the lpadmin command.

Another poster said you don't have to create the file on the system, but if
nothing is created you need to check your /var/log/messages and cups debug
to see if your new printer tried and could not create the file.

Cheers,
Gernot Hassenpflug


More information about the cups mailing list