Skip to content

Commit

Permalink
fix passing the job title to cups
Browse files Browse the repository at this point in the history
  • Loading branch information
zzip committed Oct 10, 2013
1 parent 8ad481c commit 14d80df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/cups.c
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ static VALUE cups_print(VALUE self)

int encryption = (http_encryption_t)cupsEncryption();
http_t *http = httpConnectEncrypt (url, port, (http_encryption_t) encryption);
job_id = cupsPrintFile2(http, target, fname, "rCups", num_options, options); // Do it. "rCups" should be the filename/path
job_id = cupsPrintFile2(http, target, fname, title, num_options, options); // Do it. "rCups" should be the filename/path
//
// cupsFreeOptions(num_options, options);

Expand Down

0 comments on commit 14d80df

Please sign in to comment.