Displaying 2 results from an estimated 2 matches for "makepdf".
Did you mean:
make_pdf
2008 May 09
1
register_status for excess thread_pool?
...#39;'ve got a worker (for generating PDF reports) that
uses the "thread_pool" to allow processing multiple reports
simultaneously and queue up any requests that exceed the thread
pool (pool_size = 10 currently).
def process_pdf(user)
thread_pool.defer(user) do |user|
makepdf(user)
end
end
My question is: I use a mutex to handle synchronizing the
register_status. This works fine:
def makepdf(user)
txt = user.to_s + " started"
save_status(user, :progress, txt)
do_report(user)
txt = user.to_s + " ended"
s...
2015 Jul 01
0
pdf-printer
...d pdftk with the background option, read the manual for pdftk
?
?
Greetz,
?
Louis
?
?
#!/usr/bin/perl
# pdfmaker-mailscript, to be used bij postfix (developed by drmaert at drmaert.com)
# returns a pdf of your sent attachement
# can be connected via /etc/aliases
# example entry in /etc/aliases:
# makepdf: |/etc/postfix/bin/makepdf.pl
# dependecies: munpack (to extract the email)
#????????????? mpack (to package returning mail)
#????????????? pdftk (to create pdf)
# also needed /home/msg/message.msg (messagetext for retrning email)
# further dependencies will be mentioned later on
?
# first store m...