Skip to content
Discussion options

You must be logged in to vote

Regarding

path of the printed file, how could cups find it and use it as inputfile

When you print directly on command line via

# lp -d queue_name /path/to/file

the lp program knows /path/to/file
and submits the content of /path/to/file
as print job data via IPP protocol to the cupsd
which stores the print job data in its spool directory
as a new file named /var/spool/cups/d.....-...

So the original file name is not preserved
except e.g. explicitly provided as print job title
when you print via

# lp -d queue_name -t '/path/to/file' /path/to/file

Replies: 4 comments 14 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@utt54321
Comment options

@michaelrsweet
Comment options

Comment options

You must be logged in to vote
1 reply
@utt54321
Comment options

Comment options

You must be logged in to vote
11 replies
@utt54321
Comment options

@utt54321
Comment options

@michaelrsweet
Comment options

@utt54321
Comment options

@zdohnal
Comment options

Answer selected by zdohnal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants