Query to find the how many Receipt has been printer in a day.
SELECT COUNT (*) "Receipts_So_Far"
WHERE PHASE_CODE = 'C' AND (NVL (request_type, 'X') != 'S')
AND ( (DESCRIPTION LIKE 'Receipt Print for Receipt%'
OR (DESCRIPTION IS NULL
AND USER_CONCURRENT_PROGRAM_NAME LIKE
' Print for Receipt%')))
AND (TRUNC (request_date)) >= TRUNC (SYSDATE)