+ Reply to Thread
Results 1 to 2 of 2

Thread: How to get more media info for a job?

  1. #1
    Join Date
    Aug 2016
    Posts
    6

    Default How to get more media info for a job?

    Hi team,

    I'm working on a project calculating the cost of a job. The detail should include media type, weight and size. Below is a specificed job by inovoking feiry API.
    Code:
    {u'status': u'done printing', u'EFPostFlight': u'False', u'EFDestination': u'Printer', u'EFCoverTray': u'None', u'EFMMTabShift': u'False', u'total ejected tab pages printed': u'0', u'total bw pages printed': u'0', u'EFImageBackX': u'0', u'timestamp first page printed': u'1472229389:000000', u'EFColorMode': u'CMYK', u'EFMediaInterlv': u'False', u'logical printer': u'none', u'EFStapler': u'False', u'Notes1': u'', u'EFDuplex': u'ShortEdge', u'EFMediaType': u'Any', u'media size': u'Custom_Paper', u'size': u'1993789', u'EFBkCover': u'False', u'EFImageFrontX': u'0', u'EFImageFrontY': u'0', u'EFMMInsType': u'None', u'PageSize': u'Custom', u'title': u'A9REE1C.tmp', u'total color pages printed': u'4', u'EFImageWiseRange': u'False', u'EFBrightness': u'0.16', u'EFMMInUse': u'False', u'EFImageBackY': u'0', u'id': u'81CA5128.57C0700D.21230', u'num copies': u'1', u'total tab pages printed': u'0', u'PBBodyImageV': u'0', u'fiery': u'A1200', u'EFImageUnit': u'MM', u'timestamp waiting to rip': u'1472229389:184047', u'input slot': u'Tray2', u'EFControlBar': u'False', u'EFImageFlag': u'False', u'duplex printed': u'No', u'EFTrayAlignment': u'False', u'username': u'Administrator', u'num pages': u'4', u'EFImageAlign': u'False', u'timestamp done spooling': u'1472229389:184516', u'held?': u'no', u'media type': u'Any', u'total blank pages printed': u'0', u'total sheets printed': u'2', u'timestamp printing': u'1472229393:000000', u'EFMMCover': u'PrintFront', u'timestamp waiting to print': u'1472229389:000000', u'timestamp done ripping': u'1472229389:184516', u'EFProgressives': u'False', u'timestamp created': u'1472229389:179835', u'EFTabPosition': u'0', u'EFPCName': u'-1', u'date': u'9:31 Aug 26, 16', u'print status': u'OK', u'EFAutoScaling': u'False', u'EFImageWise_RangeType': u'AllPages', u'timestamp done printing': u'1472229437:831503', u'EFPrintSize': u'SameAsPageSize', u'EFRaster': u'False', u'copies printed': u'1', u'EFBkCoverTray': u'None', u'PBCoverImageV': u'0', u'timestamp spooling': u'1472229389:184047', u'EFPageDelivery': u'SameOrderFaceDown', u'InputSlot': u'Tray2', u'timestamp ripping': u'1472229389:184047', u'EFEngRotate180': u'False', u'EFOutputBin': u'AutoSelect', u'EFCover': u'False', u'Instruct': u'', u'original job ID': u'81CA5128.57C06EF1.21228', u'EFSort': u'Collate', u'has disk raster?': u'no', u'total pages printed': u'4', u'EFShiftSort': u'1', u'EFOutputPriority': u'StackerA', u'PBCoverImageH': u'0’}
    2. how to convert the timestamp to a datetime? e.g. ‘timestamp done printing': u'1472229437:831503’
    If I use unixtime to convert it, the time should be 2016-08-27 00:37:17, but actual print time is 'date': u'9:31 Aug 26, 16'. Any ideas?

  2. #2
    Yusuke_K is offline Senior Fiery Forum Contributor Yusuke_K is on a distinguished path
    Join Date
    Jul 2009
    Posts
    55

    Default

    Hi there,

    The attribute names you are looking for should be:

    EFMediaType
    EFMediaWeight
    PageSize

    These might not show up if a job is just using default value.


    Regarding the timestamp, Fiery API doesn't do conversion for you unfortunately. The default settings should be UTC but you might have to experiment with Fiery settings from Fiery Configure.

    I hope this helps!
    Yusuke

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts