I am using PDF::writer to convert text to pdf files for printing. What I
would like to do is to be able to print it without allowing the user to
be able to read the files in pdf. What options do I have ?
If I send the files directly to the printer will I have difficulty down
the road with formatting text or embedding pictures in the printable
document? Is there some workaround where I make the pdf “not readable”
or “unopenable” (when downloading) ? Can I make the pdf password secure
and not give the user the password and then only allow printing on the
On Jun 24, 12:13 pm, “alexey.Creopolis” [email protected]
I know nothing about pdf, but this sounds more than a little tricky,
given that on most computers you can have a virtual printer that just
creates a pdf of what you’re trying to print. That an the pdf is bound
to be stashed in some temporary folder somewhere.
I was informed of an approach :
- create a page sized button (from form -> button) and give it a black
background thereby obstructing each page of the pdf.
- set the property of the button to “visible but not printable”
This allows the button to obstruct the view but when you print it it is
like the button is not even there.
Now my task is attempting to find out if there is a pdf package that
allows you to create form elements (pdf form elements) like buttons etc.
because I am currently using pdf::writer and Austin Zeigler said he has
no such functionality in there but recommends I write to pdf-writer’s
I had two ready steps:
- creating images from ROR application (tickets with order details)
thru rmagick::svg module,
- ruby script witch generate&print xls for me, by ROR requests,
(“print xls” button from site)
But goal now is to pring png images, witch cannot be done by (2) …
On Jun 24, 1:25 pm, Frederick C. [email protected]