Skip to content
Permalink
Browse files

Log device and parameters

  • Loading branch information
simoncadman committed Aug 5, 2012
1 parent 1935b30 commit 888b74606055132dc0d4fc8794c326e61ea390ea
Showing with 4 additions and 0 deletions.
  1. +4 −0 backend.py
@@ -101,6 +101,10 @@ def fileIsPDF ( filename ) :
sys.exit(255)

logfile.write("Printing file " + printFile + "\n")
optionsstring = ""
for option in sys.argv:
optionsstring += " '" + option + "'"
logfile.write("Device is " + uri + " , Params are: " + optionsstring + "\n")

def which(program):
import os

0 comments on commit 888b746

Please sign in to comment.
You can’t perform that action at this time.