Re: Re: Print from command line

2014-08-16 Thread Martin Metzker
Thanks for the hint! -t pdf -e resulting.pdf works perfectly ... if combined with pdfcrop! Yes, I used to create PDFs with one or two corners. My last approach was %.pdf: %.fig: awk '/^4/{$$6+=4; $$7=8; $$10=135; $$11=1; $$13+=5; print $$0;}{print $$0;}' $< |\ fig2dev -L pdf -F |\

Re: Print from command line

2014-08-14 Thread Hans Breuer
Am 14.08.2014 um 00:43 schrieb Martin Metzker: Hello! I would like to run dia from the command line and have it print the diagram provided as command line argument. I found an old post form 2010 [1], which describes an acceptable method for having dia run python scripts on startup automatically